/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 | 38 mEglContext(EGL_NO_CONTEXT), in SurfaceTextureClientTest() 82 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, nullptr); in SetUp() 84 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp() 95 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown() 532 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F() 541 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F() 709 mEglContext(EGL_NO_CONTEXT) { in MultiSurfaceTextureClientTest() 711 mEglSurfaces[i] = EGL_NO_CONTEXT; in MultiSurfaceTextureClientTest() 738 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, in SetUp() 741 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/base/services/core/java/com/android/server/wallpaper/ |
D | GLHelper.java | 28 import static android.opengl.EGL14.EGL_NO_CONTEXT; 115 eglDisplay, eglConfig, EGL_NO_CONTEXT, attr_list, 0 /* offset */); in retrieveTextureSizeFromGL() 117 if (eglContext == null || eglContext == EGL_NO_CONTEXT) { in retrieveTextureSizeFromGL() 133 eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in retrieveTextureSizeFromGL()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 28 mContext(EGL_NO_CONTEXT), in GLHelper() 76 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, in setUp() 78 if (mContext == EGL_NO_CONTEXT) { in setUp() 115 EGL_NO_CONTEXT); in tearDown() 118 if (mContext != EGL_NO_CONTEXT) { in tearDown() 127 mContext = EGL_NO_CONTEXT; in tearDown() 171 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/libs/nativedisplay/surfacetexture/ |
D | EGLConsumer.cpp | 86 EGLConsumer::EGLConsumer() : mEglDisplay(EGL_NO_DISPLAY), mEglContext(EGL_NO_CONTEXT) {} in EGLConsumer() 382 if (mEglContext == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked() 392 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked() 411 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) { in detachFromContext() 416 if (dpy != EGL_NO_DISPLAY && ctx != EGL_NO_CONTEXT) { in detachFromContext() 426 mEglContext = EGL_NO_CONTEXT; in detachFromContext() 450 if (ctx == EGL_NO_CONTEXT) { in attachToContext() 551 if (mEglContext != ctx || mEglContext == EGL_NO_CONTEXT) { in doGLFenceWaitLocked() 665 eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, cbuf, attrs); in createImage()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl.cpp | 73 if (context == EGL_NO_CONTEXT) return nullptr; in egl_get_string_for_current_context() 89 if (context == EGL_NO_CONTEXT) return nullptr; in egl_get_string_for_current_context() 109 if (context == EGL_NO_CONTEXT) return -1; in egl_get_num_extensions_for_current_context()
|
D | egl_tls.cpp | 172 return EGL_NO_CONTEXT; in getContext() 175 if (!tls) return EGL_NO_CONTEXT; in getContext()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | BufferGenerator.cpp | 99 : mEglDisplay(EGL_NO_DISPLAY), mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT) {} in EglManager() 154 mEglContext = eglCreateContext(mEglDisplay, configs[0], EGL_NO_CONTEXT, attrs); in initialize() 155 if (mEglContext == EGL_NO_CONTEXT) { in initialize() 199 if (mEglContext != EGL_NO_CONTEXT) eglDestroyContext(mEglDisplay, mEglContext); in cleanup() 201 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in cleanup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | EglHelper.java | 28 import static android.opengl.EGL14.EGL_NO_CONTEXT; 247 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyEglSurface() 280 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attrib_list, 0); in createEglContext() 303 mEglContext = EGL_NO_CONTEXT; in destroyEglContext() 312 return mEglContext != null && mEglContext != EGL_NO_CONTEXT; in hasEglContext()
|
/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/native/libs/gui/ |
D | GLConsumer.cpp | 121 mEglContext(EGL_NO_CONTEXT), in GLConsumer() 150 mEglContext(EGL_NO_CONTEXT), in GLConsumer() 515 if (mEglContext == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked() 525 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked() 571 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) { in detachFromContext() 576 if (dpy != EGL_NO_DISPLAY && ctx != EGL_NO_CONTEXT) { in detachFromContext() 586 mEglContext = EGL_NO_CONTEXT; in detachFromContext() 616 if (ctx == EGL_NO_CONTEXT) { in attachToContext() 854 if (mEglContext != ctx || mEglContext == EGL_NO_CONTEXT) { in doGLFenceWaitLocked() 1005 EGLImageKHR image = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, in createImage()
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
D | egltypes.h | 18 #define EGL_NO_CONTEXT ((EGLContext)0) macro
|
/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 | 84 …= _env->NewObject(eglcontextClass, eglcontextConstructor, reinterpret_cast<jlong>(EGL_NO_CONTEXT)); in nativeClassInit() 118 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle()
|
/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/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 92 , mEglContext(EGL_NO_CONTEXT) in EglManager() 319 EGL_NO_CONTEXT, contextAttributes.data()); in createContext() 320 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, "Failed to create context, error = %s", in createContext() 442 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy() 447 mEglContext = EGL_NO_CONTEXT; in destroy()
|
/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()
|