[PATCH xserver 12/12] glx/drisw: Use scratch GCs for swrastPutImage
Keith Packard
keithp at keithp.com
Fri Jun 16 20:35:01 UTC 2017
Adam Jackson <ajax at redhat.com> writes:
> The scratch GC defaults to the same state as our persistent GCs. Except
> for the "draw" GC, which would generate graphics exposures for... well,
> no reason really, PutImage doesn't generate graphics exposures.
>
> Signed-off-by: Adam Jackson <ajax at redhat.com>
But think how much faster keeping the GC around was.
Reviewed-by: Keith Packard <keithp at keithp.com>
--
-keith
-------------- 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/20170616/ac2b073f/attachment.sig>
More information about the xorg-devel
mailing list