/frameworks/native/libs/gui/tests/ |
GLTest.h | 39 mEglSurface(EGL_NO_SURFACE), 63 EGLSurface mEglSurface;
|
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; 201 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
|
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; 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/ |
EglWindow.h | 37 mEglSurface(EGL_NO_SURFACE), 77 EGLSurface mEglSurface;
|
/frameworks/base/libs/hwui/renderthread/ |
CanvasContext.h | 113 EGLSurface mEglSurface;
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Renderer.h | 37 EGLSurface mEglSurface;
|
/cts/tests/tests/nativeopengl/standalone/jni/tests/ |
GLTest_test.cpp | 39 mEglSurface(EGL_NO_SURFACE), 70 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 78 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig, 82 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 89 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 94 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 96 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 105 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 106 eglSwapBuffers(mEglDisplay, mEglSurface); [all...] |
EGLCleanup_test.cpp | 78 mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT), 115 EGLSurface mEglSurface; 207 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 265 mEglSurface = eglCreatePbufferSurface(mEglDisplay, eglConfig, 267 if (mEglSurface == EGL_NO_SURFACE) { 299 eglDestroySurface(mEglDisplay, mEglSurface);
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
GLProducerThread.java | 48 private EGLSurface mEglSurface = EGL10.EGL_NO_SURFACE; 116 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, configs[0], mSurfaceTexture, null); 118 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 127 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 138 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 140 mEglSurface = EGL10.EGL_NO_SURFACE; 152 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
|
/hardware/ti/omap4-aah/test/CameraHal/ |
camera_test_surfacetexture.h | 68 mEglSurface(EGL_NO_SURFACE), 89 EGLSurface mEglSurface;
|
/packages/apps/Camera2/src/com/android/camera/ |
SurfaceTextureRenderer.java | 43 private EGLSurface mEglSurface; 57 if (mEglDisplay != null && mEglSurface != null) { 59 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 79 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 84 mEglSurface = null; 135 mEglSurface = mEgl.eglCreateWindowSurface( 137 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 142 mEglDisplay, mEglSurface, mEglSurface, mEglContext)) [all...] |
/frameworks/av/media/libstagefright/tests/ |
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); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
BlockingGLTextureView.java | 110 EGLSurface mEglSurface; 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 != null && mEglSurface != EGL10.EGL_NO_SURFACE) [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
ColorFade.java | 93 private EGLSurface mEglSurface; 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, mEglSurface, mEglContext)) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GLTextureViewActivity.java | 144 private EGLSurface mEglSurface; 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, mEglSurface, mEglContext)) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
MosaicPreviewRenderer.java | 56 private EGLSurface mEglSurface; 108 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 120 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 144 mEglSurface = mEgl.eglCreateWindowSurface( 146 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 150 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 161 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 166 mEglSurface = null [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
BlockingGLTextureView.java | 110 EGLSurface mEglSurface; 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 != null && mEglSurface != EGL10.EGL_NO_SURFACE) [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
BlockingGLTextureView.java | 110 EGLSurface mEglSurface; 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 != null && mEglSurface != EGL10.EGL_NO_SURFACE) [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
FireflyRenderer.java | 162 EGLSurface mEglSurface; 204 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 230 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 282 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 283 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 316 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, null); 318 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 324 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) [all...] |
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
ColorsGLRenderer.java | 71 private EGLSurface mEglSurface; 135 if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 146 !mEglSurface.equals(mEgl.eglGetCurrentSurface(EGL10.EGL_DRAW))) { 147 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 176 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, eglConfig, mSurface, null); 178 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 188 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GLSurfaceViewCustom.java | [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GLSurfaceView.java | [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLSurfaceView.java | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 130 private EGLSurface mEglSurface; 556 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 671 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 726 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); 727 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) { 738 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|