[PATCH wayland 8/8] protocol: Specify upper left corner of damage rectangle

Bryce Harrington bryce at osg.samsung.com
Fri Aug 12 01:38:42 UTC 2016


On Thu, Aug 11, 2016 at 02:33:05PM -0700, Yong Bakos wrote:
> From: Yong Bakos <ybakos at humanoriented.com>
> 
> Specify x and y args as the upper left corner of the surface / buffer
> damage rectangle.
> 
> Signed-off-by: Yong Bakos <ybakos at humanoriented.com>

Upper-left is kind of standard for origins; does it add significantly to
specify it?

Assuming yes:

Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>

> ---
>  protocol/wayland.xml | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> 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
> -- 
> 2.7.2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list