Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(677)

Unified Diff: mojo/public/c/gpu/MGL/mgl_types.h

Issue 1354353002: Add GetProcAddress to OpenGL control interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Use deps instead of source Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/c/gpu/MGL/mgl.h ('k') | mojo/public/platform/native/gles2/call_visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/gpu/MGL/mgl_types.h
diff --git a/mojo/public/c/gpu/MGL/mgl_types.h b/mojo/public/c/gpu/MGL/mgl_types.h
index 22534564cd250f8a0830dcef8e5d6fd34e27fbae..b28aee610b9a4b061bb5e2e7887765523ec92f03 100644
--- a/mojo/public/c/gpu/MGL/mgl_types.h
+++ b/mojo/public/c/gpu/MGL/mgl_types.h
@@ -15,6 +15,10 @@ typedef struct MGLContextPrivate* MGLContext;
typedef void (*MGLContextLostCallback)(void* closure);
typedef void (*MGLSignalSyncPointCallback)(void* closure);
+// This is a generic function pointer type, which must be cast to the proper
+// type and calling convention before use.
+typedef void (*MGLMustCastToProperFunctionPointerType)(void);
+
#ifdef __cplusplus
} // extern "C"
#endif
« no previous file with comments | « mojo/public/c/gpu/MGL/mgl.h ('k') | mojo/public/platform/native/gles2/call_visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698