From: Yong Bakos Date: Thu, 11 Aug 2016 21:33:05 +0000 (-0700) Subject: protocol: Specify upper left corner of damage rectangle X-Git-Tag: 1.11.91~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a285fa939cb06842ff1e1d5071c9ead8141c1052;p=platform%2Fupstream%2Fwayland.git protocol: Specify upper left corner of damage rectangle Specify x and y args as the upper left corner of the surface / buffer damage rectangle. Signed-off-by: Yong Bakos Reviewed-by: Bryce Harrington --- diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 553274f..3f2d967 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -1390,7 +1390,8 @@ Damage is double-buffered state, see wl_surface.commit. - The damage rectangle is specified in surface-local coordinates. + The damage rectangle is specified in surface-local coordinates, + where x and y specify the upper left corner of the damage rectangle. The initial value for pending damage is empty: no damage. wl_surface.damage adds pending damage: the new pending damage @@ -1634,7 +1635,8 @@ Damage is double-buffered state, see wl_surface.commit. - The damage rectangle is specified in buffer coordinates. + The damage rectangle is specified in buffer coordinates, + where x and y specify the upper left corner of the damage rectangle. The initial value for pending damage is empty: no damage. wl_surface.damage_buffer adds pending damage: the new pending