[PATCH xserver 1/3] res: Simplify QueryClientPixmapBytes
keithp at keithp.com
Wed Feb 3 11:34:33 CET 2016
Adam Jackson <ajax at redhat.com> writes:
> I suspect this code predates the common resource hooks for computing
> sizes. It's ugly in any case since the Resource extension shouldn't
> need to know which extensions can take a reference on pixmaps. Instead,
> let's just walk every resource for the client and sum up all the pixmap
> bytes that way.
This will miss pixmaps which are not referenced by the resource db,
including all redirect pixmaps.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 810 bytes
Desc: not available
More information about the xorg-devel