Kristian Høgsberg <[email protected]> writes:

> On Mon, Feb 8, 2010 at 1:25 PM, Francisco Jerez <[email protected]> wrote:
>> The spec says (regarding glXCreateWindow): "If there is already a
>> GLXFBConfig associated with win (as a result of a previous
>> glXCreateWindow call), then a BadAlloc error is generated.". It will
>> also come useful to implement DRI2InvalidateBuffers for the indirect
>> case.
>
> Can you just use the existing __glXDrawableRes for tracking this?
>
I don't think so. To implement DRI2InvalidateBuffers we need a way to
map an X11 window to its GLX window: In the GLX1.3 world the client
decides the IDs of its GLX drawables so in general GLX and X11 drawable
IDs aren't going to be the same.

> cheers,
> Kristian

Attachment: pgp4gyLRlZ0B5.pgp
Description: PGP signature

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to