summaryrefslogtreecommitdiffstats
path: root/gpu/pgl/pgl.h
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-27 19:19:36 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-27 19:19:36 +0000
commit586eb39fad5277d3882d5b6b330e481e3b55093c (patch)
tree0a071281c2c9b10425874447276dcc34549285f2 /gpu/pgl/pgl.h
parent1ecd2e7fed78fc9050f044ad6853746db9fc65ed (diff)
downloadchromium_src-586eb39fad5277d3882d5b6b330e481e3b55093c.zip
chromium_src-586eb39fad5277d3882d5b6b330e481e3b55093c.tar.gz
chromium_src-586eb39fad5277d3882d5b6b330e481e3b55093c.tar.bz2
Add eglGetProcAddress to pgl.
TEST=none BUG=none Review URL: http://codereview.chromium.org/1797001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45734 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/pgl/pgl.h')
-rw-r--r--gpu/pgl/pgl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/pgl/pgl.h b/gpu/pgl/pgl.h
index e413587..1c944f3 100644
--- a/gpu/pgl/pgl.h
+++ b/gpu/pgl/pgl.h
@@ -49,6 +49,9 @@ PGLBoolean pglMakeCurrent(PGLContext pgl_context);
// Get the calling thread's current PGL context.
PGLContext pglGetCurrentContext(void);
+// Gets the address of a function.
+void (*pglGetProcAddress(char const * procname))();
+
// Display everything that has been rendered since the last call.
PGLBoolean pglSwapBuffers(void);