Home
last modified time | relevance | path

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

12

/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/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/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;
229 case EGL10.EGL_SUCCESS: in getEGLErrorString()
231 case EGL10.EGL_NOT_INITIALIZED: in getEGLErrorString()
233 case EGL10.EGL_BAD_ACCESS: in getEGLErrorString()
235 case EGL10.EGL_BAD_ALLOC: in getEGLErrorString()
237 case EGL10.EGL_BAD_ATTRIBUTE: in getEGLErrorString()
239 case EGL10.EGL_BAD_CONFIG: in getEGLErrorString()
241 case EGL10.EGL_BAD_CONTEXT: in getEGLErrorString()
243 case EGL10.EGL_BAD_CURRENT_SURFACE: in getEGLErrorString()
245 case EGL10.EGL_BAD_DISPLAY: in getEGLErrorString()
[all …]
DGLSurfaceView.java30 import javax.microedition.khronos.egl.EGL10;
785 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext()
786 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext()
792 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext()
794 EGL10.EGL_NONE }; in createContext()
796 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext()
800 public void destroyContext(EGL10 egl, EGLDisplay display, in destroyContext()
822 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, in createWindowSurface()
824 void destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface); in destroySurface()
829 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.java21 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.java93 import javax.microedition.khronos.egl.EGL10;
1876 EGL10 egl,
1884 egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, contextAttribs);
1886 if (context == EGL10.EGL_NO_CONTEXT) {
1892 if (surface == EGL10.EGL_NO_SURFACE) {
1911 … egl.eglMakeCurrent(display, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT);
1921 EGL10 egl = (EGL10) EGLContext.getEGL();
1928 EGLDisplay display = egl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
1951 EGL10.EGL_WIDTH, 1,
1952 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/
Dhiddenapi-public-dex.txt30323 Landroid/opengl/GLSurfaceView$EGLConfigChooser;->chooseConfig(Ljavax/microedition/khronos/egl/EGL10
30325 …aceView$EGLContextFactory;->createContext(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
30326 …ceView$EGLContextFactory;->destroyContext(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
30328 …indowSurfaceFactory;->createWindowSurface(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
30329 …$EGLWindowSurfaceFactory;->destroySurface(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
71723 Ljavax/microedition/khronos/egl/EGL10;
71724 Ljavax/microedition/khronos/egl/EGL10;->eglChooseConfig(Ljavax/microedition/khronos/egl/EGLDisplay;…
71725 Ljavax/microedition/khronos/egl/EGL10;->eglCopyBuffers(Ljavax/microedition/khronos/egl/EGLDisplay;L…
71726 Ljavax/microedition/khronos/egl/EGL10;->eglCreateContext(Ljavax/microedition/khronos/egl/EGLDisplay…
71727 Ljavax/microedition/khronos/egl/EGL10;->eglCreatePbufferSurface(Ljavax/microedition/khronos/egl/EGL…
[all …]
Dboot-image-profile.txt4121 …ew$DefaultContextFactory;->destroyContext(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
4122 …aultWindowSurfaceFactory;->destroySurface(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
26847 …iew$DefaultContextFactory;->createContext(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
26848 …indowSurfaceFactory;->createWindowSurface(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
26849 …rfaceView$EGLConfigChooser;->chooseConfig(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
26850 …aceView$EGLContextFactory;->createContext(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
26851 …ceView$EGLContextFactory;->destroyContext(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
26852 …indowSurfaceFactory;->createWindowSurface(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
26853 …$EGLWindowSurfaceFactory;->destroySurface(Ljavax/microedition/khronos/egl/EGL10;Ljavax/microeditio…
50969 HSPLjavax/microedition/khronos/egl/EGL10;->eglChooseConfig(Ljavax/microedition/khronos/egl/EGLDispl…
[all …]
Dpreloaded-classes6054 javax.microedition.khronos.egl.EGL10

12