Home
last modified time | relevance | path

Searched refs:EGL10 (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java42 import javax.microedition.khronos.egl.EGL10;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
83 int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in createContext()
84 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext()
94 private static void checkEglError(String prompt, EGL10 egl) { in checkEglError()
96 while ((error = egl.eglGetError()) != EGL10.EGL_SUCCESS) { in checkEglError()
105 EGL10.EGL_RED_SIZE, 4,
106 EGL10.EGL_GREEN_SIZE, 4,
107 EGL10.EGL_BLUE_SIZE, 4,
[all …]
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualGL2View.java35 import javax.microedition.khronos.egl.EGL10;
83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
86 int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in createContext()
87 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
92 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext()
97 private static void checkEglError(String prompt, EGL10 egl) { in checkEglError()
99 while ((error = egl.eglGetError()) != EGL10.EGL_SUCCESS) { in checkEglError()
108 EGL10.EGL_RED_SIZE, 4,
109 EGL10.EGL_GREEN_SIZE, 4,
110 EGL10.EGL_BLUE_SIZE, 4,
[all …]
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java42 import javax.microedition.khronos.egl.EGL10;
80 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext()
83 int[] attrib_list = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in createContext()
84 … EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
89 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext()
94 private static void checkEglError(String prompt, EGL10 egl) { in checkEglError()
96 while ((error = egl.eglGetError()) != EGL10.EGL_SUCCESS) { in checkEglError()
105 EGL10.EGL_RED_SIZE, 4,
106 EGL10.EGL_GREEN_SIZE, 4,
107 EGL10.EGL_BLUE_SIZE, 4,
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java32 import javax.microedition.khronos.egl.EGL10;
64 private EGL10 mEgl;
87 EGL10 egl = (EGL10) EGLContext.getEGL(); in newTarget()
224 EGL10 egl = (EGL10) EGLContext.getEGL(); in focusNone()
226 EGL10.EGL_NO_SURFACE, in focusNone()
227 EGL10.EGL_NO_SURFACE, in focusNone()
228 EGL10.EGL_NO_CONTEXT); in focusNone()
243 return current != null ? current.getContext() : EGL10.EGL_NO_CONTEXT; in currentContext()
249 mContext = EGL10.EGL_NO_CONTEXT; in release()
255 mSurface = EGL10.EGL_NO_SURFACE; in release()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLUtils.java21 import javax.microedition.khronos.egl.EGL10;
233 case EGL10.EGL_SUCCESS: in getEGLErrorString()
235 case EGL10.EGL_NOT_INITIALIZED: in getEGLErrorString()
237 case EGL10.EGL_BAD_ACCESS: in getEGLErrorString()
239 case EGL10.EGL_BAD_ALLOC: in getEGLErrorString()
241 case EGL10.EGL_BAD_ATTRIBUTE: in getEGLErrorString()
243 case EGL10.EGL_BAD_CONFIG: in getEGLErrorString()
245 case EGL10.EGL_BAD_CONTEXT: in getEGLErrorString()
247 case EGL10.EGL_BAD_CURRENT_SURFACE: in getEGLErrorString()
249 case EGL10.EGL_BAD_DISPLAY: in getEGLErrorString()
[all …]
DGLSurfaceView.java31 import javax.microedition.khronos.egl.EGL10;
786 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext()
787 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext()
793 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext()
795 EGL10.EGL_NONE }; in createContext()
797 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext()
801 public void destroyContext(EGL10 egl, EGLDisplay display, in destroyContext()
823 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, in createWindowSurface()
825 void destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface); in destroySurface()
830 public EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, in createWindowSurface()
[all …]
DEGLLogWrapper.java23 import javax.microedition.khronos.egl.EGL10;
31 private EGL10 mEgl10;
39 mEgl10 = (EGL10) egl; in EGLLogWrapper()
429 if (object == EGL10.EGL_DEFAULT_DISPLAY) { in arg()
439 if (object == EGL10.EGL_NO_CONTEXT) { in arg()
447 if (object == EGL10.EGL_NO_SURFACE) { in arg()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java27 import javax.microedition.khronos.egl.EGL10;
108 EGL10 mEgl;
129 EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, in getConfig()
130 EGL10.EGL_RED_SIZE, 8, in getConfig()
131 EGL10.EGL_GREEN_SIZE, 8, in getConfig()
132 EGL10.EGL_BLUE_SIZE, 8, in getConfig()
133 EGL10.EGL_ALPHA_SIZE, 8, in getConfig()
134 EGL10.EGL_DEPTH_SIZE, 0, in getConfig()
135 EGL10.EGL_STENCIL_SIZE, 0, in getConfig()
136 EGL10.EGL_NONE in getConfig()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DSingleFrameTextureViewTestActivity.java36 import javax.microedition.khronos.egl.EGL10;
84 private EGL10 mEgl; in onSurfaceTextureAvailable()
126 mEgl = (EGL10) EGLContext.getEGL(); in onSurfaceTextureAvailable()
128 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in onSurfaceTextureAvailable()
129 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { in onSurfaceTextureAvailable()
149 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in onSurfaceTextureAvailable()
151 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { in onSurfaceTextureAvailable()
166 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in onSurfaceTextureAvailable()
167 int[] attrib_list = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in onSurfaceTextureAvailable()
168 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in onSurfaceTextureAvailable()
[all …]
DGLTextureViewActivity.java36 import javax.microedition.khronos.egl.EGL10;
140 private EGL10 mEgl;
334 if (error != EGL10.EGL_SUCCESS) { in checkEglError()
353 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent()
362 mEgl = (EGL10) EGLContext.getEGL(); in initGL()
364 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initGL()
365 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { in initGL()
385 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in initGL()
387 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { in initGL()
404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext()
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java31 import javax.microedition.khronos.egl.EGL10;
94 private EGL10 mEgl;
287 if (error != EGL10.EGL_SUCCESS) { in checkEglError()
306 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { in checkCurrent()
315 mEgl = (EGL10) EGLContext.getEGL(); in initGL()
317 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initGL()
318 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { in initGL()
338 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in initGL()
340 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { in initGL()
355 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext()
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java26 public class EGLImpl implements EGL10 {
56 return EGL10.EGL_NO_CONTEXT; in eglCreateContext()
64 return EGL10.EGL_NO_SURFACE; in eglCreatePbufferSurface()
73 return EGL10.EGL_NO_SURFACE; in eglCreatePixmapSurface()
103 return EGL10.EGL_NO_SURFACE; in eglCreateWindowSurface()
111 return EGL10.EGL_NO_DISPLAY; in eglGetDisplay()
121 return EGL10.EGL_NO_CONTEXT; in eglGetCurrentContext()
131 return EGL10.EGL_NO_DISPLAY; in eglGetCurrentDisplay()
141 return EGL10.EGL_NO_SURFACE; in eglGetCurrentSurface()
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
DClearActivity.java23 import javax.microedition.khronos.egl.EGL10;
170 int[] configSpec = { EGL10.EGL_DEPTH_SIZE, 16, EGL10.EGL_NONE }; in getConfigSpec()
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL11.java19 public interface EGL11 extends EGL10 {
DEGL10.java22 public interface EGL10 extends EGL { interface
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestView.java42 import javax.microedition.khronos.egl.EGL10;
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java109 import javax.microedition.khronos.egl.EGL10;
1954 EGL10 egl,
1962 egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, contextAttribs);
1964 if (context == EGL10.EGL_NO_CONTEXT) {
1970 if (surface == EGL10.EGL_NO_SURFACE) {
1989 … egl.eglMakeCurrent(display, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT);
1999 EGL10 egl = (EGL10) EGLContext.getEGL();
2006 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
2029 EGL10.EGL_WIDTH, 1,
2030 EGL10.EGL_HEIGHT, 1,
[all …]
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIView.java42 import javax.microedition.khronos.egl.EGL10;
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java31 import javax.microedition.khronos.egl.EGL10;
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java30 import javax.microedition.khronos.egl.EGL10;
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestView.java46 import javax.microedition.khronos.egl.EGL10;
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java30 import javax.microedition.khronos.egl.EGL10;
/frameworks/base/config/
Dpreloaded-classes7115 javax.microedition.khronos.egl.EGL10
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21205 …edition.khronos.egl.EGLConfig chooseConfig(javax.microedition.khronos.egl.EGL10, javax.microeditio…
21209 …ition.khronos.egl.EGLContext createContext(javax.microedition.khronos.egl.EGL10, javax.microeditio…
21210 …method public abstract void destroyContext(javax.microedition.khronos.egl.EGL10, javax.microeditio…
21214 …khronos.egl.EGLSurface createWindowSurface(javax.microedition.khronos.egl.EGL10, javax.microeditio…
21215 …method public abstract void destroySurface(javax.microedition.khronos.egl.EGL10, javax.microeditio…
51677 public abstract interface EGL10 implements javax.microedition.khronos.egl.EGL {
51775 public abstract interface EGL11 implements javax.microedition.khronos.egl.EGL10 {
/frameworks/base/api/
Dcurrent.txt33868 …edition.khronos.egl.EGLConfig chooseConfig(javax.microedition.khronos.egl.EGL10, javax.microeditio…
33872 …ition.khronos.egl.EGLContext createContext(javax.microedition.khronos.egl.EGL10, javax.microeditio…
33873 …method public void destroyContext(javax.microedition.khronos.egl.EGL10, javax.microedition.khronos…
33877 …khronos.egl.EGLSurface createWindowSurface(javax.microedition.khronos.egl.EGL10, javax.microeditio…
33878 …method public void destroySurface(javax.microedition.khronos.egl.EGL10, javax.microedition.khronos…
74509 public interface EGL10 extends javax.microedition.khronos.egl.EGL {
74607 public interface EGL11 extends javax.microedition.khronos.egl.EGL10 {

12