Home
last modified time | relevance | path

Searched refs:EGL_NO_SURFACE (Results 1 – 25 of 36) sorted by relevance

12

/external/deqp/modules/egl/
DteglMultiThreadTests.cpp779 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 …]
DteglNegativeApiTests.cpp165 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 …]
DteglSurfacelessContextTests.cpp114 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()
DteglMakeCurrentPerfTests.cpp281 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()
DteglColorClearCase.cpp239 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()
DteglPreservingSwapTests.cpp289 , 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()
DteglMemoryStressTests.cpp212 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()
DteglRenderTests.cpp785 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()
DteglNativeColorMappingTests.cpp354 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()
DteglNativeCoordMappingTests.cpp401 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()
DteglRenderCase.cpp287 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()
DteglSwapBuffersTests.cpp424 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()
DteglCreateSurfaceTests.cpp68 EGLSurface surface = EGL_NO_SURFACE; in createWindowSurface()
89 EGLSurface surface = EGL_NO_SURFACE; in createPixmapSurface()
266 TCU_CHECK(surface != EGL_NO_SURFACE); in executeForConfig()
DteglSyncTests.cpp109 , 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()
DteglGLES2SharedRenderingPerfTests.cpp485 , 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/
DegluGLContextFactory.cpp170 , 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()
DegluUnique.cpp59 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()
DegluUtil.cpp286 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/
Deglapi.c477 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 …]
Deglsurface.h169 (EGLSurface) surf : EGL_NO_SURFACE; in _eglGetSurfaceHandle()
/external/skia/src/views/win/
DSkOSWindow_win.cpp53 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/
Dmain.c150 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/
DSkCreatePlatformGLContext_egl.cpp33 , 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/
DSkANGLEGLContext.cpp56 , fSurface(EGL_NO_SURFACE) { in SkANGLEGLContext()
128 fSurface = EGL_NO_SURFACE; in destroyGLContext()
/external/replicaisland/src/com/replica/replicaisland/
DGLSurfaceView.java966 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()

12