Home
last modified time | relevance | path

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

12

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DEglBase14.java54 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 …]
DEglBase10.java54 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/
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 …]
DteglNegativePartialUpdateTests.cpp125 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()
DteglNegativeApiTests.cpp174 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 …]
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()
DteglMultiContextTests.cpp126 …_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()
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()
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()
/external/skia/platform_tools/android/apps/visualbench/src/main/jni/
DSkOSWindow_AndroidNative.cpp15 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/
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/skia/src/gpu/gl/command_buffer/
DSkCommandBufferGLContext.cpp30 #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/
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 …]
/external/webrtc/webrtc/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/views/win/
DSkOSWindow_win.cpp64 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/
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()
/external/skia/src/gpu/gl/egl/
DSkCreatePlatformGLContext_egl.cpp63 , 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/
DSkANGLEGLContext.cpp70 , fSurface(EGL_NO_SURFACE) { in SkANGLEGLContext()
206 fSurface = EGL_NO_SURFACE; in destroyGLContext()
/external/autotest/client/site_tests/graphics_GLAPICheck/src/
Dgles_APICheck.cc213 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()

12