summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2016-07-15 13:46:45 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-09-25 16:02:09 +0100
commit1fc240c6877e44fc9e6d85837dc2d27e26193291 (patch)
treeb3de805723efe7667276a6b968746296acb6b557
parent67b47d50dfb5f7a994ae44708d1b1ef1c42537b5 (diff)
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>
-rw-r--r--hw/xwin/glx/indirect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xwin/glx/indirect.c b/hw/xwin/glx/indirect.c
index 1ab326b46..e9fb3becd 100644
--- a/hw/xwin/glx/indirect.c
+++ b/hw/xwin/glx/indirect.c
@@ -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 },
};
//