/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)) { 137 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 139 mEglSurface = EGL10.EGL_NO_SURFACE; 151 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface);
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Renderer.cpp | 83 mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT), mWorkload(workload) { 105 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, mWindow, NULL); 106 if (EGL_NO_SURFACE == mEglSurface || EGL_SUCCESS != eglGetError()) { 115 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext) 120 if (!eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &mWidth) 124 if (!eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &mHeight) 209 if (mEglSurface != EGL_NO_SURFACE) { 210 eglDestroySurface(mEglDisplay, mEglSurface); 211 mEglSurface = EGL_NO_SURFACE [all...] |
Renderer.h | 37 EGLSurface mEglSurface;
|
/cts/suite/cts/deviceTests/opengl/jni/primitive/contextswitch/ |
ContextSwitchRenderer.cpp | 113 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]) 144 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]); 153 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 201 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mContexts[i]); 222 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/Camera2/src/com/android/camera/ |
SurfaceTextureRenderer.java | 42 private EGLSurface mEglSurface; 54 if (mEglDisplay != null && mEglSurface != null) { 56 mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 99 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 104 mEglSurface = null; 152 mEglSurface = mEgl.eglCreateWindowSurface( 154 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { 159 mEglDisplay, mEglSurface, mEglSurface, mEglContext)) [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...] |
/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...] |
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 58 mEglSurface(EGL_NO_SURFACE), 108 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 117 mEglSurface = eglCreateWindowSurface(mEglDisplay, mGlConfig, 121 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 128 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, 133 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_WIDTH, &w)); 135 EXPECT_TRUE(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &h)); 146 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { 147 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 | 36 mEglSurface(EGL_NO_SURFACE), 73 mEglSurface = eglCreatePbufferSurface(mEglDisplay, myConfig, pbufferAttribs); 75 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 81 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 92 eglDestroySurface(mEglDisplay, mEglSurface); 115 EGLSurface mEglSurface; 198 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
|
/frameworks/base/services/java/com/android/server/power/ |
ElectronBeam.java | 91 private EGLSurface mEglSurface; 238 EGL14.eglSwapBuffers(mEglDisplay, mEglSurface); 539 if (mEglSurface == null) { 544 mEglSurface = EGL14.eglCreateWindowSurface(mEglDisplay, mEglConfig, mSurface, 546 if (mEglSurface == null) { 555 if (mEglSurface != null) { 556 if (!EGL14.eglDestroySurface(mEglDisplay, mEglSurface)) { 559 mEglSurface = null; 597 if (mEglSurface == null) { 600 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 | 841 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 | 130 private EGLSurface mEglSurface; 555 boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); 670 mEgl.eglDestroySurface(mEglDisplay, mEglSurface); 725 mEglSurface = mEgl.eglCreateWindowSurface(mEglDisplay, mEglConfig, surfaceHolder, null); 726 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) { 737 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;
|