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

Unified Diff: mojo/public/platform/native/mgl_thunks.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/platform/native/gles2/call_visitor.h ('k') | mojo/public/platform/native/mgl_thunks.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/platform/native/mgl_thunks.h
diff --git a/mojo/public/platform/native/mgl_thunks.h b/mojo/public/platform/native/mgl_thunks.h
index 8a56474ea03227850cca9797bfe149b266268f7b..0c4e0994a25a4819e58f59b1fe19aa2d07516cfe 100644
--- a/mojo/public/platform/native/mgl_thunks.h
+++ b/mojo/public/platform/native/mgl_thunks.h
@@ -27,6 +27,7 @@ struct MGLThunks {
void (*MGLDestroyContext)(MGLContext context);
void (*MGLMakeCurrent)(MGLContext context);
MGLContext (*MGLGetCurrentContext)(void);
+ MGLMustCastToProperFunctionPointerType (*MGLGetProcAddress)(const char* name);
};
#pragma pack(pop)
@@ -39,6 +40,7 @@ inline struct MGLThunks MojoMakeMGLThunks() {
MGLDestroyContext,
MGLMakeCurrent,
MGLGetCurrentContext,
+ MGLGetProcAddress,
};
return mgl_thunks;
« no previous file with comments | « mojo/public/platform/native/gles2/call_visitor.h ('k') | mojo/public/platform/native/mgl_thunks.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698