2010/4/15 Keith Packard <[email protected]>:
> On Thu, 15 Apr 2010 14:47:51 -0400, Kristian Høgsberg <[email protected]> 
> wrote:
>
>> Right, it would linger until the client exits.  So I guess I'll have
>> to actually AddResource the pixmap with the FakeClientID and then use
>> FreeResource to destroy it instead of pScreen->DestroyPixmap.
>
> I think that will work. It sure seems ugly though.

Ah, we can just assign the pixmap the XID of the pbuffer and
AddResource it using that XID.  That way both the hidden pixmap and
the DRI2 drawable will automatically be reclaimed when the client
destroys the pbuffer or exits.

Kristian
_______________________________________________
[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