Home
last modified time | relevance | path

Searched refs:EGL_NO_CONTEXT (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/native/libs/gui/tests/
DSurfaceTextureMultiContextGL.h30 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()
DSurfaceTextureGLToGL.h32 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()
DSurfaceTextureClient_test.cpp41 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 …]
DGLTest.cpp92 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()
DSurfaceTextureMultiContextGL_test.cpp113 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/
DEglWindow.cpp148 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()
DEglWindow.h36 mEglContext(EGL_NO_CONTEXT), in EglWindow()
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
DEglWindowSurface.java43 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/
DGLHelper.cpp29 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/
Dgl_env.cpp89 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/
Degl.cpp119 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()
Degl_tls.cpp138 return EGL_NO_CONTEXT; in getContext()
141 if (!tls) return EGL_NO_CONTEXT; in getContext()
/frameworks/native/opengl/tests/gl_perf/
Dgl2_perf.cpp99 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
101 if (context == EGL_NO_CONTEXT) { in main()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp93 , 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/
DGLConsumer.cpp146 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/
DRenderTarget.java228 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/
DEGL14cHeader.cpp86 …= _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/
Degltypes.h18 #define EGL_NO_CONTEXT ((EGLContext)0) macro
/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.cpp94 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/
Dgl_yuvtex.cpp131 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/
DBlockingGLTextureView.java142 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/
DEGL_ANDROID_image_native_buffer.txt77 <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/
DHwc2TestBuffer.cpp121 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/
DImage.cpp31 mImage = eglCreateImageKHR(display, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, clientBuffer, in Image()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp236 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()

123