/frameworks/native/libs/gui/tests/ |
H A D | GLTest.h | 39 mEglSurface(EGL_NO_SURFACE), 63 EGLSurface mEglSurface; member in class:android::GLTest
|
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);
|
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...] |
/frameworks/av/cmds/screenrecord/ |
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.h | 123 EGLSurface mEglSurface; member in class:android::uirenderer::renderthread::CanvasContext
|
/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/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/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)) {
|
/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...] |