Home
last modified time | relevance | path

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

123

/external/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp305 … return error(EGL_BAD_MATCH, EGL_NO_SURFACE); // Rendering directly to front buffer not supported in createWindowSurface()
307 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createWindowSurface()
311 return error(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
313 return error(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
315 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createWindowSurface()
324 return error(EGL_BAD_ALLOC, EGL_NO_SURFACE); in createWindowSurface()
332 return EGL_NO_SURFACE; in createWindowSurface()
375 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createPBufferSurface()
389 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createPBufferSurface()
402 return error(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in createPBufferSurface()
[all …]
DlibEGL.cpp342 return EGL_NO_SURFACE; in CreatePlatformWindowSurface()
347 return error(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in CreatePlatformWindowSurface()
380 return EGL_NO_SURFACE; in CreatePbufferSurface()
395 return EGL_NO_SURFACE; in CreatePlatformPixmapSurface()
400 return success(EGL_NO_SURFACE); in CreatePlatformPixmapSurface()
433 if(surface == EGL_NO_SURFACE) in DestroySurface()
456 if(surface == EGL_NO_SURFACE) in QuerySurface()
600 return EGL_NO_SURFACE; in CreatePbufferFromClientBuffer()
607 return error(EGL_BAD_PARAMETER, EGL_NO_SURFACE); in CreatePbufferFromClientBuffer()
609 return error(EGL_BAD_PARAMETER, EGL_NO_SURFACE); in CreatePbufferFromClientBuffer()
[all …]
/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/skqp/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp34 #define EGL_NO_SURFACE ((EGLSurface)0) macro
161 return EGL_NO_SURFACE; in CurrentSurface()
164 return EGL_NO_SURFACE; in CurrentSurface()
191 EGLSurface fReadSurface = EGL_NO_SURFACE;
192 EGLSurface fDrawSurface = EGL_NO_SURFACE;
220 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
265 if (EGL_NO_SURFACE == fSurface) { in CommandBufferGLTestContext()
330 TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
333 if (EGL_NO_SURFACE != fSurface) { in destroyGLContext()
335 fSurface = EGL_NO_SURFACE; in destroyGLContext()
/external/skia/tools/gpu/gl/command_buffer/
DGLTestContext_command_buffer.cpp34 #define EGL_NO_SURFACE ((EGLSurface)0) macro
161 return EGL_NO_SURFACE; in CurrentSurface()
164 return EGL_NO_SURFACE; in CurrentSurface()
191 EGLSurface fReadSurface = EGL_NO_SURFACE;
192 EGLSurface fDrawSurface = EGL_NO_SURFACE;
220 : fContext(EGL_NO_CONTEXT), fDisplay(EGL_NO_DISPLAY), fSurface(EGL_NO_SURFACE) { in CommandBufferGLTestContext()
265 if (EGL_NO_SURFACE == fSurface) { in CommandBufferGLTestContext()
330 TLSCurrentObjects::MakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyGLContext()
333 if (EGL_NO_SURFACE != fSurface) { in destroyGLContext()
335 fSurface = EGL_NO_SURFACE; in destroyGLContext()
/external/deqp/modules/egl/
DteglMultiThreadTests.cpp763 if (m_pbuffers0[pbufferNdx] != EGL_NO_SURFACE) in deinit()
767 m_pbuffers0[pbufferNdx] = EGL_NO_SURFACE; in deinit()
774 if (m_pbuffers1[pbufferNdx] != EGL_NO_SURFACE) in deinit()
778 m_pbuffers1[pbufferNdx] = EGL_NO_SURFACE; in deinit()
785 if (m_sharedPbuffers[pbufferNdx] != EGL_NO_SURFACE) in deinit()
789 m_sharedPbuffers[pbufferNdx] = EGL_NO_SURFACE; in deinit()
830 if (m_nativePixmaps0[pixmapNdx].second != EGL_NO_SURFACE) in deinit()
833 m_nativePixmaps0[pixmapNdx].second = EGL_NO_SURFACE; in deinit()
841 if (m_nativePixmaps1[pixmapNdx].second != EGL_NO_SURFACE) in deinit()
844 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()
871 EGLSurface surface = EGL_NO_SURFACE; in init()
892 if (surface != EGL_NO_SURFACE && context != EGL_NO_CONTEXT) in init()
918 if (surface != EGL_NO_SURFACE) in init()
922 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()
DteglMutableRenderBufferTests.cpp79 , m_eglSurface (EGL_NO_SURFACE) in MutableRenderBufferTest()
165 TCU_CHECK(m_eglSurface != EGL_NO_SURFACE); in init()
178 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in deinit()
183 if (m_eglSurface != EGL_NO_SURFACE) in deinit()
186 m_eglSurface = EGL_NO_SURFACE; in deinit()
DteglMultiContextTests.cpp132 …_use != USE_NONE ? egl.createPbufferSurface(*display, config, pbufferAttribList) : EGL_NO_SURFACE); in iterate()
209 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
220 EGLU_CHECK_CALL(egl, makeCurrent(*display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in iterate()
/external/skqp/tools/sk_app/android/
DGLWindowContext_android.cpp48 , fSurfaceAndroid(EGL_NO_SURFACE) in GLWindowContext_android()
105 SkASSERT(EGL_NO_SURFACE != fSurfaceAndroid); in onInitializeContext()
127 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
131 fSurfaceAndroid = EGL_NO_SURFACE; in onDestroyContext()
/external/skia/tools/sk_app/android/
DGLWindowContext_android.cpp48 , fSurfaceAndroid(EGL_NO_SURFACE) in GLWindowContext_android()
105 SkASSERT(EGL_NO_SURFACE != fSurfaceAndroid); in onInitializeContext()
127 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
131 fSurfaceAndroid = EGL_NO_SURFACE; in onDestroyContext()
/external/libkmsxx/kmscube/
Dcube-egl.cpp89 EGLBoolean ok = eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, m_context); in EglState()
95 eglMakeCurrent(m_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~EglState()
103 FAIL_IF(esurface == EGL_NO_SURFACE, "failed to create egl surface"); in EglSurface()
/external/deqp/framework/egl/
DegluGLContextFactory.cpp180 , m_eglSurface (EGL_NO_SURFACE) in RenderContext()
239 EGLSurface surface = EGL_NO_SURFACE; in createWindow()
262 EGLSurface surface = EGL_NO_SURFACE; in createPixmap()
477 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in destroy()
479 if (m_eglSurface != EGL_NO_SURFACE) in destroy()
489 m_eglSurface = EGL_NO_SURFACE; in destroy()
523 EGLU_CHECK_CALL(egl, makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); in postIterate()
525 m_eglSurface = EGL_NO_SURFACE; in postIterate()
545 egl.makeCurrent(m_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in postIterate()
547 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.cpp320 EGLSurface surface = EGL_NO_SURFACE; in createWindowSurface()
345 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface()
352 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface()
359 TCU_CHECK(surface != EGL_NO_SURFACE); in createWindowSurface()
364 DE_ASSERT(surface != EGL_NO_SURFACE); in createWindowSurface()
377 EGLSurface surface = EGL_NO_SURFACE; in createPixmapSurface()
402 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface()
410 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface()
417 TCU_CHECK(surface != EGL_NO_SURFACE); in createPixmapSurface()
422 DE_ASSERT(surface != EGL_NO_SURFACE); in createPixmapSurface()
/external/skqp/tools/sk_app/win/
DANGLEWindowContext_win.cpp54 EGLSurface fEGLSurface = EGL_NO_SURFACE;
113 if (EGL_NO_SURFACE == fEGLSurface) { in onInitializeContext()
147 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
151 if (EGL_NO_SURFACE != fEGLSurface) { in onDestroyContext()
/external/skia/tools/sk_app/win/
DANGLEWindowContext_win.cpp54 EGLSurface fEGLSurface = EGL_NO_SURFACE;
113 if (EGL_NO_SURFACE == fEGLSurface) { in onInitializeContext()
147 eglMakeCurrent(fDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in onDestroyContext()
151 if (EGL_NO_SURFACE != fEGLSurface) { in onDestroyContext()
/external/virglrenderer/src/
Dvirgl_egl_context.c258 eglMakeCurrent(d->egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, in virgl_egl_init()
268 eglMakeCurrent(d->egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, in virgl_egl_destroy()
304 return eglMakeCurrent(ve->egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, in virgl_egl_make_context_current()
/external/swiftshader/tests/GLESUnitTests/
Dunittests.cpp154 EXPECT_NE(EGL_NO_SURFACE, surface); in Initialize()
196 EGLBoolean success = eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in Uninitialize()
206 EXPECT_EQ(EGL_NO_SURFACE, currentDrawSurface); in Uninitialize()
210 EXPECT_EQ(EGL_NO_SURFACE, currentReadSurface); in Uninitialize()
1564 EXPECT_NE(EGL_NO_SURFACE, pbuffer); in createIOSurfacePbuffer()
1822 EXPECT_NE(EGL_NO_SURFACE, pbuffer); in TEST_F()
1842 EXPECT_EQ(EGL_NO_SURFACE, pbuffer); in TEST_F()
1859 EXPECT_EQ(EGL_NO_SURFACE, pbuffer); in TEST_F()
1876 EXPECT_EQ(EGL_NO_SURFACE, pbuffer); in TEST_F()
1894 EXPECT_EQ(EGL_NO_SURFACE, pbuffer); in TEST_F()
[all …]
/external/mesa3d/src/egl/main/
Deglapi.c812 if (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE || in eglMakeCurrent()
830 if ((!draw_surf && draw != EGL_NO_SURFACE) || in eglMakeCurrent()
831 (!read_surf && read != EGL_NO_SURFACE)) in eglMakeCurrent()
880 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in _eglCreateWindowSurfaceCommon()
896 RETURN_EGL_ERROR(disp, EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in _eglCreateWindowSurfaceCommon()
900 _EGL_CHECK_CONFIG(disp, conf, EGL_NO_SURFACE, drv); in _eglCreateWindowSurfaceCommon()
903 RETURN_EGL_ERROR(disp, EGL_BAD_MATCH, EGL_NO_SURFACE); in _eglCreateWindowSurfaceCommon()
907 ret = (surf) ? _eglLinkSurface(surf) : EGL_NO_SURFACE; in _eglCreateWindowSurfaceCommon()
919 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreateWindowSurface()
952 _EGL_FUNC_START(disp, EGL_OBJECT_DISPLAY_KHR, NULL, EGL_NO_SURFACE); in eglCreatePlatformWindowSurfaceEXT()
[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()

123