hw/xwin/glx: publish GLX create_context extensions

Future work: To properly support GLX_ARB_create_context in indirect mode, we
need to use wglCreateContextAttribsARB() rather than wglCreateContext(),
when attribs are provided, rather than just dropping attribs on the floor,
as we currently do.

That probably entails removing the deferred context creation and instead
using a temporary window, as direct WGL does.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
Jon Turney 2016-07-15 13:46:45 +01:00
parent 67b47d50df
commit 1fc240c687
1 changed files with 4 additions and 0 deletions

View File

@ -595,6 +595,10 @@ glxWinScreenProbe(ScreenPtr pScreen)
{ "WGL_ARB_multisample", "GLX_SGIS_multisample", 0 },
{ "WGL_ARB_pixel_format_float", "GLX_ARB_fbconfig_float", 0 },
{ "WGL_EXT_pixel_format_packed_float", "GLX_EXT_fbconfig_packed_float", 0 },
{ "WGL_ARB_create_context", "GLX_ARB_create_context", 0 },
{ "WGL_ARB_create_context_profile", "GLX_ARB_create_context_profile", 0 },
{ "WGL_ARB_create_context_robustness", "GLX_ARB_create_context_robustness", 0 },
{ "WGL_EXT_create_context_es2_profile", "GLX_EXT_create_context_es2_profile", 0 },
};
//