diff options
author | Marek Olšák <[email protected]> | 2015-06-10 14:45:58 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-07-22 23:56:00 +0200 |
commit | 4f57ccd02d4c5f214c7e59e7302c1dc650cff31d (patch) | |
tree | 6ee6a82db3a3769e143c39e6372f6357671ad234 /include | |
parent | c2c2e9ab604793c6e01f85497f3f5bf645f962fa (diff) |
egl,dri_interface: use DRI2rendererQueryExtension to enable 3D textures & sRGB
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/internal/dri_interface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index 72660718bd8..f17b7b1e080 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -1437,6 +1437,11 @@ typedef struct __DRIDriverVtableExtensionRec { #define __DRI2_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION 0x0008 #define __DRI2_RENDERER_OPENGL_ES_PROFILE_VERSION 0x0009 #define __DRI2_RENDERER_OPENGL_ES2_PROFILE_VERSION 0x000a +#define __DRI2_RENDERER_HAS_TEXTURE_3D 0x000b +/* Whether there is an sRGB format support for every supported 32-bit UNORM + * color format. + */ +#define __DRI2_RENDERER_HAS_FRAMEBUFFER_SRGB 0x000c typedef struct __DRI2rendererQueryExtensionRec __DRI2rendererQueryExtension; struct __DRI2rendererQueryExtensionRec { |