/frameworks/av/cmds/screenrecord/ |
D | EglWindow.cpp | 37 if (mEglSurface != EGL_NO_SURFACE) { in createWindow() 54 if (mEglSurface == EGL_NO_SURFACE) { in createWindow() 64 if (mEglSurface != EGL_NO_SURFACE) { in createPbuffer() 82 if (mEglSurface == EGL_NO_SURFACE) { in createPbuffer() 161 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in eglRelease() 168 if (mEglSurface != EGL_NO_SURFACE) { in eglRelease() 175 mEglSurface = EGL_NO_SURFACE; in eglRelease()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 66 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in getFrame() 147 if (mEglSurface != EGL_NO_SURFACE) { in onContextDestroyed() 149 mEglSurface = EGL_NO_SURFACE; in onContextDestroyed() 155 mEglManager.makeCurrent(EGL_NO_SURFACE); in onStop() 174 if (mEglSurface != EGL_NO_SURFACE) { in setSurface() 176 mEglSurface = EGL_NO_SURFACE; in setSurface() 190 if (mEglSurface != EGL_NO_SURFACE) { in setSurface() 201 return CC_UNLIKELY(mEglSurface != EGL_NO_SURFACE); in isSurfaceReady()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 30 mDummySurface(EGL_NO_SURFACE), in GLHelper() 115 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown() 123 if (mDummySurface != EGL_NO_SURFACE) { in tearDown() 129 mDummySurface = EGL_NO_SURFACE; in tearDown() 171 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in destroySurface() 175 *surface = EGL_NO_SURFACE; in destroySurface() 214 if (s == EGL_NO_SURFACE) { in createNamedSurfaceTexture() 279 if (s == EGL_NO_SURFACE) { in createWindowSurface()
|
D | Main.cpp | 288 mSurface(EGL_NO_SURFACE) { in Layer() 331 if (mSurface != EGL_NO_SURFACE) { in tearDown() 381 mSurface(EGL_NO_SURFACE), in BenchmarkRunner() 382 mWindowSurface(EGL_NO_SURFACE) { in BenchmarkRunner() 447 if (mWindowSurface != EGL_NO_SURFACE) { in tearDown()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGLToGL.h | 31 mProducerEglSurface(EGL_NO_SURFACE), in SurfaceTextureGLToGLTest() 43 ASSERT_NE(EGL_NO_SURFACE, mProducerEglSurface); in SetUpWindowAndContext() 55 if (mProducerEglSurface != EGL_NO_SURFACE) { in TearDown()
|
D | SurfaceTextureGLToGL_test.cpp | 193 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F() 244 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F() 277 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F() 291 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, in TEST_F() 292 EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_F() 315 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F() 332 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, in TEST_F() 333 EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_F()
|
D | SurfaceTextureClient_test.cpp | 39 mEglSurface(EGL_NO_SURFACE), in SurfaceTextureClientTest() 82 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp() 97 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown() 175 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 178 if (eglSurface != EGL_NO_SURFACE) { in TEST_F() 188 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 208 if (eglSurface != EGL_NO_SURFACE) { in TEST_F() 534 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F() 543 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F() 755 ASSERT_NE(EGL_NO_SURFACE, mEglSurfaces[i]); in SetUp() [all …]
|
D | GLTest.cpp | 90 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp() 115 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown() 126 if (mEglSurface != EGL_NO_SURFACE) { in TearDown() 130 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TearDown()
|
D | SurfaceTextureGLThreadToGL.h | 75 eglMakeCurrent(mProducerEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in threadLoop()
|
D | SurfaceTextureMultiContextGL_test.cpp | 112 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F() 294 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
|
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 91 , mPBufferSurface(EGL_NO_SURFACE) in EglManager() 92 , mCurrentSurface(EGL_NO_SURFACE) in EglManager() 289 if (mPBufferSurface == EGL_NO_SURFACE && !EglExtensions.surfacelessContext) { in createPBufferSurface() 347 if (surface == EGL_NO_SURFACE) { in createSurface() 363 makeCurrent(EGL_NO_SURFACE); in destroySurface() 374 if (mPBufferSurface != EGL_NO_SURFACE) { in destroy() 377 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy() 383 mPBufferSurface = EGL_NO_SURFACE; in destroy() 384 mCurrentSurface = EGL_NO_SURFACE; in destroy() 390 if (surface == EGL_NO_SURFACE) { in makeCurrent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | EglHelper.java | 30 import static android.opengl.EGL14.EGL_NO_SURFACE; 172 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) { in createEglSurface() 190 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyEglSurface() 201 return mEglSurface != null && mEglSurface != EGL_NO_SURFACE; in hasEglSurface()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 697 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t() 702 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t() 785 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t() 790 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t() 1290 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createWindowSurface() 1292 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface() 1299 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface() 1303 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in createWindowSurface() 1313 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface() 1339 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createPixmapSurface() [all …]
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_platform_entries.cpp | 713 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl() 719 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl() 730 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl() 746 return EGL_NO_SURFACE; in eglCreateWindowSurfaceTmpl() 755 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl() 766 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl() 775 if (surface != EGL_NO_SURFACE) { in eglCreateWindowSurfaceTmpl() 786 return EGL_NO_SURFACE; in eglCreateWindowSurfaceTmpl() 804 return EGL_NO_SURFACE; in eglCreateWindowSurfaceImpl() 821 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in eglCreatePlatformWindowSurfaceImpl() [all …]
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | EGLImpl.java | 73 return EGL10.EGL_NO_SURFACE; in eglCreatePbufferSurface() 82 return EGL10.EGL_NO_SURFACE; in eglCreatePixmapSurface() 112 return EGL10.EGL_NO_SURFACE; in eglCreateWindowSurface() 150 return EGL10.EGL_NO_SURFACE; in eglGetCurrentSurface()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | BufferGenerator.cpp | 95 : mEglDisplay(EGL_NO_DISPLAY), mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT) {} in EglManager() 172 if (mEglSurface == EGL_NO_SURFACE) { in initialize() 194 if (mEglSurface != EGL_NO_SURFACE) eglDestroySurface(mEglDisplay, mEglSurface); in cleanup() 197 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in cleanup()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 159 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ; in TEST_F() 284 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 332 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 424 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 596 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 646 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 724 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 829 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 862 ASSERT_EQ(EGL_NO_SURFACE, eglSurface); in TEST_F() 909 ASSERT_EQ(EGL_NO_SURFACE, eglSurface); in TEST_F() [all …]
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | GLHelper.java | 30 import static android.opengl.EGL14.EGL_NO_SURFACE; 133 eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in retrieveTextureSizeFromGL()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in createSurface() 268 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) { in destroySurfaceImp() 269 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, in destroySurfaceImp() 270 EGL10.EGL_NO_SURFACE, in destroySurfaceImp()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.cpp | 89 eglMakeCurrent(display(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in Deactivate() 99 if (context() == EGL_NO_CONTEXT || surface() == EGL_NO_SURFACE) in Activate() 126 (surface() != EGL_NO_SURFACE); in InitWithCurrentContext()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 144 window, 0)) == EGL_NO_SURFACE ) in init_gl_surface() 169 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface() 170 EGL_NO_SURFACE, EGL_NO_CONTEXT ); in free_gl_surface()
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL14cHeader.cpp | 88 …= _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterpret_cast<jlong>(EGL_NO_SURFACE)); in nativeClassInit() 128 (EGLSurface)handle == EGL_NO_SURFACE) { in toEGLHandle()
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
D | egltypes.h | 20 #define EGL_NO_SURFACE ((EGLSurface)0) macro
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestBuffer.cpp | 120 mEglSurface(EGL_NO_SURFACE), in Hwc2TestEglManager() 187 if (mEglSurface == EGL_NO_SURFACE) { in initialize() 217 if (mEglSurface != EGL_NO_SURFACE) in cleanup() 222 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in cleanup()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 226 EGL10.EGL_NO_SURFACE, in focusNone() 227 EGL10.EGL_NO_SURFACE, in focusNone() 255 mSurface = EGL10.EGL_NO_SURFACE; in release() 417 if (surface == EGL10.EGL_NO_SURFACE) { in checkSurface()
|