/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureMultiContextGL.h | 42 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 54 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 61 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface,
|
H A D | SurfaceTextureMultiContextGL_test.cpp | 36 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 122 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 152 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 183 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 210 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, [all...] |
H A D | SRGB_test.cpp | 52 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE), 58 if (mEglSurface != EGL_NO_SURFACE) { 59 eglDestroySurface(mEglDisplay, mEglSurface); 234 EGLSurface mEglSurface; member in class:android::SRGBTest 274 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, 277 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 279 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 376 eglSwapBuffers(mEglDisplay, mEglSurface); 407 eglSwapBuffers(mEglDisplay, mEglSurface); [all...] |
H A D | GLTest.cpp | 77 mEglSurface = createWindowSurface(mEglDisplay, mGlConfig, window); 84 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig, 88 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 95 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 100 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 102 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 113 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 114 eglSwapBuffers(mEglDisplay, mEglSurface); 124 if (mEglSurface ! [all...] |
H A D | GLTest.h | 39 mEglSurface(EGL_NO_SURFACE), 63 EGLSurface mEglSurface; member in class:android::GLTest
|
H A D | SurfaceTextureGLToGL_test.cpp | 113 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 171 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 217 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 352 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 413 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, [all...] |
H A D | SurfaceTextureGLThreadToGL_test.cpp | 169 eglSwapBuffers(mEglDisplay, mEglSurface);
|
H A D | SurfaceTextureClient_test.cpp | 36 mEglSurface(EGL_NO_SURFACE), 76 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs); 78 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 84 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 95 eglDestroySurface(mEglDisplay, mEglSurface); 118 EGLSurface mEglSurface; member in class:android::SurfaceTextureClientTest 201 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
|
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.cpp | 38 if (mEglSurface != EGL_NO_SURFACE) { 53 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, anw.get(), 55 if (mEglSurface == EGL_NO_SURFACE) { 65 if (mEglSurface != EGL_NO_SURFACE) { 82 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mEglConfig, pbufferAttribs); 83 if (mEglSurface == EGL_NO_SURFACE) { 93 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 169 if (mEglSurface != EGL_NO_SURFACE) { 170 eglDestroySurface(mEglDisplay, mEglSurface); [all...] |
H A D | EglWindow.h | 37 mEglSurface(EGL_NO_SURFACE), 77 EGLSurface mEglSurface; member in class:android::EglWindow
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 44 , mEglSurface(EGL_NO_SURFACE) 78 if (mEglSurface != EGL_NO_SURFACE) { 79 mEglManager.destroySurface(mEglSurface); 80 mEglSurface = EGL_NO_SURFACE; 84 mEglSurface = mEglManager.createSurface(window); 87 if (mEglSurface != EGL_NO_SURFACE) { 89 mBufferPreserved = mEglManager.setPreserveBuffer(mEglSurface, preserveBuffer); 98 if (CC_UNLIKELY(!mEglManager.swapBuffers(mEglSurface))) { 105 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, 144 mHaveNewSurface |= mEglManager.makeCurrent(mEglSurface); [all...] |
H A D | CanvasContext.h | 123 EGLSurface mEglSurface; member in class:android::uirenderer::renderthread::CanvasContext
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 110 EGLSurface mEglSurface; field in class:BlockingGLTextureView.EglHelper 183 mEglSurface = null; 216 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); 218 mEglSurface = null; 221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 257 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 268 if (mEglSurface ! [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 57 mEglSurface(EGL_NO_SURFACE), 107 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 116 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 120 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 127 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 132 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 134 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 145 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 146 eglSwapBuffers(mEglDisplay, mEglSurface); 341 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/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 93 private EGLSurface mEglSurface; field in class:ColorFade 387 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface); 589 if (mEglSurface == null) { 594 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, 596 if (mEglSurface == null) { 605 if (mEglSurface != null) { 606 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) { 609 mEglSurface = null; 647 if (mEglSurface == null) { 650 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1039 mEglSurface = null; 1076 mEglSurface = view.mEGLWindowSurfaceFactory.createWindowSurface(mEgl, 1079 mEglSurface = null; 1082 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 1094 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1139 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 1153 if (mEglSurface != null && mEglSurface ! 1206 EGLSurface mEglSurface; field in class:GLSurfaceView.EglHelper [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 126 private EGLSurface mEglSurface; field in class:ImageWallpaper.DrawableEngine 533 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 649 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 704 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); 705 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) { 716 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|