/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 | 77 , mPBufferSurface(EGL_NO_SURFACE) in EglManager() 79 , mCurrentSurface(EGL_NO_SURFACE) in EglManager() 180 if (mPBufferSurface == EGL_NO_SURFACE) { in createPBufferSurface() 189 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in createSurface() 197 makeCurrent(EGL_NO_SURFACE); in destroySurface() 210 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy() 216 mPBufferSurface = EGL_NO_SURFACE; in destroy() 217 mCurrentSurface = EGL_NO_SURFACE; in destroy() 223 if (surface == EGL_NO_SURFACE) { in makeCurrent() 242 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in beginFrame()
|
D | CanvasContext.cpp | 77 if (mEglSurface != EGL_NO_SURFACE) { in setSurface() 79 mEglSurface = EGL_NO_SURFACE; in setSurface() 86 if (mEglSurface != EGL_NO_SURFACE) { in setSurface() 104 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in requireSurface() 226 LOG_ALWAYS_FATAL_IF(!mCanvas || mEglSurface == EGL_NO_SURFACE, in draw() 286 if (CC_UNLIKELY(!mCanvas || mEglSurface == EGL_NO_SURFACE)) { in doFrame()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGLToGL.h | 31 mProducerEglSurface(EGL_NO_SURFACE), in SurfaceTextureGLToGLTest() 41 ASSERT_NE(EGL_NO_SURFACE, mProducerEglSurface); in SetUp() 53 if (mProducerEglSurface != EGL_NO_SURFACE) { in TearDown()
|
D | SurfaceTextureGLToGL_test.cpp | 186 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F() 236 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F() 268 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F() 282 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, in TEST_F() 283 EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_F() 305 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F() 322 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, in TEST_F() 323 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() 81 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp() 96 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown() 174 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 177 if (eglSurface != EGL_NO_SURFACE) { in TEST_F() 187 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F() 207 if (eglSurface != EGL_NO_SURFACE) { in TEST_F() 518 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F() 527 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F() 749 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 | 106 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F() 279 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
|
/frameworks/av/media/libstagefright/tests/ |
D | SurfaceMediaSource_test.cpp | 58 mEglSurface(EGL_NO_SURFACE), in GLTest() 121 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp() 146 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown() 157 if (mEglSurface != EGL_NO_SURFACE) { in TearDown() 489 if (mEglSurface != EGL_NO_SURFACE) { in setUpEGLSurfaceFromMediaRecorder() 491 mEglSurface = EGL_NO_SURFACE; in setUpEGLSurfaceFromMediaRecorder() 496 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in setUpEGLSurfaceFromMediaRecorder() 790 if (mEglSurface != EGL_NO_SURFACE) { in TEST_F() 792 mEglSurface = EGL_NO_SURFACE; in TEST_F() 798 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in TEST_F() [all …]
|
/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 | 456 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurface() 501 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglCreateWindowSurface() 513 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface() 523 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface() 534 if (surface != EGL_NO_SURFACE) { in eglCreateWindowSurface() 544 return EGL_NO_SURFACE; in eglCreateWindowSurface() 558 if (surface != EGL_NO_SURFACE) { in eglCreatePixmapSurface() 564 return EGL_NO_SURFACE; in eglCreatePixmapSurface() 577 if (surface != EGL_NO_SURFACE) { in eglCreatePbufferSurface() 583 return EGL_NO_SURFACE; in eglCreatePbufferSurface() [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/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/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/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/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 80 mSurface(EGL_NO_SURFACE), in DisplayDevice() 148 if (mSurface != EGL_NO_SURFACE) { in ~DisplayDevice() 150 mSurface = EGL_NO_SURFACE; in ~DisplayDevice() 412 if (mSurface != EGL_NO_SURFACE) { in setDisplaySize() 414 mSurface = EGL_NO_SURFACE; in setDisplaySize()
|
/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/opengl/tests/angeles/include/GLES/ |
D | egltypes.h | 20 #define EGL_NO_SURFACE ((EGLSurface)0) macro
|
/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/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()
|