/frameworks/av/cmds/screenrecord/ |
D | EglWindow.cpp | 38 if (mEglSurface != EGL_NO_SURFACE) { in createWindow() 55 if (mEglSurface == EGL_NO_SURFACE) { in createWindow() 65 if (mEglSurface != EGL_NO_SURFACE) { in createPbuffer() 83 if (mEglSurface == EGL_NO_SURFACE) { in createPbuffer() 162 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in eglRelease() 169 if (mEglSurface != EGL_NO_SURFACE) { in eglRelease() 176 mEglSurface = EGL_NO_SURFACE; in eglRelease()
|
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 93 , mPBufferSurface(EGL_NO_SURFACE) in EglManager() 94 , mCurrentSurface(EGL_NO_SURFACE) in EglManager() 219 if (mPBufferSurface == EGL_NO_SURFACE) { in createPBufferSurface() 228 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in createSurface() 243 makeCurrent(EGL_NO_SURFACE); in destroySurface() 256 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy() 262 mPBufferSurface = EGL_NO_SURFACE; in destroy() 263 mCurrentSurface = EGL_NO_SURFACE; in destroy() 269 if (surface == EGL_NO_SURFACE) { in makeCurrent() 302 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in beginFrame()
|
D | CanvasContext.cpp | 102 if (mEglSurface != EGL_NO_SURFACE) { in setSurface() 104 mEglSurface = EGL_NO_SURFACE; in setSurface() 113 if (mEglSurface != EGL_NO_SURFACE) { in setSurface() 150 mEglManager.makeCurrent(EGL_NO_SURFACE); in setStopped() 294 LOG_ALWAYS_FATAL_IF(!mCanvas || mEglSurface == EGL_NO_SURFACE, in draw() 554 if (CC_UNLIKELY(mEglSurface == EGL_NO_SURFACE)) return; in doFrame() 556 if (CC_UNLIKELY(!mCanvas || mEglSurface == EGL_NO_SURFACE)) return; in doFrame()
|
/frameworks/av/media/libstagefright/tests/ |
D | SurfaceMediaSource_test.cpp | 53 mEglSurface(EGL_NO_SURFACE), in GLTest() 116 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp() 141 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown() 152 if (mEglSurface != EGL_NO_SURFACE) { in TearDown() 484 if (mEglSurface != EGL_NO_SURFACE) { in setUpEGLSurfaceFromMediaRecorder() 486 mEglSurface = EGL_NO_SURFACE; in setUpEGLSurfaceFromMediaRecorder() 491 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in setUpEGLSurfaceFromMediaRecorder() 785 if (mEglSurface != EGL_NO_SURFACE) { in TEST_F() 787 mEglSurface = EGL_NO_SURFACE; in TEST_F() 793 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in TEST_F() [all …]
|
/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 | SRGB_test.cpp | 58 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE), in SRGBTest() 64 if (mEglSurface != EGL_NO_SURFACE) { in ~SRGBTest() 70 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in ~SRGBTest() 284 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in createEGLSurface() 446 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F() 456 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); 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() 769 ASSERT_NE(EGL_NO_SURFACE, mEglSurfaces[i]); in SetUp() [all …]
|
D | GLTest.cpp | 88 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp() 113 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown() 124 if (mEglSurface != EGL_NO_SURFACE) { in TearDown() 128 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/native/cmds/flatland/ |
D | GLHelper.cpp | 31 mDummySurface(EGL_NO_SURFACE), in GLHelper() 116 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown() 124 if (mDummySurface != EGL_NO_SURFACE) { in tearDown() 130 mDummySurface = EGL_NO_SURFACE; in tearDown() 172 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in destroySurface() 176 *surface = EGL_NO_SURFACE; in destroySurface() 215 if (s == EGL_NO_SURFACE) { in createNamedSurfaceTexture() 294 if (s == EGL_NO_SURFACE) { in createWindowSurface()
|
D | Main.cpp | 290 mSurface(EGL_NO_SURFACE) { in Layer() 333 if (mSurface != EGL_NO_SURFACE) { in tearDown() 385 mSurface(EGL_NO_SURFACE), in BenchmarkRunner() 386 mWindowSurface(EGL_NO_SURFACE) { in BenchmarkRunner() 452 if (mWindowSurface != EGL_NO_SURFACE) { in tearDown()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_AssetAtlasService.cpp | 57 if (surface != EGL_NO_SURFACE) eglDestroySurface(display, surface); \ 59 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); \ 118 EGLSurface surface = EGL_NO_SURFACE; in com_android_server_AssetAtlasService_upload() 131 if (surface == EGL_NO_SURFACE) { in com_android_server_AssetAtlasService_upload()
|
/frameworks/native/opengl/libs/EGL/ |
D | eglApi.cpp | 464 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurface() 509 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglCreateWindowSurface() 521 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface() 531 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface() 542 if (surface != EGL_NO_SURFACE) { in eglCreateWindowSurface() 552 return EGL_NO_SURFACE; in eglCreateWindowSurface() 566 if (surface != EGL_NO_SURFACE) { in eglCreatePixmapSurface() 572 return EGL_NO_SURFACE; in eglCreatePixmapSurface() 585 if (surface != EGL_NO_SURFACE) { in eglCreatePbufferSurface() 591 return EGL_NO_SURFACE; in eglCreatePbufferSurface() [all …]
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 686 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t() 691 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t() 773 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t() 778 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t() 1260 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createWindowSurface() 1262 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface() 1269 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface() 1273 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in createWindowSurface() 1283 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface() 1309 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createPixmapSurface() [all …]
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | EGLImpl.java | 64 return EGL10.EGL_NO_SURFACE; in eglCreatePbufferSurface() 73 return EGL10.EGL_NO_SURFACE; in eglCreatePixmapSurface() 103 return EGL10.EGL_NO_SURFACE; in eglCreateWindowSurface() 141 return EGL10.EGL_NO_SURFACE; in eglGetCurrentSurface()
|
/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 | 86 eglMakeCurrent(display(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in Deactivate() 96 if (context() == EGL_NO_CONTEXT || surface() == EGL_NO_SURFACE) in Activate() 123 (surface() != EGL_NO_SURFACE); in InitWithCurrentContext()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 148 window, 0)) == EGL_NO_SURFACE ) in init_gl_surface() 173 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface() 174 EGL_NO_SURFACE, EGL_NO_CONTEXT ); in free_gl_surface()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 92 mSurface(EGL_NO_SURFACE), in DisplayDevice() 174 if (mSurface != EGL_NO_SURFACE) { in ~DisplayDevice() 176 mSurface = EGL_NO_SURFACE; in ~DisplayDevice() 472 if (mSurface != EGL_NO_SURFACE) { 474 mSurface = EGL_NO_SURFACE;
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL14cHeader.cpp | 91 …= _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterpret_cast<jlong>(EGL_NO_SURFACE)); in nativeClassInit() 130 (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/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 244 window, 0)) == EGL_NO_SURFACE ) in init_gl_surface() 284 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface() 285 EGL_NO_SURFACE, EGL_NO_CONTEXT ); in free_gl_surface()
|
/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()
|