diff options
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/dd.h | 13 | ||||
-rw-r--r-- | src/mesa/main/extensions.c | 3 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 3 |
3 files changed, 19 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index afcab5bf2b..307ecd3d8b 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -1070,6 +1070,19 @@ struct dd_function_table { GLfloat width, GLfloat height); /*@}*/ #endif +#if FEATURE_OES_EGL_image + /** + * \name GL_OES_EGL_image interface + */ + /*@{*/ + void (*EGLImageTargetRenderbufferStorage)(GLcontext *ctx, + struct gl_renderbuffer *rb, + GLvoid *image); + void (*EGLImageTargetTexture2D)(GLcontext *ctx, + struct gl_texture_object *texObj, + GLvoid *image); + /*@}*/ +#endif }; diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 7e289743ce..5b54c1cf8c 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -186,6 +186,9 @@ static const struct { #if FEATURE_OES_draw_texture { OFF, "GL_OES_draw_texture", F(OES_draw_texture) }, #endif /* FEATURE_OES_draw_texture */ +#if FEATURE_OES_EGL_image + { OFF, "GL_OES_EGL_image", F(OES_EGL_image) }, +#endif }; diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index bebb3e56a6..6ce9ae1d6a 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2602,6 +2602,9 @@ struct gl_extensions #if FEATURE_OES_draw_texture GLboolean OES_draw_texture; #endif /* FEATURE_OES_draw_texture */ +#if FEATURE_OES_EGL_image + GLboolean OES_EGL_image; +#endif /** The extension string */ const GLubyte *String; }; |