From 39bc7207b44c8d09066dc931ecd43b546f0ed304 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 19 Apr 2016 13:41:13 +0300 Subject: stable/viewporter: rephrase a wp_viewport paragraph Cc: Yong Bakos Signed-off-by: Pekka Paalanen Reviewed-by: Daniel Stone [Pekka: s/culled/ignored/] Reviewed-by: Yong Bakos Reviewed-by: Derek Foreman Acked-by: Bryce Harrington --- stable/viewporter/viewporter.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'stable/viewporter') 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 -- cgit v1.2.3