Mesa (master): mesa: add missing defines for GL_OES_EGL_image_external
Chia-I Wu
olv at kemper.freedesktop.org
Thu Nov 3 07:52:27 UTC 2011
Module: Mesa
Branch: master
Commit: 1b1af841493e52bfdb90d919cd7f7b179b5bfb4e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b1af841493e52bfdb90d919cd7f7b179b5bfb4e
Author: Chia-I Wu <olv at lunarg.com>
Date: Sun Oct 23 18:36:04 2011 +0800
mesa: add missing defines for GL_OES_EGL_image_external
Reviewed-by: Brian Paul <brianp at vmware.com>
Acked-by: Jakob Bornecrantz <jakob at vmware.com>
---
src/mesa/main/glheader.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 0df8119..c4fb157 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -66,6 +66,14 @@ typedef void *GLeglImageOES;
#endif
+#ifndef GL_OES_EGL_image_external
+#define GL_TEXTURE_EXTERNAL_OES 0x8D65
+#define GL_SAMPLER_EXTERNAL_OES 0x8D66
+#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
+#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
+#endif
+
+
#ifndef GL_OES_point_size_array
#define GL_POINT_SIZE_ARRAY_OES 0x8B9C
#define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A
More information about the mesa-commit
mailing list