summaryrefslogtreecommitdiffstats
path: root/opengl/java
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2009-09-23 14:48:07 -0700
committerJack Palevich <jackpal@google.com>2009-09-23 14:48:07 -0700
commita8fecb87c5eaaefc9ca6272e3b59ef88d293dd6d (patch)
tree7652f77751c0f9aa13629288c325e82d272e65cf /opengl/java
parent63147705bc2893d6ad43270e04beb9ee01e2ad53 (diff)
downloadframeworks_base-a8fecb87c5eaaefc9ca6272e3b59ef88d293dd6d.zip
frameworks_base-a8fecb87c5eaaefc9ca6272e3b59ef88d293dd6d.tar.gz
frameworks_base-a8fecb87c5eaaefc9ca6272e3b59ef88d293dd6d.tar.bz2
Create samples showing how to call OpenGL from JNI libraries.
Diffstat (limited to 'opengl/java')
-rw-r--r--opengl/java/android/opengl/GLSurfaceView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/java/android/opengl/GLSurfaceView.java b/opengl/java/android/opengl/GLSurfaceView.java
index b3a19e3..4599b77 100644
--- a/opengl/java/android/opengl/GLSurfaceView.java
+++ b/opengl/java/android/opengl/GLSurfaceView.java
@@ -296,7 +296,7 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
* a context will be created with no shared context and
* with a null attribute list.
*/
- public void setContextFactory(EGLContextFactory factory) {
+ public void setEGLContextFactory(EGLContextFactory factory) {
checkRenderThreadState();
mEGLContextFactory = factory;
}
@@ -311,7 +311,7 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
* If this method is not called, then by default
* a window surface will be created with a null attribute list.
*/
- public void setWindowSurfaceFactory(EGLWindowSurfaceFactory factory) {
+ public void setEGLWindowSurfaceFactory(EGLWindowSurfaceFactory factory) {
checkRenderThreadState();
mEGLWindowSurfaceFactory = factory;
}