Home
last modified time | relevance | path

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

12

/frameworks/base/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp56 mEglSurface(EGL_NO_SURFACE), in GLTest()
119 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
144 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown()
155 if (mEglSurface != EGL_NO_SURFACE) { in TearDown()
491 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in setUpEGLSurfaceFromMediaRecorder()
785 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in TEST_F()
798 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
802 mEglSurface = EGL_NO_SURFACE; in TEST_F()
882 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
886 mEglSurface = EGL_NO_SURFACE; in TEST_F()
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java59 return EGL10.EGL_NO_SURFACE; in eglCreatePbufferSurface()
68 return EGL10.EGL_NO_SURFACE; in eglCreatePixmapSurface()
97 return EGL10.EGL_NO_SURFACE; in eglCreateWindowSurface()
135 return EGL10.EGL_NO_SURFACE; in eglGetCurrentSurface()
/frameworks/base/opengl/libs/EGL/
DeglApi.cpp374 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
386 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
393 if (surface != EGL_NO_SURFACE) { in eglCreateWindowSurface()
403 return EGL_NO_SURFACE; in eglCreateWindowSurface()
418 if (surface != EGL_NO_SURFACE) { in eglCreatePixmapSurface()
424 return EGL_NO_SURFACE; in eglCreatePixmapSurface()
438 if (surface != EGL_NO_SURFACE) { in eglCreatePbufferSurface()
444 return EGL_NO_SURFACE; in eglCreatePbufferSurface()
589 if ( (ctx != EGL_NO_CONTEXT) || (read != EGL_NO_SURFACE) || in eglMakeCurrent()
590 (draw != EGL_NO_SURFACE) ) { in eglMakeCurrent()
[all …]
/frameworks/base/opengl/libagl2/src/
Degl.cpp654 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
748 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
1223 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createWindowSurface()
1225 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1232 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1236 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in createWindowSurface()
1246 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1272 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createPixmapSurface()
1274 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPixmapSurface()
1281 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPixmapSurface()
[all …]
/frameworks/base/opengl/libagl/
Degl.cpp656 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
736 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
1209 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createWindowSurface()
1211 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1218 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1222 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in createWindowSurface()
1232 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1258 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createPixmapSurface()
1260 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPixmapSurface()
1267 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createPixmapSurface()
[all …]
/frameworks/base/libs/gui/tests/
DSurfaceTextureClient_test.cpp28 mEglSurface(EGL_NO_SURFACE), in SurfaceTextureClientTest()
60 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
75 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
147 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
442 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
451 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
656 ASSERT_NE(EGL_NO_SURFACE, mEglSurfaces[i]); in SetUp()
661 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TearDown()
665 if (mEglSurfaces[i] != EGL_NO_SURFACE) { in TearDown()
DSurfaceTexture_test.cpp45 mEglSurface(EGL_NO_SURFACE), in GLTest()
106 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
131 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown()
142 if (mEglSurface != EGL_NO_SURFACE) { in TearDown()
146 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TearDown()
953 ASSERT_NE(EGL_NO_SURFACE, stcEglSurface); in TEST_F()
1147 eglMakeCurrent(mProducerEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in threadLoop()
1227 mProducerEglSurface(EGL_NO_SURFACE), in SurfaceTextureGLToGLTest()
1243 ASSERT_NE(EGL_NO_SURFACE, mProducerEglSurface); in SetUp()
1261 if (mProducerEglSurface != EGL_NO_SURFACE) { in TearDown()
/frameworks/base/core/java/android/view/
DHardwareRenderer.java681 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) { in destroySurface()
682 sEgl.eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroySurface()
692 sEgl.eglMakeCurrent(sEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in invalidate()
694 if (mEglSurface != null && mEglSurface != EGL_NO_SURFACE) { in invalidate()
713 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) { in createSurface()
/frameworks/base/services/surfaceflinger/DisplayHardware/
DDisplayHardware.cpp310 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in init()
333 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in fini()
DHWComposer.cpp44 mDpy(EGL_NO_DISPLAY), mSur(EGL_NO_SURFACE) in HWComposer()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java1036 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) { in createSurface()
1042 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, in createSurface()
1043 EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT); in createSurface()
1053 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in createSurface()
1091 EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, in purgeBuffers()
1132 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) { in destroySurface()
1133 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, in destroySurface()
1134 EGL10.EGL_NO_SURFACE, in destroySurface()
/frameworks/base/opengl/tests/tritex/
Dtritex.cpp147 window, 0)) == EGL_NO_SURFACE ) in init_gl_surface()
172 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface()
173 EGL_NO_SURFACE, EGL_NO_CONTEXT ); in free_gl_surface()
/frameworks/base/opengl/tests/angeles/include/GLES/
Degltypes.h20 #define EGL_NO_SURFACE ((EGLSurface)0) macro
Degl.h81 #define EGL_NO_SURFACE ((EGLSurface)0)
/frameworks/base/libs/rs/driver/
DrsdGL.cpp136 EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in rsdGLShutdown()
138 if (dc->gl.egl.surface != EGL_NO_SURFACE) { in rsdGLShutdown()
283 if (dc->gl.egl.surfaceDefault == EGL_NO_SURFACE) { in rsdGLInit()
404 if (dc->gl.egl.surface == EGL_NO_SURFACE) { in rsdGLSetSurface()
/frameworks/base/opengl/tests/gl_basic/
Dgl_basic.cpp243 window, 0)) == EGL_NO_SURFACE ) in init_gl_surface()
283 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface()
284 EGL_NO_SURFACE, EGL_NO_CONTEXT ); in free_gl_surface()
/frameworks/base/opengl/tests/gl_perf/
Dgl2_perf.cpp100 if (surface == EGL_NO_SURFACE) { in main()
/frameworks/base/opengl/tests/swapinterval/
Dswapinterval.cpp71 if (surface == EGL_NO_SURFACE) { in main()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java549 mEgl.eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
578 if (mEglSurface == null || mEglSurface == EGL_NO_SURFACE) {
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
DEGL10.java95 EGLSurface EGL_NO_SURFACE = new com.google.android.gles_jni.EGLSurfaceImpl(0); field
/frameworks/base/opengl/tests/angeles/
Dapp-linux.cpp72 static EGLSurface sEglSurface = EGL_NO_SURFACE;
/frameworks/base/opengl/tests/filter/
Dfilter.cpp58 if (surface == EGL_NO_SURFACE) { in main()
/frameworks/media/libvideoeditor/lvpp/
DNativeWindowRenderer.cpp225 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in terminateEGL()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp289 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in threadLoop()
/frameworks/base/opengl/include/EGL/
Degl.h71 #define EGL_NO_SURFACE ((EGLSurface)0) macro

12