From 8ff6b9ebeeb24a6161ec6098e6bfdf8790ee5695 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 9 Nov 2011 20:10:18 -0800 Subject: Terminate EGL when an app goes in the background This does not happen on high end gfx devices. This happens only if only one EGL context is initialized in the current process. Change-Id: Ibd1737efdf84eef8a84108b05795440d1ae9964e --- opengl/java/javax/microedition/khronos/egl/EGL10.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opengl/java/javax') diff --git a/opengl/java/javax/microedition/khronos/egl/EGL10.java b/opengl/java/javax/microedition/khronos/egl/EGL10.java index 2ae793acf231..cf58888effae 100644 --- a/opengl/java/javax/microedition/khronos/egl/EGL10.java +++ b/opengl/java/javax/microedition/khronos/egl/EGL10.java @@ -114,6 +114,8 @@ public interface EGL10 extends EGL { boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value); String eglQueryString(EGLDisplay display, int name); boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); + /** @hide **/ + boolean eglReleaseThread(); boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface); boolean eglTerminate(EGLDisplay display); boolean eglWaitGL(); -- cgit v1.2.3-59-g8ed1b