/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | EglBase14.java | 54 private EGLSurface eglSurface = EGL14.EGL_NO_SURFACE; 98 if (eglSurface != EGL14.EGL_NO_SURFACE) { in createSurfaceInternal() 103 if (eglSurface == EGL14.EGL_NO_SURFACE) { in createSurfaceInternal() 116 if (eglSurface != EGL14.EGL_NO_SURFACE) { in createPbufferSurface() 121 if (eglSurface == EGL14.EGL_NO_SURFACE) { in createPbufferSurface() 133 return eglSurface != EGL14.EGL_NO_SURFACE; in hasSurface() 152 if (eglSurface != EGL14.EGL_NO_SURFACE) { in releaseSurface() 154 eglSurface = EGL14.EGL_NO_SURFACE; in releaseSurface() 181 if (eglSurface == EGL14.EGL_NO_SURFACE) { in makeCurrent() 193 eglDisplay, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_CONTEXT)) { in detachCurrent() [all …]
|
D | EglBase10.java | 54 private EGLSurface eglSurface = EGL10.EGL_NO_SURFACE; 153 if (eglSurface != EGL10.EGL_NO_SURFACE) { in createSurfaceInternal() 158 if (eglSurface == EGL10.EGL_NO_SURFACE) { in createSurfaceInternal() 172 if (eglSurface != EGL10.EGL_NO_SURFACE) { in createPbufferSurface() 177 if (eglSurface == EGL10.EGL_NO_SURFACE) { in createPbufferSurface() 189 return eglSurface != EGL10.EGL_NO_SURFACE; in hasSurface() 208 if (eglSurface != EGL10.EGL_NO_SURFACE) { in releaseSurface() 210 eglSurface = EGL10.EGL_NO_SURFACE; in releaseSurface() 236 if (eglSurface == EGL10.EGL_NO_SURFACE) { in makeCurrent() 248 eglDisplay, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT)) { in detachCurrent() [all …]
|
/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 | teglNegativePartialUpdateTests.cpp | 125 TCU_CHECK(eglSurface != EGL_NO_SURFACE); in initAndMakeCurrentEGLContext() 138 , m_eglSurface (EGL_NO_SURFACE) in NegativePartialUpdateTest() 183 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in deinit() 188 if (m_eglSurface != EGL_NO_SURFACE) in deinit() 191 m_eglSurface = EGL_NO_SURFACE; in deinit() 309 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate() 330 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, m_eglContext)); in iterate() 526 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate() 533 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, m_eglContext)); in iterate()
|
D | teglNegativeApiTests.cpp | 174 expectFalse(eglBindTexImage(EGL_NO_DISPLAY, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 177 expectFalse(eglBindTexImage((EGLDisplay)-1, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 184 expectFalse(eglBindTexImage(display, EGL_NO_SURFACE, EGL_BACK_BUFFER)); in init() 211 expectFalse(eglCopyBuffers(EGL_NO_DISPLAY, EGL_NO_SURFACE, pixmap->getLegacyNative())); in init() 214 expectFalse(eglCopyBuffers((EGLDisplay)-1, EGL_NO_SURFACE, pixmap->getLegacyNative())); in init() 223 expectFalse(eglCopyBuffers(display, EGL_NO_SURFACE, pixmap->getLegacyNative())); in init() 847 EGLSurface surface = EGL_NO_SURFACE; in init() 868 if (surface != EGL_NO_SURFACE && context != EGL_NO_CONTEXT) in init() 894 if (surface != EGL_NO_SURFACE) in init() 898 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 | teglMultiContextTests.cpp | 126 …_use != USE_NONE ? egl.createPbufferSurface(*display, config, pbufferAttribList) : EGL_NO_SURFACE); in iterate() 203 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate() 214 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
|
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 | 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()
|
/external/skia/platform_tools/android/apps/visualbench/src/main/jni/ |
D | SkOSWindow_AndroidNative.cpp | 15 fWindow.fSurface = EGL_NO_SURFACE; in SkOSWindow() 110 if (EGL_NO_SURFACE == surface) { in attach() 154 eglMakeCurrent(fWindow.fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in detach() 158 if (fWindow.fSurface != EGL_NO_SURFACE) { in detach() 165 fWindow.fSurface = EGL_NO_SURFACE; in detach()
|
/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/skia/src/gpu/gl/command_buffer/ |
D | SkCommandBufferGLContext.cpp | 30 #define EGL_NO_SURFACE ((EGLSurface)0) macro 149 , fSurface(EGL_NO_SURFACE) { in SkCommandBufferGLContext() 235 if (EGL_NO_SURFACE == fSurface) { in initializeGLContext() 294 gfMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext() 296 if (EGL_NO_SURFACE != fSurface) { in destroyGLContext() 298 fSurface = EGL_NO_SURFACE; in destroyGLContext()
|
/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 …]
|
/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() 154 if (engine->surface != EGL_NO_SURFACE) { in engine_term_display() 162 engine->surface = EGL_NO_SURFACE; in engine_term_display()
|
/external/skia/src/views/win/ |
D | SkOSWindow_win.cpp | 64 fSurface = EGL_NO_SURFACE; in SkOSWindow() 87 if (EGL_NO_SURFACE != fSurface) { in ~SkOSWindow() 89 fSurface = EGL_NO_SURFACE; in ~SkOSWindow() 470 if (surface == EGL_NO_SURFACE) { in create_ANGLE() 530 eglMakeCurrent(fDisplay, EGL_NO_SURFACE , EGL_NO_SURFACE , EGL_NO_CONTEXT); in detachANGLE() 536 fSurface = EGL_NO_SURFACE; in detachANGLE()
|
/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()
|
/external/skia/src/gpu/gl/egl/ |
D | SkCreatePlatformGLContext_egl.cpp | 63 , fSurface(EGL_NO_SURFACE) { in EGLGLContext() 157 if (EGL_NO_SURFACE == fSurface) { in EGLGLContext() 203 fSurface = EGL_NO_SURFACE; in destroyGLContext()
|
/external/skia/src/gpu/gl/angle/ |
D | SkANGLEGLContext.cpp | 70 , fSurface(EGL_NO_SURFACE) { in SkANGLEGLContext() 206 fSurface = EGL_NO_SURFACE; in destroyGLContext()
|
/external/autotest/client/site_tests/graphics_GLAPICheck/src/ |
D | gles_APICheck.cc | 213 if (*egl_surface == EGL_NO_SURFACE) { in InitGraphics() 241 if (egl_surface != EGL_NO_SURFACE) in ExitGraphics() 294 EGLSurface egl_surface = EGL_NO_SURFACE; in main()
|