mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
protocol: clarify defaults with wl_compositor@v6
This should be sufficient for clients to not decide to fallback to output based logic to determine scaling/transform when compositor doesn't send any of the v6 events. Signed-off-by: Kirill Chibisov <contact@kchibisov.com>
This commit is contained in:
parent
2a91f01d6c
commit
8a19dc19a1
1 changed files with 6 additions and 0 deletions
|
|
@ -1826,6 +1826,9 @@
|
||||||
This event indicates the preferred buffer scale for this surface. It is
|
This event indicates the preferred buffer scale for this surface. It is
|
||||||
sent whenever the compositor's preference changes.
|
sent whenever the compositor's preference changes.
|
||||||
|
|
||||||
|
Before receiving this event the preferred buffer scale for this surface
|
||||||
|
is 1.
|
||||||
|
|
||||||
It is intended that scaling aware clients use this event to scale their
|
It is intended that scaling aware clients use this event to scale their
|
||||||
content and use wl_surface.set_buffer_scale to indicate the scale they
|
content and use wl_surface.set_buffer_scale to indicate the scale they
|
||||||
have rendered with. This allows clients to supply a higher detail
|
have rendered with. This allows clients to supply a higher detail
|
||||||
|
|
@ -1839,6 +1842,9 @@
|
||||||
This event indicates the preferred buffer transform for this surface.
|
This event indicates the preferred buffer transform for this surface.
|
||||||
It is sent whenever the compositor's preference changes.
|
It is sent whenever the compositor's preference changes.
|
||||||
|
|
||||||
|
Before receiving this event the preferred buffer transform for this
|
||||||
|
surface is normal.
|
||||||
|
|
||||||
It is intended that transform aware clients use this event to apply the
|
It is intended that transform aware clients use this event to apply the
|
||||||
transform to their content and use wl_surface.set_buffer_transform to
|
transform to their content and use wl_surface.set_buffer_transform to
|
||||||
indicate the transform they have rendered with.
|
indicate the transform they have rendered with.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue