aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl/GrGLFunctions.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-11-16 06:48:44 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-16 06:48:44 -0800
commitb1a32ad51767d7639abc6ba16aae656145d7fc77 (patch)
tree37ff3a1e8efc0497cf0f6e96afc5d1773c291506 /include/gpu/gl/GrGLFunctions.h
parent0dfa62c97707ac9b0fc0bdba7acfc8405db5c836 (diff)
Add support for EGLImage to GrGLInterface
Diffstat (limited to 'include/gpu/gl/GrGLFunctions.h')
-rw-r--r--include/gpu/gl/GrGLFunctions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLFunctions.h b/include/gpu/gl/GrGLFunctions.h
index 6be48bc599..a8a721e7e6 100644
--- a/include/gpu/gl/GrGLFunctions.h
+++ b/include/gpu/gl/GrGLFunctions.h
@@ -349,6 +349,11 @@ typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPushDebugGroupProc)(GrGLenum source,
typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPopDebugGroupProc)();
typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLObjectLabelProc)(GrGLenum identifier, GrGLuint name, GrGLsizei length, const GrGLchar *label);
+/** EGL functions */
+typedef const char* (GR_GL_FUNCTION_TYPE* GrEGLQueryStringProc)(GrEGLDisplay dpy, GrEGLint name);
+typedef GrEGLDisplay (GR_GL_FUNCTION_TYPE* GrEGLGetCurrentDisplayProc)();
+typedef GrEGLImageKHR (GR_GL_FUNCTION_TYPE* GrEGLCreateImageProc)(GrEGLDisplay dpy, GrEGLContext ctx, GrEGLenum target, GrEGLClientBuffer buffer, const GrEGLint *attrib_list);
+typedef GrEGLBoolean (GR_GL_FUNCTION_TYPE* GrEGLDestroyImageProc)(GrEGLDisplay dpy, GrEGLImageKHR image);
} // extern "C"
#endif