[PATCH wayland-protocols v2 4/5] stable/viewporter: rephrase a wp_viewport paragraph

Pekka Paalanen ppaalanen at gmail.com
Tue Apr 19 12:23:39 UTC 2016


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Cc: Yong Bakos <ybakos at humanoriented.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 stable/viewporter/viewporter.xml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/stable/viewporter/viewporter.xml b/stable/viewporter/viewporter.xml
index 7d299eb..ea8c0f2 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 culled.
+      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
-- 
2.7.3



More information about the wayland-devel mailing list