diff options
author | Jack Palevich <jackpal@google.com> | 2009-04-24 10:35:11 -0700 |
---|---|---|
committer | Jack Palevich <jackpal@google.com> | 2009-04-24 13:07:17 -0700 |
commit | a379585e6e3ff41db6d71a5cd0a0403931bc525d (patch) | |
tree | 38728985bfdc9da616259cfc4905587da798d6c6 /opengl/tools/glgen/stubs/gles11/glGetString.nativeReg | |
parent | 7fc4b281750be2442a327e7aa9fb03c44096caf3 (diff) | |
download | frameworks_base-a379585e6e3ff41db6d71a5cd0a0403931bc525d.zip frameworks_base-a379585e6e3ff41db6d71a5cd0a0403931bc525d.tar.gz frameworks_base-a379585e6e3ff41db6d71a5cd0a0403931bc525d.tar.bz2 |
Enable static Java APIs for OpenGL ES 1.1 extensions.
This is just plumbing. The Java APIs existed already, but there were no C APIs to hook the Java APIs
up to. Now there are C APIs, so we can call them.
Of course, whether or not the C APIs actually work when you call them depend upon the
capabilities of the active OpenGL driver, which must be checked at run time.
Also, while we're here, make the glGetString method static. It was always supposed to be static,
but was accidentally implemented as non-static, because the code was copied from the non-static
OpenGL ES classes.
Diffstat (limited to 'opengl/tools/glgen/stubs/gles11/glGetString.nativeReg')
-rw-r--r-- | opengl/tools/glgen/stubs/gles11/glGetString.nativeReg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/tools/glgen/stubs/gles11/glGetString.nativeReg b/opengl/tools/glgen/stubs/gles11/glGetString.nativeReg index e64187c..a4af31f 100644 --- a/opengl/tools/glgen/stubs/gles11/glGetString.nativeReg +++ b/opengl/tools/glgen/stubs/gles11/glGetString.nativeReg @@ -1 +1 @@ -{"_glGetString", "(I)Ljava/lang/String;", (void *) android_glGetString },
+{"glGetString", "(I)Ljava/lang/String;", (void *) android_glGetString },
|