Re: [PATCH weston v10 01/61] Clip co-ordinates in surface->buffer translation

2017-05-02 Thread Daniel Stone
Hi, On 6 April 2017 at 15:14, Pekka Paalanen wrote: > weston_surface_to_buffer_rect() does flooring and ceil'ing after > calling viewport_surface_to_buffer() and seems to be aimed at damage > tracking where not clamping is not a problem. It intentionally rounds > the rect to be never smaller than

Re: [PATCH weston v10 01/61] Clip co-ordinates in surface->buffer translation

2017-04-06 Thread Pekka Paalanen
On Tue, 4 Apr 2017 17:54:19 +0100 Daniel Stone wrote: > Since performing the surface -> buffer translation may introduce > rounding error taking our desired co-ordinates out of bounds, introduce > a hard clip to the bounds specified by the client's viewport. > > Signed-off-by: Daniel Stone > -

[PATCH weston v10 01/61] Clip co-ordinates in surface->buffer translation

2017-04-04 Thread Daniel Stone
Since performing the surface -> buffer translation may introduce rounding error taking our desired co-ordinates out of bounds, introduce a hard clip to the bounds specified by the client's viewport. Signed-off-by: Daniel Stone --- libweston/compositor.c | 9 + 1 file changed, 9 insertion