[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phoc][upstream/latest] 7 commits: NEWS: Fix typo
Guido Günther (@agx)
gitlab at salsa.debian.org
Tue Jul 4 11:45:02 BST 2023
Guido Günther pushed to branch upstream/latest at Debian On Mobile / phoc
Commits:
f707185a by Guido Günther at 2023-05-31T10:21:13+02:00
NEWS: Fix typo
- - - - -
d668eb5f by Guido Günther at 2023-06-05T14:14:29+02:00
output: Log when we render a cutout
This makes it easy from the logs to see if it's enabled.
- - - - -
3ba5b79d by Guido Günther at 2023-06-05T14:14:30+02:00
output: Render cutouts with WL_OUTPUT_TRANSFORM correctly
- - - - -
d118d461 by Guido Günther at 2023-06-23T12:03:00+00:00
Merge branch 'cutout' into 'main'
Fix cutout rendering in landsacpe
See merge request World/Phosh/phoc!457
- - - - -
1d444f7d by Guido Günther at 2023-07-02T17:33:37+02:00
Document changes and release 0.29.0
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/459>
- - - - -
e2848b26 by Marge Bot at 2023-07-04T10:22:33+00:00
Merge branch 'rel-0.29.0' into 'main'
Document changes and release 0.29.0
See merge request World/Phosh/phoc!459
- - - - -
8709feb8 by Guido Günther at 2023-07-04T12:41:45+02:00
New upstream version 0.29.0+ds
- - - - -
4 changed files:
- NEWS
- debian/changelog
- meson.build
- src/output.c
Changes:
=====================================
NEWS
=====================================
@@ -1,7 +1,14 @@
+phoc 0.29.0
+-----------
+Released July 2023
+* Fix cutout rendering in landscape mode
+* Contributors:
+ * Guido Günther
+
phoc 0.28.0
-----------
Released Mai 2023
-* Support layer shell transpareancy and add protocol bits for this
+* Support layer shell transparency and add protocol bits for this
* Handle <super> key
* Properly reveal OSK for fullscreen surfaces too
* Smooth mapping of new toplevels when not in auto-maximize mode
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+phoc (0.29.0) experimental; urgency=medium
+
+ * output: Log when we render a cutout. This makes it easy from the logs to
+ see if it's enabled.
+ * output: Render cutouts with WL_OUTPUT_TRANSFORM correctly
+
+ -- Guido Günther <agx at sigxcpu.org> Sun, 02 Jul 2023 17:32:27 +0200
+
phoc (0.28.0) experimental; urgency=medium
[ Newbyte ]
=====================================
meson.build
=====================================
@@ -1,5 +1,5 @@
project('phoc', 'c',
- version: '0.28.0',
+ version: '0.29.0',
license: 'GPLv3+',
meson_version: '>= 0.56.0',
default_options: [
=====================================
src/output.c
=====================================
@@ -298,12 +298,17 @@ render_cutouts (PhocRenderer *renderer, PhocOutput *self)
if (priv->cutouts_texture) {
float matrix[9];
struct wlr_box box;
+ struct wlr_renderer *wlr_renderer = phoc_renderer_get_wlr_renderer (renderer);
struct wlr_texture *texture = priv->cutouts_texture;
+ enum wl_output_transform transform = wlr_output_transform_invert (self->wlr_output->transform);
- box = (struct wlr_box){ 0, 0, texture->width, texture->height };
- wlr_matrix_project_box(matrix, &box, WL_OUTPUT_TRANSFORM_NORMAL,
- 0, wlr_output->transform_matrix);
- wlr_render_texture_with_matrix (phoc_renderer_get_wlr_renderer (renderer), texture, matrix, 1.0);
+ if (transform % 2 == 0) /* 0, 180 */
+ box = (struct wlr_box){ 0, 0, texture->width, texture->height };
+ else /* 90, 270 */
+ box = (struct wlr_box){ 0, 0, texture->height, texture->width };
+
+ wlr_matrix_project_box (matrix, &box, transform, 0, wlr_output->transform_matrix);
+ wlr_render_texture_with_matrix (wlr_renderer, texture, matrix, 1.0);
}
}
@@ -567,6 +572,7 @@ phoc_output_initable_init (GInitable *initable,
priv->cutouts = phoc_cutouts_overlay_new (phoc_server_get_compatibles (server));
if (priv->cutouts) {
+ g_message ("Adding cutouts overlay");
priv->cutouts_texture = phoc_cutouts_overlay_get_cutouts_texture (priv->cutouts, self);
priv->render_cutouts_id = g_signal_connect (renderer, "render-end",
G_CALLBACK (render_cutouts),
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/8035fc67006ed7ad41cbddc1aa324b73052b2fab...8709feb8e223c4810317519acc3868a888e47884
--
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/8035fc67006ed7ad41cbddc1aa324b73052b2fab...8709feb8e223c4810317519acc3868a888e47884
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20230704/fb48df15/attachment-0001.htm>
More information about the Debian-on-mobile-maintainers
mailing list