gc funcs and ops at screen level

Keith Packard keithp at keithp.com
Thu Oct 4 23:43:01 PDT 2012


Dave Airlie <airlied at gmail.com> writes:

> It seems wierd that we have the GC carrying around a pointer to each
> of these, when I don't see any evidence we can't just stash one set of
> ops/funcs per screen.
>
> Did we every, do we currently to anyone knowledge modify gc ops or
> funcs at anything less than a screen level?

yes, we used to do this all the time in ValdiateGC where each GC was
'optimized' to point at funcs that were tuned for the current GC
state. I eliminated that in fb, and most drivers seem to have followed
suit in the years since.

I intended that these should eventually live in the screen pointer;
please go for it!

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20121004/28f41289/attachment.pgp>


More information about the xorg-devel mailing list