[PATCH 2/3] glamor: Don't optimize out scissor updates in CopyArea.

Keith Packard keithp at keithp.com
Wed Feb 4 21:41:22 PST 2015


Eric Anholt <eric at anholt.net> writes:

> This possibly is a minor hit for immediate mode renderers (no
> difference on copypixin100 on my hsw, n=12), but it gives important
> information about drawing bounds to a deferred renderer (3.1x
> improvement in copypixwin100 on vc4).

If you're going to set the scissor to the destination rectangle every
time, you might as well also switch this to draw a single triangle
instead of a quad?

Also, we use scissors all over the place; is this the only one which
gains significantly on your hardware?

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150204/c8c7a8a8/attachment.sig>


More information about the xorg-devel mailing list