/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 56 mEglSurface(EGL_NO_SURFACE), 106 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 115 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 119 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 126 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 131 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 133 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 144 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 145 eglSwapBuffers(mEglDisplay, mEglSurface); 340 EGLSurface mEglSurface; member in class:android::GLTest [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 144 private EGLSurface mEglSurface; field in class:GLTextureViewActivity.RenderThread 238 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 348 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 353 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 383 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null); 385 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 395 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTexture_test.cpp | 45 mEglSurface(EGL_NO_SURFACE), 99 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 107 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig, 111 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 118 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 123 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 125 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 136 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 137 eglSwapBuffers(mEglDisplay, mEglSurface); 282 EGLSurface mEglSurface; member in class:android::GLTest [all...] |
H A D | SurfaceTextureClient_test.cpp | 33 mEglSurface(EGL_NO_SURFACE), 68 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs); 70 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 76 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 87 eglDestroySurface(mEglDisplay, mEglSurface); 110 EGLSurface mEglSurface; member in class:android::SurfaceTextureClientTest
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareRenderer.java | 635 EGLSurface mEglSurface; field in class:HardwareRenderer.GlRenderer 1023 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) { 1025 sEgl.eglDestroySurface(sEglDisplay, mEglSurface); 1026 mEglSurface = null; 1036 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) { 1037 sEgl.eglDestroySurface(sEglDisplay, mEglSurface); 1038 mEglSurface = null; 1056 mEglSurface [all...] |
/frameworks/base/services/java/com/android/server/power/ |
H A D | ElectronBeam.java | 86 private EGLSurface mEglSurface; field in class:ElectronBeam 237 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface); 579 if (mEglSurface == null) { 583 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, 585 if (mEglSurface == null) { 594 if (mEglSurface != null) { 595 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) { 598 mEglSurface = null; 633 if (mEglSurface == null) { 636 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1040 mEglSurface = null; 1077 mEglSurface = view.mEGLWindowSurfaceFactory.createWindowSurface(mEgl, 1080 mEglSurface = null; 1083 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 1095 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1140 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 1154 if (mEglSurface != null && mEglSurface ! 1207 EGLSurface mEglSurface; field in class:GLSurfaceView.EglHelper [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 127 private EGLSurface mEglSurface; field in class:ImageWallpaper.DrawableEngine 501 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 618 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 644 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); 646 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) { 656 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.cpp | 208 mEglSurface = eglCreateWindowSurface(mEglDisplay, config, 217 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 223 eglDestroySurface(mEglDisplay, mEglSurface); 377 eglSwapBuffers(mEglDisplay, mEglSurface);
|
H A D | NativeWindowRenderer.h | 89 EGLSurface mEglSurface; member in class:android::NativeWindowRenderer
|