aboutsummaryrefslogtreecommitdiff
path: root/stable
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>2016-04-19 13:41:13 +0300
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2016-05-06 15:00:59 +0300
commit39bc7207b44c8d09066dc931ecd43b546f0ed304 (patch)
tree3a1feff1c6c61e474832d804400b296dbb604934 /stable
parentaf6402c41ee3050313de9f9f999c7f53de07ed11 (diff)
stable/viewporter: rephrase a wp_viewport paragraph
Cc: Yong Bakos <ybakos@humanoriented.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Daniel Stone <daniels@collabora.com> [Pekka: s/culled/ignored/] Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com> Acked-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'stable')
-rw-r--r--stable/viewporter/viewporter.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/stable/viewporter/viewporter.xml b/stable/viewporter/viewporter.xml
index 7d299eb..ef9b35c 100644
--- a/stable/viewporter/viewporter.xml
+++ b/stable/viewporter/viewporter.xml
@@ -68,11 +68,12 @@
client to specify the cropping and scaling of the surface
contents.
- This interface allows to define the source rectangle (src_x,
- src_y, src_width, src_height) from where to take the wl_buffer
- contents, and scale that to destination size (dst_width,
- dst_height). This state is double-buffered, and is applied on the
- next wl_surface.commit.
+ This interface works with two concepts: the source rectangle (src_x,
+ src_y, src_width, src_height), and the destination size (dst_width,
+ dst_height). The contents of the source rectangle are scaled to the
+ destination size, and content outside the source rectangle is ignored.
+ This state is double-buffered, and is applied on the next
+ wl_surface.commit.
The two parts of crop and scale state are independent: the source
rectangle, and the destination size. Initially both are unset, that