/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureMultiContextGL.h | 30 mSecondEglContext(EGL_NO_CONTEXT), in SurfaceTextureMultiContextGLTest() 31 mThirdEglContext(EGL_NO_CONTEXT) { in SurfaceTextureMultiContextGLTest() 39 EGL_NO_CONTEXT, getContextAttribs()); in SetUp() 41 ASSERT_NE(EGL_NO_CONTEXT, mSecondEglContext); in SetUp() 51 EGL_NO_CONTEXT, getContextAttribs()); in SetUp() 53 ASSERT_NE(EGL_NO_CONTEXT, mThirdEglContext); in SetUp() 67 if (mThirdEglContext != EGL_NO_CONTEXT) { in TearDown() 70 if (mSecondEglContext != EGL_NO_CONTEXT) { in TearDown()
|
D | SurfaceTextureGLToGL.h | 32 mProducerEglContext(EGL_NO_CONTEXT) { in SurfaceTextureGLToGLTest() 46 EGL_NO_CONTEXT, getContextAttribs()); in SetUpWindowAndContext() 48 ASSERT_NE(EGL_NO_CONTEXT, mProducerEglContext); in SetUpWindowAndContext() 52 if (mProducerEglContext != EGL_NO_CONTEXT) { in TearDown()
|
D | SurfaceTextureClient_test.cpp | 41 mEglContext(EGL_NO_CONTEXT), in SurfaceTextureClientTest() 85 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); in SetUp() 87 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp() 98 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown() 535 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F() 544 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F() 726 mEglContext(EGL_NO_CONTEXT) { in MultiSurfaceTextureClientTest() 728 mEglSurfaces[i] = EGL_NO_CONTEXT; in MultiSurfaceTextureClientTest() 755 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, in SetUp() 758 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp() [all …]
|
D | GLTest.cpp | 92 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, in SetUp() 95 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp() 123 if (mEglContext != EGL_NO_CONTEXT) { in TearDown() 131 EGL_NO_CONTEXT); in TearDown()
|
D | SurfaceTextureMultiContextGL_test.cpp | 113 EGL_NO_CONTEXT)); in TEST_F() 295 EGL_NO_CONTEXT)); in TEST_F() 446 EGL_NO_CONTEXT, getContextAttribs()); in TEST_F() 448 ASSERT_NE(EGL_NO_CONTEXT, mSecondEglContext); in TEST_F()
|
/frameworks/av/cmds/screenrecord/ |
D | EglWindow.cpp | 148 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, in eglSetupContext() 150 if (mEglContext == EGL_NO_CONTEXT) { in eglSetupContext() 162 EGL_NO_CONTEXT); in eglRelease() 164 if (mEglContext != EGL_NO_CONTEXT) { in eglRelease() 174 mEglContext = EGL_NO_CONTEXT; in eglRelease()
|
D | EglWindow.h | 36 mEglContext(EGL_NO_CONTEXT), in EglWindow()
|
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/ |
D | EglWindowSurface.java | 43 private EGLContext mEGLContext = EGL14.EGL_NO_CONTEXT; 98 mEGLContext = EGL14.eglCreateContext(mEGLDisplay, mConfigs[0], EGL14.EGL_NO_CONTEXT, in eglSetup() 156 mEGLContext = EGL14.EGL_NO_CONTEXT; in release() 176 EGL14.EGL_NO_CONTEXT)) { in makeUnCurrent()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 29 mContext(EGL_NO_CONTEXT), in GLHelper() 77 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, in setUp() 79 if (mContext == EGL_NO_CONTEXT) { in setUp() 116 EGL_NO_CONTEXT); in tearDown() 119 if (mContext != EGL_NO_CONTEXT) { in tearDown() 128 mContext = EGL_NO_CONTEXT; in tearDown() 172 EGL_NO_CONTEXT); in destroySurface()
|
/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() 124 return (context() != EGL_NO_CONTEXT) && in InitWithCurrentContext() 182 EGL_NO_CONTEXT, in InitWithNewContext() 203 return eglGetCurrentContext() != EGL_NO_CONTEXT; in IsAnyContextActive()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl.cpp | 119 if (context == EGL_NO_CONTEXT) in egl_get_string_for_current_context() 137 if (context == EGL_NO_CONTEXT) in egl_get_string_for_current_context() 160 if (context == EGL_NO_CONTEXT) in egl_get_num_extensions_for_current_context()
|
D | egl_tls.cpp | 138 return EGL_NO_CONTEXT; in getContext() 141 if (!tls) return EGL_NO_CONTEXT; in getContext()
|
/frameworks/native/opengl/tests/gl_perf/ |
D | gl2_perf.cpp | 99 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main() 101 if (context == EGL_NO_CONTEXT) { in main()
|
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 93 , mEglContext(EGL_NO_CONTEXT) in EglManager() 263 EGL_NO_CONTEXT, contextAttributes.data()); in createContext() 264 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, "Failed to create context, error = %s", in createContext() 357 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy() 362 mEglContext = EGL_NO_CONTEXT; in destroy()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 146 mEglContext(EGL_NO_CONTEXT), in GLConsumer() 175 mEglContext(EGL_NO_CONTEXT), in GLConsumer() 543 if (mEglContext == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked() 553 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked() 599 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) { in detachFromContext() 604 if (dpy != EGL_NO_DISPLAY && ctx != EGL_NO_CONTEXT) { in detachFromContext() 614 mEglContext = EGL_NO_CONTEXT; in detachFromContext() 644 if (ctx == EGL_NO_CONTEXT) { in attachToContext() 981 if (mEglContext != ctx || mEglContext == EGL_NO_CONTEXT) { in doGLFenceWaitLocked() 1154 EGLImageKHR image = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, in createImage()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 228 EGL10.EGL_NO_CONTEXT); in focusNone() 243 return current != null ? current.getContext() : EGL10.EGL_NO_CONTEXT; in currentContext() 249 mContext = EGL10.EGL_NO_CONTEXT; in release() 385 EGLContext ctxt = egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext() 410 if (context == EGL10.EGL_NO_CONTEXT) { in checkContext()
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGL14cHeader.cpp | 86 …= _env->NewObject(eglcontextClass, eglcontextConstructor, reinterpret_cast<jlong>(EGL_NO_CONTEXT)); in nativeClassInit() 119 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle()
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
D | egltypes.h | 18 #define EGL_NO_CONTEXT ((EGLContext)0) macro
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | RenderEngine.cpp | 94 LOG_ALWAYS_FATAL_IF(ctxt == EGL_NO_CONTEXT, "EGLContext creation failed"); in create() 137 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in create() 156 mEGLContext(EGL_NO_CONTEXT), in RenderEngine() 160 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~RenderEngine() 215 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in resetCurrentSurface() 408 bindHelper->mImage = eglCreateImageKHR(mEGLDisplay, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in bindNativeBufferAsFrameBuffer()
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
D | gl_yuvtex.cpp | 131 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setupYuvTexSurface() 277 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main() 279 if (context == EGL_NO_CONTEXT) { in main()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); in createContext() 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { in start() 271 EGL10.EGL_NO_CONTEXT); in destroySurfaceImp()
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_image_native_buffer.txt | 77 <ctx> must be EGL_NO_CONTEXT, <buffer> must be a pointer to a valid 88 EGL_NO_CONTEXT, the error EGL_BAD_CONTEXT is generated.
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestBuffer.cpp | 121 mEglContext(EGL_NO_CONTEXT) { } in Hwc2TestEglManager() 176 mEglContext = eglCreateContext(mEglDisplay, configs[0], EGL_NO_CONTEXT, in initialize() 178 if (mEglContext == EGL_NO_CONTEXT) { in initialize() 219 if (mEglContext != EGL_NO_CONTEXT) in cleanup() 223 EGL_NO_CONTEXT); in cleanup()
|
/frameworks/base/libs/hwui/ |
D | Image.cpp | 31 mImage = eglCreateImageKHR(display, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, clientBuffer, in Image()
|
/frameworks/native/opengl/tests/gl2_yuvtex/ |
D | gl2_yuvtex.cpp | 236 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setupYuvTexSurface() 387 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main() 389 if (context == EGL_NO_CONTEXT) { in main()
|