/external/deqp/modules/egl/ |
D | teglNegativeApiTests.cpp | 295 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 …]
|
D | teglMultiContextTests.cpp | 146 …_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()
|
D | teglRenderCase.cpp | 278 …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()
|
D | teglNegativePartialUpdateTests.cpp | 120 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()
|
D | teglGLES2SharingTests.cpp | 131 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 …]
|
D | teglCreateContextTests.cpp | 95 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()
|
D | teglSurfacelessContextTests.cpp | 111 …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()
|
D | teglSwapBuffersTests.cpp | 68 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()
|
D | teglMakeCurrentPerfTests.cpp | 383 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()
|
D | teglPreservingSwapTests.cpp | 290 , 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()
|
D | teglMultiThreadTests.cpp | 812 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 …]
|
D | teglMemoryStressTests.cpp | 232 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/ |
D | SkOSWindow_AndroidNative.cpp | 14 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/ |
D | EglBase14.java | 159 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()
|
D | EglBase10.java | 215 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/ |
D | egluUnique.cpp | 77 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()
|
D | egluGLContextFactory.cpp | 171 , 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/ |
D | SkCommandBufferGLContext.cpp | 32 #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/ |
D | SkOSWindow_win.cpp | 63 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/ |
D | gles_APICheck.cc | 218 *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/ |
D | main.c | 150 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/ |
D | SkCreatePlatformGLContext_egl.cpp | 61 : fContext(EGL_NO_CONTEXT) in EGLGLContext() 145 if (EGL_NO_CONTEXT == fContext) { in EGLGLContext() 198 fContext = EGL_NO_CONTEXT; in destroyGLContext()
|
/external/drm_hwcomposer/ |
D | glworker.cpp | 421 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/ |
D | eglapi.c | 426 _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/ |
D | SkANGLEGLContext.cpp | 68 : fContext(EGL_NO_CONTEXT) in SkANGLEGLContext() 201 fContext = EGL_NO_CONTEXT; in destroyGLContext()
|