diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2014-02-07 11:13:01 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-02-09 21:08:47 -0800 |
commit | f8b37449b25e4e63bc6f227bf12e8553f35ae0e9 (patch) | |
tree | 36428b806ad83ea8c760249d30c53ad5545edbd7 /protocol | |
parent | b9eebce0aa5559855d835e403ba3bb5960baaadc (diff) |
protocol: when buffer transform and scale change
Clarify when the pending and current buffer transform and scale values
change, and what exactly happens on commit.
This matches what Weston currently does.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/wayland.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index bf6acd1..e1edbe5 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1201,6 +1201,11 @@ A newly created surface has its buffer transformation set to normal. + wl_surface.set_buffer_transform changes the pending buffer + transformation. wl_surface.commit copies the pending buffer + transformation to the current one. Otherwise, the pending and current + values are never changed. + The purpose of this request is to allow clients to render content according to the output transform, thus permiting the compositor to use certain optimizations even if the display is rotated. Using @@ -1227,6 +1232,10 @@ A newly created surface has its buffer scale set to 1. + wl_surface.set_buffer_scale changes the pending buffer scale. + wl_surface.commit copies the pending buffer scale to the current one. + Otherwise, the pending and current values are never changed. + The purpose of this request is to allow clients to supply higher resolution buffer data for use on high resolution outputs. Its intended that you pick the same buffer scale as the scale of the |