diff options
Diffstat (limited to 'glx')
-rw-r--r-- | glx/extension_string.c | 1 | ||||
-rw-r--r-- | glx/extension_string.h | 1 | ||||
-rw-r--r-- | glx/glxdri2.c | 6 | ||||
-rw-r--r-- | glx/glxdriswrast.c | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/glx/extension_string.c b/glx/extension_string.c index c3ddc4c96..616c7932e 100644 --- a/glx/extension_string.c +++ b/glx/extension_string.c @@ -82,6 +82,7 @@ static const struct extension_info known_glx_extensions[] = { { GLX(EXT_create_context_es_profile), VER(0,0), N, }, { GLX(EXT_create_context_es2_profile), VER(0,0), N, }, + { GLX(EXT_fbconfig_packed_float), VER(0,0), N, }, { GLX(EXT_framebuffer_sRGB), VER(0,0), N, }, { GLX(EXT_import_context), VER(0,0), Y, }, { GLX(EXT_stereo_tree), VER(0,0), N, }, diff --git a/glx/extension_string.h b/glx/extension_string.h index c1df91b00..425a8058b 100644 --- a/glx/extension_string.h +++ b/glx/extension_string.h @@ -45,6 +45,7 @@ enum { ARB_multisample_bit, EXT_create_context_es_profile_bit, EXT_create_context_es2_profile_bit, + EXT_fbconfig_packed_float_bit, EXT_import_context_bit, EXT_stereo_tree_bit, EXT_texture_from_pixmap_bit, diff --git a/glx/glxdri2.c b/glx/glxdri2.c index 89ad808c9..58e60b976 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -895,6 +895,12 @@ initializeExtensions(__GLXDRIscreen * screen) LogMessage(X_INFO, "AIGLX: enabled GLX_ARB_fbconfig_float\n"); } + /* enable EXT_fbconfig_packed_float (even if there are no packed float fbconfigs) */ + { + __glXEnableExtension(screen->glx_enable_bits, "GLX_EXT_fbconfig_packed_float"); + LogMessage(X_INFO, "AIGLX: enabled GLX_EXT_fbconfig_packed_float\n"); + } + for (i = 0; extensions[i]; i++) { if (strcmp(extensions[i]->name, __DRI_READ_DRAWABLE) == 0) { __glXEnableExtension(screen->glx_enable_bits, diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c index be00f5f06..924067c79 100644 --- a/glx/glxdriswrast.c +++ b/glx/glxdriswrast.c @@ -413,6 +413,7 @@ initializeExtensions(__GLXDRIscreen * screen) /* these are harmless to enable unconditionally */ __glXEnableExtension(screen->glx_enable_bits, "GLX_EXT_framebuffer_sRGB"); __glXEnableExtension(screen->glx_enable_bits, "GLX_ARB_fbconfig_float"); + __glXEnableExtension(screen->glx_enable_bits, "GLX_EXT_fbconfig_packed_float"); __glXEnableExtension(screen->glx_enable_bits, "GLX_SGI_make_current_read"); extensions = screen->core->getExtensions(screen->driScreen); |