This website requires JavaScript.
Explore
Help
Sign In
drgreen
/
android_frameworks_base
Watch
1
Star
0
Fork
0
You've already forked android_frameworks_base
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
android_frameworks_base
/
opengl
/
tools
/
glgen
/
stubs
/
gles11
/
glGetString.nativeReg
2 lines
74 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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.
2009-04-24 10:35:11 -07:00
{"glGetString", "(I)Ljava/lang/String;", (void *) android_glGetString },
Reference in New Issue
Copy Permalink