Hello, I have an OpenGL program that tries to use WGL_SWAP_METHOD, but while my graphics card supports GLX_OML_swap_method, no pixelformat supports its value GLX_SWAP_EXCHANGE_OML.
Is this a graphics driver issue? I'm using the most recent open source mesa drivers. Attached a patch proposal to deal with the issue in wine, but I'm not sure if this is the right course of action to take.
Fabian Maurer
On 2016-08-27 18:31, Fabian Maurer wrote:
Is this a graphics driver issue? I'm using the most recent open source mesa drivers. Attached a patch proposal to deal with the issue in wine, but I'm not sure if this is the right course of action to take.
GLX_OML_swap_method doesn't explicitly say if it considers a partial support (e.g. GLX_SWAP_COPY_OML is supported, but GLX_SWAP_EXCHANGE_OML isn't) valid. My interpretation is that both are required if the extension is advertised because the extension lists both as accepted values for glXChooseFBConfig and doesn't have any language saying that an error may be generated if the implementation can't support your choice.
As such this would be a driver bug and should be fixed in Mesa. Have you raised a bug report there?
As such this would be a driver bug and should be fixed in Mesa. Have you raised a bug report there?
I submitted a report just now: https://bugs.freedesktop.org/show_bug.cgi? id=97516
I just don't know if it's maybe a problem with context creation, I'm not too familiar with that yet.
Fabian Maurer