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

Kristian Høgsberg krh at bitplanet.net
Wed Apr 14 11:22:05 PDT 2010


On Wed, Apr 14, 2010 at 1:18 PM, Keith Packard <keithp at keithp.com> wrote:
>
> On Wed, 14 Apr 2010 10:25:49 -0400, Kristian Høgsberg <krh at bitplanet.net> wrote:
>
>> Keith, have you had time to look at this respun fix for 26394?
>
> Oh. I just had a bad thought -- pixmaps don't follow the same rule as
> windows, they aren't always in the resource database and don't always
> have resource IDs.

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.

Kristian


More information about the xorg-devel mailing list