/frameworks/native/libs/gui/tests/ |
H A D | GLTest.h | 40 mEglSurface(EGL_NO_SURFACE), 65 EGLSurface mEglSurface; member in class:android::GLTest
|
H A D | SurfaceTextureClient_test.cpp | 39 mEglSurface(EGL_NO_SURFACE), 80 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs); 82 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 88 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 99 eglDestroySurface(mEglDisplay, mEglSurface); 122 EGLSurface mEglSurface; member in class:android::SurfaceTextureClientTest 205 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
|
H A D | SRGB_test.cpp | 58 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE), 64 if (mEglSurface != EGL_NO_SURFACE) { 65 eglDestroySurface(mEglDisplay, mEglSurface); 241 EGLSurface mEglSurface; member in class:android::SRGBTest 281 mEglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, 284 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 286 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 384 eglSwapBuffers(mEglDisplay, mEglSurface); 417 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 | 189 EGLSurface mEglSurface = EGL_NO_SURFACE; 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/tests/UiBench/src/com/android/test/uibench/opengl/ |
H A D | ImageFlipRenderThread.java | 98 private EGLSurface mEglSurface; field in class:ImageFlipRenderThread 191 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 301 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 306 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 307 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 336 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null); 338 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 348 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 | 53 mEglSurface(EGL_NO_SURFACE), 103 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 112 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 116 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 123 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 128 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 130 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 141 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 142 eglSwapBuffers(mEglDisplay, mEglSurface); 337 EGLSurface mEglSurface; member in class:android::GLTest [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 91 private EGLSurface mEglSurface; field in class:ColorFade 405 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface); 607 if (mEglSurface == null) { 612 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, 614 if (mEglSurface == null) { 623 if (mEglSurface != null) { 624 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) { 627 mEglSurface = null; 665 if (mEglSurface == null) { 668 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurfac [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 130 private EGLSurface mEglSurface; field in class:ImageWallpaper.DrawableEngine 618 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 734 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 789 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); 790 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) { 801 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1052 mEglSurface = null; 1089 mEglSurface = view.mEGLWindowSurfaceFactory.createWindowSurface(mEgl, 1092 mEglSurface = null; 1095 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 1107 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1152 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 1166 if (mEglSurface != null && mEglSurface ! 1219 EGLSurface mEglSurface; field in class:GLSurfaceView.EglHelper [all...] |