diff options
author | Mathias Agopian <mathias@google.com> | 2012-01-28 21:44:00 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-01-29 22:22:09 -0800 |
commit | ea261a2e13c23f641d6caa38ce8d9f5ad94504da (patch) | |
tree | d4f0df4e2f1f04d336eb5cdc2092b3af92b69572 /opengl/libs/tools | |
parent | dfbcee6cb8ab9cf89b9052eb7498e453afdb1463 (diff) | |
download | frameworks_base-ea261a2e13c23f641d6caa38ce8d9f5ad94504da.zip frameworks_base-ea261a2e13c23f641d6caa38ce8d9f5ad94504da.tar.gz frameworks_base-ea261a2e13c23f641d6caa38ce8d9f5ad94504da.tar.bz2 |
add support for GL_EXT_debug_marker
This extension is always added to the GL_EXTENSIONS
extension string for the current GL context, regardless
of if it's supported by the h/w driver.
The extension itself will be handled by GLES_trace (eventually),
when GLES_trace is not enabled, it'll result to a no-op.
If the h/w implementation has this extension, we'll call that version
instead of our dummy version.
Change-Id: Ie5dd3387c4d45cd5ed5f03b73bda6045620a96bc
Diffstat (limited to 'opengl/libs/tools')
-rwxr-xr-x | opengl/libs/tools/glapigen | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opengl/libs/tools/glapigen b/opengl/libs/tools/glapigen index bd8dda3..9be40cf 100755 --- a/opengl/libs/tools/glapigen +++ b/opengl/libs/tools/glapigen @@ -43,6 +43,9 @@ while (my $line = <>) { if ($name eq "glEGLImageTargetRenderbufferStorageOES") { $prefix = "__"; } + if ($name eq "glGetString") { + $prefix = "__"; + } printf("%s API_ENTRY(%s%s)(%s)", $type, $prefix, $name, $args); |