/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...] |
/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)) { 137 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 139 mEglSurface = EGL10.EGL_NO_SURFACE; 151 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
|
/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/camera/ |
MosaicPreviewRenderer.java | 56 private EGLSurface mEglSurface; 109 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 121 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 145 mEglSurface = mEgl.eglCreateWindowSurface( 147 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 151 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 162 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 167 mEglSurface = null [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
BlockingGLTextureView.java | 107 EGLSurface mEglSurface; 180 mEglSurface = null; 213 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surface, null); 215 mEglSurface = null; 218 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 230 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 254 if (! mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { 265 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) [all...] |
/frameworks/av/media/libstagefright/tests/ |
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); [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...] |
/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...] |
/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...] |
/frameworks/native/libs/gui/tests/ |
SurfaceTexture_test.cpp | 48 mEglSurface(EGL_NO_SURFACE), 102 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 110 mEglSurface = eglCreatePbufferSurface(mEglDisplay, mGlConfig, 114 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 121 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 126 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 128 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 139 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 140 eglSwapBuffers(mEglDisplay, mEglSurface); [all...] |
SurfaceTextureClient_test.cpp | 33 mEglSurface(EGL_NO_SURFACE), 69 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs); 71 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 77 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 88 eglDestroySurface(mEglDisplay, mEglSurface); 111 EGLSurface mEglSurface; 194 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
|
/frameworks/base/services/java/com/android/server/power/ |
ElectronBeam.java | 90 private EGLSurface mEglSurface; 237 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface); 538 if (mEglSurface == null) { 543 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, 545 if (mEglSurface == null) { 554 if (mEglSurface != null) { 555 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) { 558 mEglSurface = null; 596 if (mEglSurface == null) { 599 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GLSurfaceView.java | [all...] |
/frameworks/base/core/java/android/view/ |
HardwareRenderer.java | 777 EGLSurface mEglSurface; [all...] |
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GLSurfaceViewCustom.java | [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLSurfaceView.java | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 124 private EGLSurface mEglSurface; 488 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 603 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 658 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); 659 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) { 670 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/av/libvideoeditor/lvpp/ |
NativeWindowRenderer.cpp | 208 mEglSurface = eglCreateWindowSurface(mEglDisplay, config, 217 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 223 eglDestroySurface(mEglDisplay, mEglSurface); 377 eglSwapBuffers(mEglDisplay, mEglSurface);
|
NativeWindowRenderer.h | 89 EGLSurface mEglSurface;
|