Home
last modified time | relevance | path

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

1234

/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.cpp152 …_SHARED && contextCount > 0 ? contexts[rng.getUint32() % (deUint32)contextCount] : EGL_NO_CONTEXT); in iterate()
156 if (context == EGL_NO_CONTEXT || error != EGL_SUCCESS) in iterate()
170 if (context != EGL_NO_CONTEXT) in iterate()
205 contexts[contextNdx] = EGL_NO_CONTEXT; in iterate()
209 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
215 if (contexts[contextNdx] != EGL_NO_CONTEXT) in iterate()
220 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()
178 , m_context (EGL_NO_CONTEXT) in ThreadCleanUpTest()
209 m_context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in init()
237 if (m_context != EGL_NO_CONTEXT) in deinit()
240 m_context = EGL_NO_CONTEXT; in deinit()
DteglCreateContextTests.cpp98 EGLContext context = egl.createContext(display, config, EGL_NO_CONTEXT, s_apis[apiNdx].ctxAttrs); in executeForConfig()
101 if (context == EGL_NO_CONTEXT || err != EGL_SUCCESS) in executeForConfig()
147 …const EGLContext context = egl.createContext(*display, (EGLConfig)0, EGL_NO_CONTEXT, s_apis[apiNdx… in iterate()
150 if (context == EGL_NO_CONTEXT && err == EGL_BAD_MATCH && s_apis[apiNdx].noConfigOptional) in iterate()
154 else if (context == EGL_NO_CONTEXT || err != EGL_SUCCESS) in iterate()
DteglRenderCase.cpp283 …ext context (egl, display, egl.createContext(display, config.config, EGL_NO_CONTEXT, &contextAttri… in executeForSurface()
292 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForSurface()
329 …e_pair(EGL_OPENGL_ES2_BIT, egl.createContext(display, config.config, EGL_NO_CONTEXT, &attribs[0]))… in executeForSurface()
336 …ir(EGL_OPENGL_ES3_BIT_KHR, egl.createContext(display, config.config, EGL_NO_CONTEXT, &attribs[0]))… in executeForSurface()
343 …ke_pair(EGL_OPENGL_ES_BIT, egl.createContext(display, config.config, EGL_NO_CONTEXT, &attribs[0]))… in executeForSurface()
350 …:make_pair(EGL_OPENVG_BIT, egl.createContext(display, config.config, EGL_NO_CONTEXT, &attribs[0]))… in executeForSurface()
359 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 …]
/external/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp36 #define EGL_NO_CONTEXT ((EGLContext)0) macro
171 return EGL_NO_CONTEXT; in CurrentContext()
193 EGLContext fContext = EGL_NO_CONTEXT;
220 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
279 if (EGL_NO_CONTEXT == fContext) { in CommandBufferGLTestContext()
320 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext()
323 fContext = EGL_NO_CONTEXT; in destroyGLContext()
330 TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
/external/skqp/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp36 #define EGL_NO_CONTEXT ((EGLContext)0) macro
171 return EGL_NO_CONTEXT; in CurrentContext()
193 EGLContext fContext = EGL_NO_CONTEXT;
220 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
279 if (EGL_NO_CONTEXT == fContext) { in CommandBufferGLTestContext()
320 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext()
323 fContext = EGL_NO_CONTEXT; in destroyGLContext()
330 TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
/external/skqp/tools/sk_app/android/
DGLWindowContext_android.cpp47 , fEGLContext(EGL_NO_CONTEXT) in GLWindowContext_android()
98 SkASSERT(EGL_NO_CONTEXT != fEGLContext); in onInitializeContext()
127 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
130 fEGLContext = EGL_NO_CONTEXT; in onDestroyContext()
/external/skia/tools/sk_app/android/
DGLWindowContext_android.cpp47 , fEGLContext(EGL_NO_CONTEXT) in GLWindowContext_android()
98 SkASSERT(EGL_NO_CONTEXT != fEGLContext); in onInitializeContext()
127 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
130 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/skqp/tools/sk_app/win/
DANGLEWindowContext_win.cpp53 EGLContext fEGLContext = EGL_NO_CONTEXT;
108 if (EGL_NO_CONTEXT == fEGLContext) { in onInitializeContext()
147 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
148 if (EGL_NO_CONTEXT != fEGLContext) { in onDestroyContext()
/external/skia/tools/sk_app/win/
DANGLEWindowContext_win.cpp53 EGLContext fEGLContext = EGL_NO_CONTEXT;
108 if (EGL_NO_CONTEXT == fEGLContext) { in onInitializeContext()
147 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
148 if (EGL_NO_CONTEXT != fEGLContext) { in onDestroyContext()
/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.cpp181 , m_eglContext (EGL_NO_CONTEXT) in RenderContext()
182 , m_eglSharedContext (EGL_NO_CONTEXT) in RenderContext()
477 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in destroy()
482 if (m_eglContext != EGL_NO_CONTEXT) in destroy()
485 if (m_eglSharedContext == EGL_NO_CONTEXT) in destroy()
490 m_eglContext = EGL_NO_CONTEXT; in destroy()
523 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in postIterate()
545 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in postIterate()
/external/swiftshader/src/OpenGL/libEGL/
DlibEGL.cpp806 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
808 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
817 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
819 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
828 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
830 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
834 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
845 return error(EGL_BAD_MATCH, EGL_NO_CONTEXT); in CreateContext()
853 return error(EGL_BAD_MATCH, EGL_NO_CONTEXT); in CreateContext()
857 return error(EGL_BAD_MATCH, EGL_NO_CONTEXT); in CreateContext()
[all …]
/external/virglrenderer/tests/fuzzer/
Dvirgl_fuzzer.c138 EGL_NO_CONTEXT, context_attribs); in initialize_environment()
139 assert(cookie.ctx != EGL_NO_CONTEXT); in initialize_environment()
153 if (cookie.ctx != EGL_NO_CONTEXT) { in cleanup_environment()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp125 : fContext(EGL_NO_CONTEXT) in ANGLEGLContext()
216 if (EGL_NO_CONTEXT == fContext) { in ANGLEGLContext()
339 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
342 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext()
344 fContext = EGL_NO_CONTEXT; in destroyGLContext()
/external/skqp/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp96 : fContext(EGL_NO_CONTEXT) in EGLGLTestContext()
164 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext()
173 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext()
226 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
229 fContext = EGL_NO_CONTEXT; in destroyGLContext()
/external/skqp/tools/gpu/gl/angle/
DGLTestContext_angle.cpp125 : fContext(EGL_NO_CONTEXT) in ANGLEGLContext()
216 if (EGL_NO_CONTEXT == fContext) { in ANGLEGLContext()
339 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
342 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext()
344 fContext = EGL_NO_CONTEXT; in destroyGLContext()
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp96 : fContext(EGL_NO_CONTEXT) in EGLGLTestContext()
164 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext()
173 if (EGL_NO_CONTEXT == fContext) { in EGLGLTestContext()
226 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
229 fContext = EGL_NO_CONTEXT; in destroyGLContext()
/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()

1234