On Wed, 14 Apr 2010 14:22:05 -0400, Kristian Høgsberg <[email protected]> 
wrote:

> Right, true.  But we always create DRI2 drawable for client created
> drawables, except in the case of an AIGLX pbuffer.  There we create a
> pixmap behind the scenes and then create a DRI2 drawable for that.  I
> suppose I can just use FakeClientID to create an ID for the hidden
> pixmap.

Hrm. The question is whether when the pixmap is destroyed whether the
resource ID will be destroyed as well. This looks icky to me as I don't
know the answer in the AIGLX case. The 'best' solution would be for the
AIGLX case to allocate a resource id and then use FreeResource. Would
that be easy?

-- 
[email protected]

Attachment: pgpwEH6ckSjbq.pgp
Description: PGP signature

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

Reply via email to