Home
last modified time | relevance | path

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

/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/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/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;
237 case EGL10.EGL_SUCCESS: in getEGLErrorString()
239 case EGL10.EGL_NOT_INITIALIZED: in getEGLErrorString()
241 case EGL10.EGL_BAD_ACCESS: in getEGLErrorString()
243 case EGL10.EGL_BAD_ALLOC: in getEGLErrorString()
245 case EGL10.EGL_BAD_ATTRIBUTE: in getEGLErrorString()
247 case EGL10.EGL_BAD_CONFIG: in getEGLErrorString()
249 case EGL10.EGL_BAD_CONTEXT: in getEGLErrorString()
251 case EGL10.EGL_BAD_CURRENT_SURFACE: in getEGLErrorString()
253 case EGL10.EGL_BAD_DISPLAY: in getEGLErrorString()
[all …]
DGLSurfaceView.java23 import javax.microedition.khronos.egl.EGL10;
755 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext()
756 void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context); in destroyContext()
762 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext()
764 EGL10.EGL_NONE }; in createContext()
766 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext()
770 public void destroyContext(EGL10 egl, EGLDisplay display, in destroyContext()
792 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, in createWindowSurface()
794 void destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface); in destroySurface()
799 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/
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/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/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIView.java42 import javax.microedition.khronos.egl.EGL10;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java20 import static javax.microedition.khronos.egl.EGL10.*;
49 import javax.microedition.khronos.egl.EGL10;
122 private EGL10 mEgl;
655 mEgl = (EGL10) EGLContext.getEGL(); in initGL()
725 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext()
/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/docs/html/guide/topics/graphics/
Dopengl.jd673 EGL10 egl, EGLDisplay display, EGLConfig eglConfig) {
677 EGL10.EGL_NONE };
680 display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
/frameworks/base/
Dpreloaded-classes2625 javax.microedition.khronos.egl.EGL10
/frameworks/base/api/
Dsystem-current.txt22787 …edition.khronos.egl.EGLConfig chooseConfig(javax.microedition.khronos.egl.EGL10, javax.microeditio…
22791 …ition.khronos.egl.EGLContext createContext(javax.microedition.khronos.egl.EGL10, javax.microeditio…
22792 …method public abstract void destroyContext(javax.microedition.khronos.egl.EGL10, javax.microeditio…
22796 …khronos.egl.EGLSurface createWindowSurface(javax.microedition.khronos.egl.EGL10, javax.microeditio…
22797 …method public abstract void destroySurface(javax.microedition.khronos.egl.EGL10, javax.microeditio…
54208 public abstract interface EGL10 implements javax.microedition.khronos.egl.EGL {
54306 public abstract interface EGL11 implements javax.microedition.khronos.egl.EGL10 {
Dcurrent.txt21207 …edition.khronos.egl.EGLConfig chooseConfig(javax.microedition.khronos.egl.EGL10, javax.microeditio…
21211 …ition.khronos.egl.EGLContext createContext(javax.microedition.khronos.egl.EGL10, javax.microeditio…
21212 …method public abstract void destroyContext(javax.microedition.khronos.egl.EGL10, javax.microeditio…
21216 …khronos.egl.EGLSurface createWindowSurface(javax.microedition.khronos.egl.EGL10, javax.microeditio…
21217 …method public abstract void destroySurface(javax.microedition.khronos.egl.EGL10, javax.microeditio…
51679 public abstract interface EGL10 implements javax.microedition.khronos.egl.EGL {
51777 public abstract interface EGL11 implements javax.microedition.khronos.egl.EGL10 {
/frameworks/base/docs/html/
Dsitemap.txt3895 http://developer.android.com/reference/javax/microedition/khronos/egl/EGL10.html