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 <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
Yong Bakos 2016-08-11 14:33:05 -07:00 committed by Bryce Harrington
parent 8e7e52f335
commit a285fa939c

View file

@ -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