[PATCHv2 1/2] DRI2: Track DRI2 drawables as resources, not privates

Keith Packard keithp at keithp.com
Thu Apr 15 10:32:41 PDT 2010


On Wed, 14 Apr 2010 20:30:55 -0400, Kristian Høgsberg <krh at bitplanet.net> wrote:

> Oh, I was thinking I could just allocate the ID, but not actually add
> the Pixmap as a resource. Is that bad form?

It wouldn't help -- you need FreeResource to be invoked on that XID to
get the other resources with that XID to be freed as well.

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


More information about the xorg-devel mailing list