From: Francisco J. <cur...@ri...> - 2010-02-08 20:59:31
|
Kristian Høgsberg <kr...@bi...> writes: > On Mon, Feb 8, 2010 at 1:25 PM, Francisco Jerez <cur...@ri...> 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 |