/external/deqp/modules/egl/ |
D | teglMultiThreadTests.cpp | 779 if (m_pbuffers0[pbufferNdx] != EGL_NO_SURFACE) in deinit() 783 m_pbuffers0[pbufferNdx] = EGL_NO_SURFACE; in deinit() 790 if (m_pbuffers1[pbufferNdx] != EGL_NO_SURFACE) in deinit() 794 m_pbuffers1[pbufferNdx] = EGL_NO_SURFACE; in deinit() 801 if (m_sharedPbuffers[pbufferNdx] != EGL_NO_SURFACE) in deinit() 805 m_sharedPbuffers[pbufferNdx] = EGL_NO_SURFACE; in deinit() 846 if (m_nativePixmaps0[pixmapNdx].second != EGL_NO_SURFACE) in deinit() 849 m_nativePixmaps0[pixmapNdx].second = EGL_NO_SURFACE; in deinit() 857 if (m_nativePixmaps1[pixmapNdx].second != EGL_NO_SURFACE) in deinit() 860 m_nativePixmaps1[pixmapNdx].second = EGL_NO_SURFACE; in deinit() [all …]
|
D | teglNegativeApiTests.cpp | 165 expectFalse(eglBindTexImage(EGL_NO_DISPLAY, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 168 expectFalse(eglBindTexImage((EGLDisplay)-1, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 175 expectFalse(eglBindTexImage(display, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 191 expectFalse(eglCopyBuffers(EGL_NO_DISPLAY, EGL_NO_SURFACE, (EGLNativePixmapType)0)); in init() 194 expectFalse(eglCopyBuffers((EGLDisplay)-1, EGL_NO_SURFACE, (EGLNativePixmapType)0)); in init() 201 expectFalse(eglCopyBuffers(display, EGL_NO_SURFACE, (EGLNativePixmapType)0)); in init() 843 EGLSurface surface = EGL_NO_SURFACE; in init() 864 if (surface != EGL_NO_SURFACE && context != EGL_NO_CONTEXT) in init() 890 if (surface != EGL_NO_SURFACE) in init() 894 expectFalse(eglMakeCurrent(display, surface, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in init() [all …]
|
D | teglSurfacelessContextTests.cpp | 114 if (!egl.makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, *context)) in executeForConfig() 131 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForConfig()
|
D | teglMakeCurrentPerfTests.cpp | 281 EGLSurface surface = EGL_NO_SURFACE; in createWindow() 290 if (surface != EGL_NO_SURFACE) in createWindow() 310 EGLSurface surface = EGL_NO_SURFACE; in createPixmap() 319 if (surface != EGL_NO_SURFACE) in createPixmap() 341 if (*iter != EGL_NO_SURFACE) in destroySurfaces() 343 *iter = EGL_NO_SURFACE; in destroySurfaces() 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 | 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()
|
D | teglPreservingSwapTests.cpp | 289 , m_eglSurface (EGL_NO_SURFACE) in PreservingSwapTest() 350 DE_ASSERT(m_eglSurface != EGL_NO_SURFACE); in initEGLContext() 384 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit() 389 if (m_eglSurface != EGL_NO_SURFACE) in deinit() 392 m_eglSurface = EGL_NO_SURFACE; in deinit()
|
D | teglMemoryStressTests.cpp | 212 DE_ASSERT(surface != EGL_NO_SURFACE); in allocatePBuffer() 232 EGLU_CHECK_CALL(egl, makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in allocatePBuffer() 296 EGLU_CHECK_CALL(egl, makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in allocateContext()
|
D | teglRenderTests.cpp | 785 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForContexts() 866 EGLU_CHECK_CALL(m_egl, makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in run() 972 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForContexts() 986 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForContexts() 1010 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForContexts()
|
D | teglNativeColorMappingTests.cpp | 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 | 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 | teglRenderCase.cpp | 287 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForSurface() 354 EGLU_CHECK_CALL(egl, makeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in executeForSurface()
|
D | teglSwapBuffersTests.cpp | 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 | teglCreateSurfaceTests.cpp | 68 EGLSurface surface = EGL_NO_SURFACE; in createWindowSurface() 89 EGLSurface surface = EGL_NO_SURFACE; in createPixmapSurface() 266 TCU_CHECK(surface != EGL_NO_SURFACE); in executeForConfig()
|
D | teglSyncTests.cpp | 109 , m_eglSurface (EGL_NO_SURFACE) in SyncTest() 238 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in deinit() 246 if (m_eglSurface != EGL_NO_SURFACE) in deinit() 249 m_eglSurface = EGL_NO_SURFACE; in deinit() 409 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate() 530 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
|
D | teglGLES2SharedRenderingPerfTests.cpp | 485 , m_eglSurface (EGL_NO_SURFACE) in TestContext() 588 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TestContext() 650 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in ~TestContext() 714 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in render()
|
/external/deqp/framework/egl/ |
D | egluGLContextFactory.cpp | 170 , m_eglSurface (EGL_NO_SURFACE) in RenderContext() 229 EGLSurface surface = EGL_NO_SURFACE; in createWindow() 252 EGLSurface surface = EGL_NO_SURFACE; in createPixmap() 436 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in destroy() 438 if (m_eglSurface != EGL_NO_SURFACE) in destroy() 447 m_eglSurface = EGL_NO_SURFACE; in destroy() 483 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in postIterate() 485 m_eglSurface = EGL_NO_SURFACE; in postIterate() 505 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in postIterate() 507 m_eglSurface = EGL_NO_SURFACE; in postIterate()
|
D | egluUnique.cpp | 59 if (m_surface != EGL_NO_SURFACE) in ~UniqueSurface() 65 return m_surface != EGL_NO_SURFACE; in operator bool() 95 m_egl.makeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~ScopedCurrentContext()
|
D | egluUtil.cpp | 286 EGLSurface surface = EGL_NO_SURFACE; in createWindowSurface() 304 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface() 311 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface() 316 DE_ASSERT(surface != EGL_NO_SURFACE); in createWindowSurface() 327 EGLSurface surface = EGL_NO_SURFACE; in createPixmapSurface() 344 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface() 351 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface() 356 DE_ASSERT(surface != EGL_NO_SURFACE); in createPixmapSurface()
|
/external/mesa3d/src/egl/main/ |
D | eglapi.c | 477 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE || in eglMakeCurrent() 491 if ((!draw_surf && draw != EGL_NO_SURFACE) || in eglMakeCurrent() 492 (!read_surf && read != EGL_NO_SURFACE)) in eglMakeCurrent() 530 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreateWindowSurface() 532 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface() 535 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in eglCreateWindowSurface() 551 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreatePixmapSurface() 553 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_PIXMAP, EGL_NO_SURFACE); in eglCreatePixmapSurface() 556 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in eglCreatePixmapSurface() 572 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in eglCreatePbufferSurface() [all …]
|
D | eglsurface.h | 169 (EGLSurface) surf : EGL_NO_SURFACE; in _eglGetSurfaceHandle()
|
/external/skia/src/views/win/ |
D | SkOSWindow_win.cpp | 53 fSurface = EGL_NO_SURFACE; in SkOSWindow() 72 if (EGL_NO_SURFACE != fSurface) { in ~SkOSWindow() 74 fSurface = EGL_NO_SURFACE; in ~SkOSWindow() 459 if (surface == EGL_NO_SURFACE) { in create_ANGLE() 519 eglMakeCurrent(fDisplay, EGL_NO_SURFACE , EGL_NO_SURFACE , EGL_NO_CONTEXT); in detachANGLE() 525 fSurface = EGL_NO_SURFACE; in detachANGLE()
|
/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() 154 if (engine->surface != EGL_NO_SURFACE) { in engine_term_display() 162 engine->surface = EGL_NO_SURFACE; in engine_term_display()
|
/external/skia/src/gpu/gl/egl/ |
D | SkCreatePlatformGLContext_egl.cpp | 33 , fSurface(EGL_NO_SURFACE) { in EGLGLContext() 125 if (EGL_NO_SURFACE == fSurface) { in EGLGLContext() 168 fSurface = EGL_NO_SURFACE; in destroyGLContext()
|
/external/skia/src/gpu/gl/angle/ |
D | SkANGLEGLContext.cpp | 56 , fSurface(EGL_NO_SURFACE) { in SkANGLEGLContext() 128 fSurface = EGL_NO_SURFACE; in destroyGLContext()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GLSurfaceView.java | 966 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) { in createSurface() 972 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, in createSurface() 973 EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); in createSurface() 983 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in createSurface() 1031 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) { in destroySurface() 1032 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, in destroySurface() 1033 EGL10.EGL_NO_SURFACE, in destroySurface()
|