Searched refs:mEgl (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/textureview/src/android/textureview/cts/ |
D | GLProducerThread.java | 45 private EGL10 mEgl; field in GLProducerThread 79 mEgl = (EGL10) EGLContext.getEGL(); in initGL() 81 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in initGL() 84 + GLUtils.getEGLErrorString(mEgl.eglGetError())); in initGL() 88 if (!mEgl.eglInitialize(mEglDisplay, version)) { in initGL() 90 GLUtils.getEGLErrorString(mEgl.eglGetError())); in initGL() 106 …if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) || numConfigs[0] == … in initGL() 114 …mEglContext = mEgl.eglCreateContext(mEglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs); in initGL() 116 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0], mSurfaceTexture, null); in initGL() 119 int error = mEgl.eglGetError(); in initGL() [all …]
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 1011 mEgl = (EGL10) EGLContext.getEGL(); in start() 1016 mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in start() 1026 if(!mEgl.eglInitialize(mEglDisplay, version)) { in start() 1034 mEglConfig = view.mEGLConfigChooser.chooseConfig(mEgl, mEglDisplay); in start() 1040 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); in start() 1066 if (mEgl == null) { in createSurface() 1087 mEglSurface = view.mEGLWindowSurfaceFactory.createWindowSurface(mEgl, in createSurface() 1094 int error = mEgl.eglGetError(); in createSurface() 1105 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface() 1110 logEglErrorAsWarning("EGLHelper", "eglMakeCurrent", mEgl.eglGetError()); in createSurface() [all …]
|