Adam Jackson <[email protected]> writes:

> We only kinda needed this for the CreateGC screen hook, because that
> gets called only with the GC itself so we don't have a drawable already
> on the backend to point to. But since we know the GC depth, we can just
> create a 1x1 pixmap at that depth on the fly instead.

I'd say just create an array indexed by depth for these pixmaps instead
and leave them around; having to create a pixmap every time you create a
GC seems a bit expensive to me, even if it is only DMX.

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to