Home
last modified time | relevance | path

Searched refs:EGL_NO_CONTEXT (Results 1 – 25 of 53) 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()
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()
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 …]
DteglCreateContextTests.cpp95 EGLContext context = egl.createContext(display, config, EGL_NO_CONTEXT, apis[apiNdx].ctxAttrs); in executeForConfig()
98 if (context == EGL_NO_CONTEXT || err != EGL_SUCCESS) in executeForConfig()
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()
DteglSwapBuffersTests.cpp68 EGLContext context = EGL_NO_CONTEXT; in createGLES2Context()
78 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); in createGLES2Context()
424 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForConfig()
428 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForConfig()
DteglMakeCurrentPerfTests.cpp383 EGLContext context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in createContexts()
399 if (*iter != EGL_NO_CONTEXT) in destroyContexts()
401 *iter = EGL_NO_CONTEXT; in destroyContexts()
526 egl.makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in iterate()
531 egl.makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in iterate()
DteglPreservingSwapTests.cpp290 , m_eglContext (EGL_NO_CONTEXT) in PreservingSwapTest()
347 m_eglContext = egl.createContext(m_eglDisplay, config, EGL_NO_CONTEXT, attribList); in initEGLContext()
382 if (m_eglContext != EGL_NO_CONTEXT) in deinit()
384 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
386 m_eglContext = EGL_NO_CONTEXT; in deinit()
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 …]
DteglMemoryStressTests.cpp232 EGLU_CHECK_CALL(egl, makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in allocatePBuffer()
273 EGLContext context = egl.createContext(m_display, m_config, EGL_NO_CONTEXT, attribList); in allocateContext()
276 DE_ASSERT(context != EGL_NO_CONTEXT); in allocateContext()
296 EGLU_CHECK_CALL(egl, makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in allocateContext()
/external/skia/platform_tools/android/apps/visualbench/src/main/jni/
DSkOSWindow_AndroidNative.cpp14 fWindow.fContext = EGL_NO_CONTEXT; in SkOSWindow()
115 if (EGL_NO_CONTEXT == context) { in attach()
154 eglMakeCurrent(fWindow.fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in detach()
155 if (fWindow.fContext != EGL_NO_CONTEXT) { in detach()
164 fWindow.fContext = EGL_NO_CONTEXT; in detach()
169 if (fWindow.fDisplay != EGL_NO_DISPLAY && fWindow.fContext != EGL_NO_CONTEXT) { in present()
/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/src/gpu/gl/command_buffer/
DSkCommandBufferGLContext.cpp32 #define EGL_NO_CONTEXT ((EGLContext)0) macro
147 : fContext(EGL_NO_CONTEXT) in SkCommandBufferGLContext()
246 if (EGL_NO_CONTEXT == fContext) { in initializeGLContext()
286 if (EGL_NO_CONTEXT != fContext) { in destroyGLContext()
288 fContext = EGL_NO_CONTEXT; in destroyGLContext()
294 gfMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
/external/skia/src/views/win/
DSkOSWindow_win.cpp63 fContext = EGL_NO_CONTEXT; in SkOSWindow()
82 if (EGL_NO_CONTEXT != fContext) { in ~SkOSWindow()
84 fContext = EGL_NO_CONTEXT; in ~SkOSWindow()
476 EGL_NO_CONTEXT, in create_ANGLE()
478 if (context == EGL_NO_CONTEXT ) { in create_ANGLE()
530 eglMakeCurrent(fDisplay, EGL_NO_SURFACE , EGL_NO_SURFACE , EGL_NO_CONTEXT); in detachANGLE()
533 fContext = EGL_NO_CONTEXT; in detachANGLE()
/external/autotest/client/site_tests/graphics_GLAPICheck/src/
Dgles_APICheck.cc218 *egl_context = eglCreateContext(*egl_display, egl_config, EGL_NO_CONTEXT, in InitGraphics()
220 if (*egl_context == EGL_NO_CONTEXT) { in InitGraphics()
239 if (egl_context != EGL_NO_CONTEXT) in ExitGraphics()
293 EGLContext egl_context = EGL_NO_CONTEXT; in main()
/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/skia/src/gpu/gl/egl/
DSkCreatePlatformGLContext_egl.cpp61 : fContext(EGL_NO_CONTEXT) in EGLGLContext()
145 if (EGL_NO_CONTEXT == fContext) { in EGLGLContext()
198 fContext = EGL_NO_CONTEXT; in destroyGLContext()
/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/mesa3d/src/egl/main/
Deglapi.c426 _EGL_CHECK_DISPLAY(disp, EGL_NO_CONTEXT, drv); in eglCreateContext()
431 RETURN_EGL_ERROR(disp, EGL_BAD_CONFIG, EGL_NO_CONTEXT); in eglCreateContext()
434 if (!share && share_list != EGL_NO_CONTEXT) in eglCreateContext()
435 RETURN_EGL_ERROR(disp, EGL_BAD_CONTEXT, EGL_NO_CONTEXT); in eglCreateContext()
438 ret = (context) ? _eglLinkContext(context) : EGL_NO_CONTEXT; in eglCreateContext()
478 ctx != EGL_NO_CONTEXT) in eglMakeCurrent()
484 if (!context && ctx != EGL_NO_CONTEXT) in eglMakeCurrent()
668 if (_eglGetContextHandle(ctx) == EGL_NO_CONTEXT || in eglSwapInterval()
694 if (_eglGetContextHandle(ctx) == EGL_NO_CONTEXT || in eglSwapBuffers()
736 if (_eglGetContextHandle(ctx) == EGL_NO_CONTEXT || in eglWaitClient()
[all …]
/external/skia/src/gpu/gl/angle/
DSkANGLEGLContext.cpp68 : fContext(EGL_NO_CONTEXT) in SkANGLEGLContext()
201 fContext = EGL_NO_CONTEXT; in destroyGLContext()

123