Home
last modified time | relevance | path

Searched refs:EGL_NO_DISPLAY (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
DEglWindowSurface.java42 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY;
68 if (Objects.equals(mEGLDisplay, EGL14.EGL_NO_DISPLAY)) { in eglSetup()
135 if (!Objects.equals(mEGLDisplay, EGL14.EGL_NO_DISPLAY)) { in releaseEGLSurface()
146 if (!Objects.equals(mEGLDisplay, EGL14.EGL_NO_DISPLAY)) { in release()
155 mEGLDisplay = EGL14.EGL_NO_DISPLAY; in release()
/frameworks/av/cmds/screenrecord/
DEglWindow.cpp103 if (mEglDisplay == EGL_NO_DISPLAY) { in eglSetupContext()
160 if (mEglDisplay != EGL_NO_DISPLAY) { in eglRelease()
173 mEglDisplay = EGL_NO_DISPLAY; in eglRelease()
DEglWindow.h35 mEglDisplay(EGL_NO_DISPLAY), in EglWindow()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp128 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface()
167 if (eglDisplay != EGL_NO_DISPLAY) in free_gl_surface()
169 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface()
174 eglDisplay = EGL_NO_DISPLAY; in free_gl_surface()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp90 , mEglDisplay(EGL_NO_DISPLAY) in EglManager()
103 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, "Failed to get EGL_DEFAULT_DISPLAY! err=%s", in initialize()
176 return mEglDisplay != EGL_NO_DISPLAY; in hasEglContext()
269 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, in createPBufferSurface()
351 if (mEglDisplay == EGL_NO_DISPLAY) return; in destroy()
361 mEglDisplay = EGL_NO_DISPLAY; in destroy()
DOpenGLPipeline.cpp305 EGLDisplay mDisplay = EGL_NO_DISPLAY;
325 EGLDisplay mDisplay = EGL_NO_DISPLAY;
345 LOG_ALWAYS_FATAL_IF(display == EGL_NO_DISPLAY, "Failed to get EGL_DEFAULT_DISPLAY! err=%s", in uploadBitmapToGraphicBuffer()
/frameworks/native/libs/gui/
DGLConsumer.cpp145 mEglDisplay(EGL_NO_DISPLAY), in GLConsumer()
174 mEglDisplay(EGL_NO_DISPLAY), in GLConsumer()
482 if (mEglDisplay == EGL_NO_DISPLAY) { in bindTextureImageLocked()
540 if (mEglDisplay == EGL_NO_DISPLAY) { in checkAndUpdateEglStateLocked()
548 if (mEglDisplay != dpy || dpy == EGL_NO_DISPLAY) { in checkAndUpdateEglStateLocked()
594 if (mEglDisplay != dpy && mEglDisplay != EGL_NO_DISPLAY) { in detachFromContext()
604 if (dpy != EGL_NO_DISPLAY && ctx != EGL_NO_CONTEXT) { in detachFromContext()
613 mEglDisplay = EGL_NO_DISPLAY; in detachFromContext()
639 if (dpy == EGL_NO_DISPLAY) { in attachToContext()
976 if (mEglDisplay != dpy || mEglDisplay == EGL_NO_DISPLAY) { in doGLFenceWaitLocked()
[all …]
DBufferItemConsumer.cpp99 err = releaseBufferLocked(item.mSlot, item.mGraphicBuffer, EGL_NO_DISPLAY, in releaseBuffer()
/frameworks/native/opengl/tools/glgen/stubs/egl/
DEGL14cHeader.cpp88 …= _env->NewObject(egldisplayClass, egldisplayConstructor, reinterpret_cast<jlong>(EGL_NO_DISPLAY)); in nativeClassInit()
124 (EGLDisplay)handle == EGL_NO_DISPLAY) { in toEGLHandle()
DEGLExtcHeader.cpp120 (EGLDisplay)handle == EGL_NO_DISPLAY) { in toEGLHandle()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp419 ASSERT_EQ(OK, mConsumer->releaseBuffer(newSlot, 0, EGL_NO_DISPLAY, in TEST_F()
600 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
643 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
672 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
720 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
851 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
904 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
919 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
928 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
932 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
[all …]
DGLTest.h39 mEglDisplay(EGL_NO_DISPLAY), in GLTest()
DStreamSplitter_test.cpp114 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE)); in TEST_F()
187 item.mFrameNumber, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, in TEST_F()
DSurfaceTextureClient_test.cpp39 mEglDisplay(EGL_NO_DISPLAY), in SurfaceTextureClientTest()
64 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay); in SetUp()
151 ASSERT_NE(EGL_NO_DISPLAY, dpy); in TEST_F()
725 mEglDisplay(EGL_NO_DISPLAY), in MultiSurfaceTextureClientTest()
739 ASSERT_NE(EGL_NO_DISPLAY, mEglDisplay); in SetUp()
788 if (mEglDisplay != EGL_NO_DISPLAY) { in TearDown()
/frameworks/native/opengl/tests/angeles/include/GLES/
Degltypes.h19 #define EGL_NO_DISPLAY ((EGLDisplay)0) macro
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp222 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface()
280 if (eglDisplay != EGL_NO_DISPLAY) in free_gl_surface()
282 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface()
287 eglDisplay = EGL_NO_DISPLAY; in free_gl_surface()
/frameworks/native/cmds/flatland/
DGLHelper.cpp28 mDisplay(EGL_NO_DISPLAY), in GLHelper()
43 if (mDisplay == EGL_NO_DISPLAY) { in setUp()
114 if (mDisplay != EGL_NO_DISPLAY) { in tearDown()
127 mDisplay = EGL_NO_DISPLAY; in tearDown()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.cpp38 : display_(EGL_NO_DISPLAY), in GLEnv()
85 display_ != EGL_NO_DISPLAY); in IsInitialized()
125 (display() != EGL_NO_DISPLAY) && in InitWithCurrentContext()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java111 return EGL10.EGL_NO_DISPLAY; in eglGetDisplay()
131 return EGL10.EGL_NO_DISPLAY; in eglGetCurrentDisplay()
/frameworks/native/libs/gui/include/gui/
DBufferSlot.h178 mEglDisplay(EGL_NO_DISPLAY), in BufferSlot()
DIGraphicBufferConsumer.h137 return releaseBuffer(buf, frameNumber, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, releaseFence); in releaseHelper()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp264 EGLDisplay mDisplay = EGL_NO_DISPLAY;
284 EGLDisplay mDisplay = EGL_NO_DISPLAY;
400 LOG_ALWAYS_FATAL_IF(display == EGL_NO_DISPLAY, "Failed to get EGL_DEFAULT_DISPLAY! err=%s", in allocateHardwareBitmap()
/frameworks/native/opengl/tests/gl_perf/
Dgl2_perf.cpp70 if (dpy == EGL_NO_DISPLAY) { in main()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java66 private EGLDisplay mEGLDisplay = EGL14.EGL_NO_DISPLAY;
422 if (mEGLDisplay == EGL14.EGL_NO_DISPLAY) { in configureEGLContext()
495 if (mEGLDisplay != EGL14.EGL_NO_DISPLAY) { in releaseEGLContext()
519 mEGLDisplay = EGL14.EGL_NO_DISPLAY; in releaseEGLContext()
/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.cpp150 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, Fence::NO_FENCE); in releaseBuffer()

123