Home | History | Annotate | Download | only in camera

Lines Matching refs:EGL10

30 import javax.microedition.khronos.egl.EGL10;
59 private EGL10 mEgl;
125 mEgl = (EGL10) EGLContext.getEGL();
126 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY);
127 if (mEglDisplay == EGL10.EGL_NO_DISPLAY) {
136 int[] attribList = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE };
138 mEglContext = mEgl.eglCreateContext(mEglDisplay, mEglConfig, EGL10.EGL_NO_CONTEXT,
141 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) {
146 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
163 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE,
164 EGL10.EGL_NO_CONTEXT);
229 private static void checkEglError(String prompt, EGL10 egl) {
231 while ((error = egl.eglGetError()) != EGL10.EGL_SUCCESS) {
238 EGL10.EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
239 EGL10.EGL_RED_SIZE, 8,
240 EGL10.EGL_GREEN_SIZE, 8,
241 EGL10.EGL_BLUE_SIZE, 8,
242 EGL10.EGL_NONE
245 private static EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {