Home
last modified time | relevance | path

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

123

/external/deqp/modules/egl/
DteglNegativeApiTests.cpp295 expectNoContext(eglCreateContext(EGL_NO_DISPLAY, DE_NULL, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
298 expectNoContext(eglCreateContext((EGLDisplay)-1, DE_NULL, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
305 expectNoContext(eglCreateContext(display, (EGLConfig)-1, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
318 … expectNoContext(eglCreateContext(display, es1OnlyConfig, EGL_NO_CONTEXT, s_es1ContextAttribList)); in init()
326 … expectNoContext(eglCreateContext(display, es2OnlyConfig, EGL_NO_CONTEXT, s_es2ContextAttribList)); in init()
334 expectNoContext(eglCreateContext(display, vgOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
345 expectNoContext(eglCreateContext(display, glOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
353 expectNoContext(eglCreateContext(display, vgOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
364 expectNoContext(eglCreateContext(display, glOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init()
372 … expectNoContext(eglCreateContext(display, es1OnlyConfig, EGL_NO_CONTEXT, s_es1ContextAttribList)); in init()
[all …]
DteglMultiContextTests.cpp146 …_SHARED && contextCount > 0 ? contexts[rng.getUint32() % (deUint32)contextCount] : EGL_NO_CONTEXT); in iterate()
150 if (context == EGL_NO_CONTEXT || error != EGL_SUCCESS) in iterate()
164 if (context != EGL_NO_CONTEXT) in iterate()
199 contexts[contextNdx] = EGL_NO_CONTEXT; in iterate()
203 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
209 if (contexts[contextNdx] != EGL_NO_CONTEXT) in iterate()
214 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
DteglThreadCleanUpTests.cpp107 if (m_context == EGL_NO_CONTEXT) in run()
109 …t context (m_egl, m_display, m_egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList)); in run()
176 , m_context (EGL_NO_CONTEXT) in ThreadCleanUpTest()
207 m_context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in init()
235 if (m_context != EGL_NO_CONTEXT) in deinit()
238 m_context = EGL_NO_CONTEXT; in deinit()
DteglCreateContextTests.cpp97 EGLContext context = egl.createContext(display, config, EGL_NO_CONTEXT, s_apis[apiNdx].ctxAttrs); in executeForConfig()
100 if (context == EGL_NO_CONTEXT || err != EGL_SUCCESS) in executeForConfig()
146 …const EGLContext context = egl.createContext(*display, (EGLConfig)0, EGL_NO_CONTEXT, s_apis[apiNdx… in iterate()
149 if (context == EGL_NO_CONTEXT || err != EGL_SUCCESS) in iterate()
DteglRenderCase.cpp278 …ext context (egl, display, egl.createContext(display, config.config, EGL_NO_CONTEXT, &contextAttri… in executeForSurface()
287 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForSurface()
324 …e_pair(EGL_OPENGL_ES2_BIT, egl.createContext(display, config.config, EGL_NO_CONTEXT, &attribs[0]))… in executeForSurface()
331 …ir(EGL_OPENGL_ES3_BIT_KHR, egl.createContext(display, config.config, EGL_NO_CONTEXT, &attribs[0]))… in executeForSurface()
338 …ke_pair(EGL_OPENGL_ES_BIT, egl.createContext(display, config.config, EGL_NO_CONTEXT, &attribs[0]))… in executeForSurface()
345 …:make_pair(EGL_OPENVG_BIT, egl.createContext(display, config.config, EGL_NO_CONTEXT, &attribs[0]))… in executeForSurface()
354 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForSurface()
DteglMutableRenderBufferTests.cpp82 , m_eglContext (EGL_NO_CONTEXT) in MutableRenderBufferTest()
163 m_eglContext = egl.createContext(m_eglDisplay, m_eglConfig, EGL_NO_CONTEXT, contextAttribList); in init()
176 if (m_eglContext != EGL_NO_CONTEXT) in deinit()
178 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
180 m_eglContext = EGL_NO_CONTEXT; in deinit()
DteglNegativePartialUpdateTests.cpp120 EGLContext eglContext = EGL_NO_CONTEXT; in initAndMakeCurrentEGLContext()
123 eglContext = egl.createContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attribList); in initAndMakeCurrentEGLContext()
139 , m_eglContext (EGL_NO_CONTEXT) in NegativePartialUpdateTest()
181 if (m_eglContext != EGL_NO_CONTEXT) in deinit()
183 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in deinit()
185 m_eglContext = EGL_NO_CONTEXT; in deinit()
309 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
526 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
DteglGLES2SharingTests.cpp131 EGLContext context = EGL_NO_CONTEXT; in createContext()
142 TCU_CHECK(context != EGL_NO_CONTEXT); in createContext()
161 EGLContext contextA = EGL_NO_CONTEXT; in iterate()
162 EGLContext contextB = EGL_NO_CONTEXT; in iterate()
182 contextA = createContext(*display, EGL_NO_CONTEXT, config); in iterate()
251 makeCurrent(*display, EGL_NO_CONTEXT, EGL_NO_SURFACE); in iterate()
257 contextB = EGL_NO_CONTEXT; in iterate()
261 contextA = EGL_NO_CONTEXT; in iterate()
267 contextA = EGL_NO_CONTEXT; in iterate()
271 contextB = EGL_NO_CONTEXT; in iterate()
[all …]
DteglSurfacelessContextTests.cpp111 …eglu::UniqueContext context(egl, display, egl.createContext(display, config, EGL_NO_CONTEXT, apis[… in executeForConfig()
131 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForConfig()
DteglMultiThreadTests.cpp812 if (m_sharedContexts[contextNdx] != EGL_NO_CONTEXT) in deinit()
816 m_sharedContexts[contextNdx] = EGL_NO_CONTEXT; in deinit()
823 if (m_contexts0[contextNdx] != EGL_NO_CONTEXT) in deinit()
827 m_contexts0[contextNdx] = EGL_NO_CONTEXT; in deinit()
834 if (m_contexts1[contextNdx] != EGL_NO_CONTEXT) in deinit()
838 m_contexts1[contextNdx] = EGL_NO_CONTEXT; in deinit()
1196 context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attributes); in createDestroyObjects()
1367 EGLContext context = EGL_NO_CONTEXT; in querySetSharedObjects()
1409 else if (context != EGL_NO_CONTEXT) in querySetSharedObjects()
1492 if (contexts[contextNdx] != EGL_NO_CONTEXT) in destroyObjects()
[all …]
/external/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp32 #define EGL_NO_CONTEXT ((EGLContext)0) macro
142 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
201 if (EGL_NO_CONTEXT == fContext) { in CommandBufferGLTestContext()
240 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext()
242 fContext = EGL_NO_CONTEXT; in destroyGLContext()
248 gfMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
/external/swiftshader/src/OpenGL/libEGL/
DlibEGL.cpp677 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
679 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
688 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
690 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
699 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
701 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
705 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
716 return error(EGL_BAD_MATCH, EGL_NO_CONTEXT); in CreateContext()
724 return error(EGL_BAD_MATCH, EGL_NO_CONTEXT); in CreateContext()
728 return error(EGL_BAD_MATCH, EGL_NO_CONTEXT); in CreateContext()
[all …]
/external/skia/tools/viewer/sk_app/android/
DGLWindowContext_android.cpp47 , fEGLContext(EGL_NO_CONTEXT) in GLWindowContext_android()
96 SkASSERT(EGL_NO_CONTEXT != fEGLContext); in onInitializeContext()
140 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
143 fEGLContext = EGL_NO_CONTEXT; in onDestroyContext()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DEglBase14.java159 if (eglDisplay == EGL14.EGL_NO_DISPLAY || eglContext == EGL14.EGL_NO_CONTEXT in checkIsNotReleased()
173 eglContext = EGL14.EGL_NO_CONTEXT; in release()
193 eglDisplay, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_CONTEXT)) { in detachCurrent()
246 sharedContext == null ? EGL14.EGL_NO_CONTEXT : sharedContext.egl14Context; in createEglContext()
249 if (eglContext == EGL14.EGL_NO_CONTEXT) { in createEglContext()
DEglBase10.java215 if (eglDisplay == EGL10.EGL_NO_DISPLAY || eglContext == EGL10.EGL_NO_CONTEXT in checkIsNotReleased()
228 eglContext = EGL10.EGL_NO_CONTEXT; in release()
248 eglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT)) { in detachCurrent()
291 sharedContext == null ? EGL10.EGL_NO_CONTEXT : sharedContext.eglContext; in createEglContext()
294 if (eglContext == EGL10.EGL_NO_CONTEXT) { in createEglContext()
/external/deqp/framework/egl/
DegluUnique.cpp77 if (m_context != EGL_NO_CONTEXT) in ~UniqueContext()
83 return m_context != EGL_NO_CONTEXT; in operator bool()
95 m_egl.makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~ScopedCurrentContext()
DegluGLContextFactory.cpp171 , m_eglContext (EGL_NO_CONTEXT) in RenderContext()
436 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in destroy()
441 if (m_eglContext != EGL_NO_CONTEXT) in destroy()
448 m_eglContext = EGL_NO_CONTEXT; in destroy()
483 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in postIterate()
505 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in postIterate()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp112 : fContext(EGL_NO_CONTEXT) in ANGLEGLContext()
203 if (EGL_NO_CONTEXT == fContext) { in ANGLEGLContext()
323 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
325 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext()
327 fContext = EGL_NO_CONTEXT; in destroyGLContext()
/external/skia/tools/fiddle/
Degl_context.cpp59 EGLContext eglCtx = eglCreateContext(eglDpy, eglCfg, EGL_NO_CONTEXT, NULL); in create_grcontext()
60 if (EGL_NO_CONTEXT == eglCtx) { in create_grcontext()
/external/skia/src/views/win/
DSkOSWindow_win.cpp60 fContext = EGL_NO_CONTEXT; in SkOSWindow()
76 if (EGL_NO_CONTEXT != fContext) { in ~SkOSWindow()
78 fContext = EGL_NO_CONTEXT; in ~SkOSWindow()
529 EGL_NO_CONTEXT, in create_ANGLE()
531 if (context == EGL_NO_CONTEXT ) { in create_ANGLE()
581 eglMakeCurrent(fDisplay, EGL_NO_SURFACE , EGL_NO_SURFACE , EGL_NO_CONTEXT); in detachANGLE()
584 fContext = EGL_NO_CONTEXT; in detachANGLE()
/external/swiftshader/tests/unittests/
Dunittests.cpp120 EXPECT_NE(EGL_NO_CONTEXT, context); in TEST_F()
156 success = eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
174 EXPECT_EQ(EGL_NO_CONTEXT, currentContext); in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/test/android/apmtest/jni/
Dmain.c150 eglMakeCurrent(engine->display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in engine_term_display()
151 if (engine->context != EGL_NO_CONTEXT) { in engine_term_display()
161 engine->context = EGL_NO_CONTEXT; in engine_term_display()
/external/mesa3d/src/egl/main/
Deglapi.c740 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_CONTEXT); in eglCreateContext()
742 _EGL_CHECK_DISPLAY(disp, EGL_NO_CONTEXT, drv); in eglCreateContext()
745 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_CONTEXT, drv); in eglCreateContext()
747 RETURN_EGL_ERROR(disp, EGL_BAD_CONFIG, EGL_NO_CONTEXT); in eglCreateContext()
749 if (!share && share_list != EGL_NO_CONTEXT) in eglCreateContext()
750 RETURN_EGL_ERROR(disp, EGL_BAD_CONTEXT, EGL_NO_CONTEXT); in eglCreateContext()
753 ret = (context) ? _eglLinkContext(context) : EGL_NO_CONTEXT; in eglCreateContext()
797 ctx != EGL_NO_CONTEXT) in eglMakeCurrent()
803 if (!context && ctx != EGL_NO_CONTEXT) in eglMakeCurrent()
811 if (!disp->Extensions.KHR_surfaceless_context && ctx != EGL_NO_CONTEXT) in eglMakeCurrent()
[all …]
/external/drm_hwcomposer/
Dglworker.cpp421 egl_display, EGL_NO_CONTEXT, EGL_NATIVE_HANDLE_ANDROID_NVX, in CreateTextureFromHandle()
446 : egl_display_(EGL_NO_DISPLAY), egl_ctx_(EGL_NO_CONTEXT) { in GLWorkerCompositor()
509 EGL_NO_CONTEXT /* No shared context */, context_attribs); in Init()
511 if (egl_ctx_ == EGL_NO_CONTEXT) { in Init()
547 if (egl_display_ != EGL_NO_DISPLAY && egl_ctx_ != EGL_NO_CONTEXT) in ~GLWorkerCompositor()
749 eglCreateImageKHR(egl_display_, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in PrepareAndCacheFramebuffer()
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp65 : fContext(EGL_NO_CONTEXT) in EGLGLTestContext()
153 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext()
206 fContext = EGL_NO_CONTEXT; in destroyGLContext()

123