[PATCH xserver 1/3] glamor: Scissor rectangle drawing to the bounds of the rects.

Keith Packard keithp at keithp.com
Thu Aug 3 21:32:38 UTC 2017

Eric Anholt <eric at anholt.net> writes:

> Scissors provide a critical hint to tiled renderers as to what tiles
> need to be load/stored because they could be modified by the
> rendering.
> The bounds calculation here is limited to when we have a small number
> of rects (large enough to cover rounded window corners, but probably
> not xeyes) to avoid overhead on desktop GL.
> No performance difference on i965 with x11perf -rect1 -repeat 1 -reps
> 10000 (n=50)
> v2: Clamp rectangle bounds addition.

For the series:

        Reviewed-by: Keith Packard <keithp at keithp.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170803/5b195faa/attachment.sig>

More information about the xorg-devel mailing list