/frameworks/av/cmds/screenrecord/ |
EglWindow.cpp | 37 if (mEglSurface != EGL_NO_SURFACE) { 52 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(), 54 if (mEglSurface == EGL_NO_SURFACE) { 64 if (mEglSurface != EGL_NO_SURFACE) { 81 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mEglConfig, pbufferAttribs); 82 if (mEglSurface == EGL_NO_SURFACE) { 92 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 168 if (mEglSurface != EGL_NO_SURFACE) { 169 eglDestroySurface(mEglDisplay, mEglSurface); [all...] |
EglWindow.h | 37 mEglSurface(EGL_NO_SURFACE), 77 EGLSurface mEglSurface;
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
GlTestBase.java | 58 private EGLSurface mEglSurface; 83 mEglSurface = eglCreatePbufferSurface(sEglDisplay, eglConfig, new int[] { 88 assertNotSame(EGL_NO_SURFACE, mEglSurface); 90 eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext); 97 eglDestroySurface(sEglDisplay, mEglSurface);
|
/cts/tests/tests/view/src/android/view/cts/ |
GLProducerThread.java | 43 private EGLSurface mEglSurface = EGL10.EGL_NO_SURFACE; 113 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, 116 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 126 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 136 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 138 mEglSurface = EGL10.EGL_NO_SURFACE; 150 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
|
TextureViewCtsActivity.java | 79 private EGLSurface mEglSurface; 215 if (mEglSurface != null) { 238 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 261 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 288 if (mEglSurface != null) { 289 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 290 mEglSurface = null; 400 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, 404 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) [all...] |
/cts/tests/openglperf2/jni/graphics/ |
Renderer.cpp | 91 mOffscreen(offscreen), mEglDisplay(EGL_NO_DISPLAY), mEglSurface(EGL_NO_SURFACE), 108 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, mWindow, NULL); 109 EGL_RESULT_CHECK(mEglSurface != EGL_NO_SURFACE); 114 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 115 EGL_RESULT_CHECK(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &mWidth)); 116 EGL_RESULT_CHECK(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &mHeight)); 130 if (mEglSurface != EGL_NO_SURFACE) { 131 mEglSurface = EGL_NO_SURFACE; 143 EGL_RESULT_CHECK(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) [all...] |
Renderer.h | 37 EGLSurface mEglSurface;
|
/cts/tests/openglperf2/jni/primitive/contextswitch/ |
ContextSwitchRenderer.cpp | 114 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]) 145 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]); 155 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 208 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]); 230 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext) [all...] |
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
SkottieRunner.java | 259 EGLSurface mEglSurface; 342 if (mEglSurface != null) { 346 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 347 mEglSurface = null; 394 if (mEglSurface != null) { 395 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 396 mEglSurface = null; 401 if (mEglSurface == null) { 403 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, 405 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) [all...] |
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/ |
SkottieRunner.java | 259 EGLSurface mEglSurface; 342 if (mEglSurface != null) { 346 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 347 mEglSurface = null; 394 if (mEglSurface != null) { 395 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 396 mEglSurface = null; 401 if (mEglSurface == null) { 403 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, 405 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) [all...] |
/device/generic/goldfish/camera/ |
EmulatedFakeRotatingCameraDevice.h | 98 EGLSurface mEglSurface;
|
EmulatedFakeRotatingCameraDevice.cpp | 278 eglDestroySurface( mEglDisplay, mEglSurface ); 378 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, attribs); 379 if (mEglSurface == EGL_NO_SURFACE) { 390 if ( eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext) != EGL_TRUE ) 398 eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w); 400 eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h);
|
/external/replicaisland/src/com/replica/replicaisland/ |
GLSurfaceView.java | [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GLSurfaceViewCustom.java | [all...] |