/external/deqp/modules/egl/ |
D | teglNegativeApiTests.cpp | 275 expectNoContext(eglCreateContext(EGL_NO_DISPLAY, DE_NULL, EGL_NO_CONTEXT, s_emptyAttribList)); in init() 278 expectNoContext(eglCreateContext((EGLDisplay)-1, DE_NULL, EGL_NO_CONTEXT, s_emptyAttribList)); in init() 285 expectNoContext(eglCreateContext(display, (EGLConfig)-1, EGL_NO_CONTEXT, s_emptyAttribList)); in init() 298 … expectNoContext(eglCreateContext(display, es1OnlyConfig, EGL_NO_CONTEXT, s_es1ContextAttribList)); in init() 306 … expectNoContext(eglCreateContext(display, es2OnlyConfig, EGL_NO_CONTEXT, s_es2ContextAttribList)); in init() 314 expectNoContext(eglCreateContext(display, vgOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init() 325 expectNoContext(eglCreateContext(display, glOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init() 333 expectNoContext(eglCreateContext(display, vgOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init() 344 expectNoContext(eglCreateContext(display, glOnlyConfig, EGL_NO_CONTEXT, s_emptyAttribList)); in init() 352 … expectNoContext(eglCreateContext(display, es1OnlyConfig, EGL_NO_CONTEXT, s_es1ContextAttribList)); in init() [all …]
|
D | teglApiCase.cpp | 119 if (got != EGL_NO_CONTEXT) in expectNoContext() 130 if (got != EGL_NO_CONTEXT) in expectNoSurface() 141 if (got != EGL_NO_CONTEXT) in expectNoDisplay() 151 if (got != EGL_NO_CONTEXT) in expectNull()
|
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 | 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 | 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 | 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 | 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 | 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()
|
D | teglNativeColorMappingTests.cpp | 72 EGLContext context = EGL_NO_CONTEXT; in createGLES2Context() 81 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); in createGLES2Context() 354 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in testNativeWindow() 395 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in testNativePixmap() 436 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in testNativePixmapCopy()
|
D | teglNativeCoordMappingTests.cpp | 73 EGLContext context = EGL_NO_CONTEXT; in createGLES2Context() 82 context = egl.createContext(display, config, EGL_NO_CONTEXT, attribList); in createGLES2Context() 401 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in testNativeWindow() 446 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in testNativePixmap() 491 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in testNativePixmapCopy()
|
D | teglColorClearCase.cpp | 239 egl.makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in executeForContexts() 307 m_egl.makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in run() 408 egl.makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in executeForContexts()
|
/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()
|
D | egluGLUtil.cpp | 82 EGLContext context = EGL_NO_CONTEXT; in createGLContext() 152 context = egl.createContext(display, eglConfig, EGL_NO_CONTEXT, &(attribList[0])); in createGLContext()
|
/external/skia/src/views/win/ |
D | SkOSWindow_win.cpp | 52 fContext = EGL_NO_CONTEXT; in SkOSWindow() 67 if (EGL_NO_CONTEXT != fContext) { in ~SkOSWindow() 69 fContext = EGL_NO_CONTEXT; in ~SkOSWindow() 465 EGL_NO_CONTEXT, in create_ANGLE() 467 if (context == EGL_NO_CONTEXT ) { in create_ANGLE() 519 eglMakeCurrent(fDisplay, EGL_NO_SURFACE , EGL_NO_SURFACE , EGL_NO_CONTEXT); in detachANGLE() 522 fContext = EGL_NO_CONTEXT; in detachANGLE()
|
/external/skia/src/gpu/gl/egl/ |
D | SkCreatePlatformGLContext_egl.cpp | 31 : fContext(EGL_NO_CONTEXT) in EGLGLContext() 113 if (EGL_NO_CONTEXT == fContext) { in EGLGLContext() 163 fContext = EGL_NO_CONTEXT; in destroyGLContext()
|
/external/skia/src/gpu/gl/angle/ |
D | SkANGLEGLContext.cpp | 54 : fContext(EGL_NO_CONTEXT) in SkANGLEGLContext() 123 fContext = EGL_NO_CONTEXT; in destroyGLContext()
|
/external/webrtc/src/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/drm_hwcomposer/ |
D | glworker.cpp | 386 egl_display, EGL_NO_CONTEXT, EGL_NATIVE_HANDLE_ANDROID_NVX, in CreateTextureFromHandle() 411 : egl_display_(EGL_NO_DISPLAY), egl_ctx_(EGL_NO_CONTEXT) { in Compositor() 474 EGL_NO_CONTEXT /* No shared context */, context_attribs); in Init() 476 if (egl_ctx_ == EGL_NO_CONTEXT) { in Init() 506 if (egl_display_ != EGL_NO_DISPLAY && egl_ctx_ != EGL_NO_CONTEXT) in ~Compositor() 528 eglCreateImageKHR(egl_display_, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in Composite()
|
/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 …]
|
D | eglcontext.h | 148 (EGLContext) ctx : EGL_NO_CONTEXT; in _eglGetContextHandle()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GLSurfaceView.java | 712 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, in createContext() 950 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { in start() 973 EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); in createSurface() 1034 EGL10.EGL_NO_CONTEXT); in destroySurface() 1058 return currentContext != EGL10.EGL_NO_CONTEXT && mEgl.eglGetError() != EGL11.EGL_CONTEXT_LOST; in verifyContext()
|