summaryrefslogtreecommitdiffstats
path: root/opengl/libs/tools
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-01-28 21:44:00 -0800
committerMathias Agopian <mathias@google.com>2012-01-29 22:22:09 -0800
commitea261a2e13c23f641d6caa38ce8d9f5ad94504da (patch)
treed4f0df4e2f1f04d336eb5cdc2092b3af92b69572 /opengl/libs/tools
parentdfbcee6cb8ab9cf89b9052eb7498e453afdb1463 (diff)
downloadframeworks_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-xopengl/libs/tools/glapigen3
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);