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