[Mesa-users] Switching from an onscreen glx context to an osmesa context
paul.gotzel at gmail.com
Wed Jul 13 14:04:47 PDT 2011
I've taken on the task of upgrading from mesa 7.6.1 to 7.10.3 and come
across what seems to be a regression. I'm building on linux_x86-64 with gcc
4.5.1 and the following config:
--with-driver=xlib --disable-gles1 --disable-gles2 --disable-egl
The problem happens when I switch between a mesa glx context to a osmesa
context, the OSMesaMakeCurrent succeeds but ends up using the onscreen glx
context for rendering. The basic sequence of calls is as follows:
... OpenGL commands ...
... OpenGL commands ... <-- these commands render single buffered on the
I can workaround this by inserting a glxDestroyContext before the
OSMesaMakeCurrent but I'm switching between the contexts in a loop so I'm
hoping there is something I'm missing. Any ideas? This was not a problem
in 7.6.1 but maybe I just got lucky.
Any help is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-users