/frameworks/base/media/libstagefright/tests/ |
D | SurfaceMediaSource_test.cpp | 56 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/ |
D | EGLImpl.java | 59 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/ |
D | eglApi.cpp | 374 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/ |
D | egl.cpp | 654 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/ |
D | egl.cpp | 656 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/ |
D | SurfaceTextureClient_test.cpp | 28 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()
|
D | SurfaceTexture_test.cpp | 45 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/ |
D | HardwareRenderer.java | 681 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/ |
D | DisplayHardware.cpp | 310 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()
|
D | HWComposer.cpp | 44 mDpy(EGL_NO_DISPLAY), mSur(EGL_NO_SURFACE) in HWComposer()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 1036 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/ |
D | tritex.cpp | 147 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/ |
D | egltypes.h | 20 #define EGL_NO_SURFACE ((EGLSurface)0) macro
|
D | egl.h | 81 #define EGL_NO_SURFACE ((EGLSurface)0)
|
/frameworks/base/libs/rs/driver/ |
D | rsdGL.cpp | 136 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/ |
D | gl_basic.cpp | 243 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/ |
D | gl2_perf.cpp | 100 if (surface == EGL_NO_SURFACE) { in main()
|
/frameworks/base/opengl/tests/swapinterval/ |
D | swapinterval.cpp | 71 if (surface == EGL_NO_SURFACE) { in main()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 549 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/ |
D | EGL10.java | 95 EGLSurface EGL_NO_SURFACE = new com.google.android.gles_jni.EGLSurfaceImpl(0); field
|
/frameworks/base/opengl/tests/angeles/ |
D | app-linux.cpp | 72 static EGLSurface sEglSurface = EGL_NO_SURFACE;
|
/frameworks/base/opengl/tests/filter/ |
D | filter.cpp | 58 if (surface == EGL_NO_SURFACE) { in main()
|
/frameworks/media/libvideoeditor/lvpp/ |
D | NativeWindowRenderer.cpp | 225 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in terminateEGL()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 289 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in threadLoop()
|
/frameworks/base/opengl/include/EGL/ |
D | egl.h | 71 #define EGL_NO_SURFACE ((EGLSurface)0) macro
|