Detect this the same way as we do for drihw.
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Acked-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9233>
fast_color_clear/fcc-clear-tex: skip
-glx/extension string sanity: fail
glx/glx-buffer-age: skip
glx/glx-buffer-age vblank_mode=0: skip
glx/glx-copy-sub-buffer: fail
glx/glx-visuals-stencil -pixmap: fail
glx/glx_arb_create_context/invalid flag: fail
glx/glx_arb_create_context_es2_profile/invalid opengl es version: fail
-glx/glx_arb_create_context_no_error/no error: skip
glx/glx_arb_create_context_robustness/invalid reset notification strategy: skip
glx/glx_arb_create_context_robustness/require gl_arb_robustness: skip
glx/glx_arb_sync_control/glxgetmscrateoml: skip
fast_color_clear/fcc-clear-tex: skip
fast_color_clear/fcc-front-buffer-distraction: crash
fast_color_clear/fcc-write-after-clear: skip
-glx/extension string sanity: fail
glx/glx-buffer-age: skip
glx/glx-buffer-age vblank_mode=0: skip
glx/glx-copy-sub-buffer samples=16: skip
glx/glx-visuals-stencil: fail
glx/glx-visuals-stencil -pixmap: fail
glx/glx_arb_create_context_es2_profile/invalid opengl es version: fail
-glx/glx_arb_create_context_no_error/no error: skip
glx/glx_arb_create_context_robustness/invalid reset notification strategy: skip
glx/glx_arb_create_context_robustness/require gl_arb_robustness: skip
glx/glx_arb_sync_control/glxgetmscrateoml: skip
-glx@extension string sanity,Fail
glx@glx-copy-sub-buffer,Fail
glx@glx-copy-sub-buffer samples=2,Fail
glx@glx-copy-sub-buffer samples=4,Fail
__glXEnableDirectExtension(&psc->base,
"GLX_ARB_context_flush_control");
}
+
+ if (strcmp(extensions[i]->name, __DRI2_NO_ERROR) == 0)
+ __glXEnableDirectExtension(&psc->base,
+ "GLX_ARB_create_context_no_error");
}
}