Home
last modified time | relevance | path

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

123

/frameworks/av/cmds/screenrecord/
DEglWindow.cpp37 if (mEglSurface != EGL_NO_SURFACE) { in createWindow()
54 if (mEglSurface == EGL_NO_SURFACE) { in createWindow()
64 if (mEglSurface != EGL_NO_SURFACE) { in createPbuffer()
82 if (mEglSurface == EGL_NO_SURFACE) { in createPbuffer()
161 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in eglRelease()
168 if (mEglSurface != EGL_NO_SURFACE) { in eglRelease()
175 mEglSurface = EGL_NO_SURFACE; in eglRelease()
DEglWindow.h37 mEglSurface(EGL_NO_SURFACE), in EglWindow()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp67 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in getFrame()
156 if (mEglSurface != EGL_NO_SURFACE) { in onContextDestroyed()
158 mEglSurface = EGL_NO_SURFACE; in onContextDestroyed()
164 mEglManager.makeCurrent(EGL_NO_SURFACE); in onStop()
169 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
171 mEglSurface = EGL_NO_SURFACE; in setSurface()
183 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
193 return CC_UNLIKELY(mEglSurface != EGL_NO_SURFACE); in isSurfaceReady()
/frameworks/native/libs/gui/tests/
DSurfaceTextureGLToGL.h31 mProducerEglSurface(EGL_NO_SURFACE), in SurfaceTextureGLToGLTest()
43 ASSERT_NE(EGL_NO_SURFACE, mProducerEglSurface); in SetUpWindowAndContext()
55 if (mProducerEglSurface != EGL_NO_SURFACE) { in TearDown()
DSurfaceTextureGLToGL_test.cpp193 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F()
244 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F()
277 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F()
291 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, in TEST_F()
292 EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_F()
315 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F()
332 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, in TEST_F()
333 EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_F()
DSurfaceTextureClient_test.cpp37 mEglSurface(EGL_NO_SURFACE), in SurfaceTextureClientTest()
80 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
95 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
173 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
176 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
186 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
206 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
532 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
541 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
753 ASSERT_NE(EGL_NO_SURFACE, mEglSurfaces[i]); in SetUp()
[all …]
DGLTest.cpp90 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
115 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown()
126 if (mEglSurface != EGL_NO_SURFACE) { in TearDown()
130 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TearDown()
DSurfaceTextureGLThreadToGL.h75 eglMakeCurrent(mProducerEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in threadLoop()
DSurfaceTextureMultiContextGL_test.cpp112 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
294 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
DGLTest.h40 mEglSurface(EGL_NO_SURFACE), in GLTest()
/frameworks/native/cmds/flatland/
DGLHelper.cpp29 mDummySurface(EGL_NO_SURFACE), in GLHelper()
114 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown()
122 if (mDummySurface != EGL_NO_SURFACE) { in tearDown()
128 mDummySurface = EGL_NO_SURFACE; in tearDown()
170 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in destroySurface()
174 *surface = EGL_NO_SURFACE; in destroySurface()
213 if (s == EGL_NO_SURFACE) { in createNamedSurfaceTexture()
278 if (s == EGL_NO_SURFACE) { in createWindowSurface()
DMain.cpp288 mSurface(EGL_NO_SURFACE) { in Layer()
331 if (mSurface != EGL_NO_SURFACE) { in tearDown()
381 mSurface(EGL_NO_SURFACE), in BenchmarkRunner()
382 mWindowSurface(EGL_NO_SURFACE) { in BenchmarkRunner()
447 if (mWindowSurface != EGL_NO_SURFACE) { in tearDown()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp93 , mPBufferSurface(EGL_NO_SURFACE) in EglManager()
94 , mCurrentSurface(EGL_NO_SURFACE) in EglManager()
328 if (mPBufferSurface == EGL_NO_SURFACE && !EglExtensions.surfacelessContext) { in createPBufferSurface()
331 LOG_ALWAYS_FATAL_IF(mPBufferSurface == EGL_NO_SURFACE, in createPBufferSurface()
412 if (surface == EGL_NO_SURFACE) { in createSurface()
428 makeCurrent(EGL_NO_SURFACE); in destroySurface()
439 if (mPBufferSurface != EGL_NO_SURFACE) { in destroy()
442 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy()
448 mPBufferSurface = EGL_NO_SURFACE; in destroy()
449 mCurrentSurface = EGL_NO_SURFACE; in destroy()
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java73 return EGL10.EGL_NO_SURFACE; in eglCreatePbufferSurface()
82 return EGL10.EGL_NO_SURFACE; in eglCreatePixmapSurface()
112 return EGL10.EGL_NO_SURFACE; in eglCreateWindowSurface()
150 return EGL10.EGL_NO_SURFACE; in eglGetCurrentSurface()
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp659 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
665 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
676 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
692 return EGL_NO_SURFACE; in eglCreateWindowSurfaceTmpl()
701 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
712 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
721 if (surface != EGL_NO_SURFACE) { in eglCreateWindowSurfaceTmpl()
732 return EGL_NO_SURFACE; in eglCreateWindowSurfaceTmpl()
750 return EGL_NO_SURFACE; in eglCreateWindowSurfaceImpl()
767 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in eglCreatePlatformWindowSurfaceImpl()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.cpp99 : mEglDisplay(EGL_NO_DISPLAY), mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT) {} in EglManager()
176 if (mEglSurface == EGL_NO_SURFACE) { in initialize()
198 if (mEglSurface != EGL_NO_SURFACE) eglDestroySurface(mEglDisplay, mEglSurface); in cleanup()
201 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in cleanup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DEglHelper.java30 import static android.opengl.EGL14.EGL_NO_SURFACE;
247 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroyEglSurface()
249 mEglSurface = EGL_NO_SURFACE; in destroyEglSurface()
258 return mEglSurface != null && mEglSurface != EGL_NO_SURFACE; in hasEglSurface()
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp158 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ; in TEST_F()
283 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
331 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
423 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
595 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
645 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
723 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
828 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
861 ASSERT_EQ(EGL_NO_SURFACE, eglSurface); in TEST_F()
908 ASSERT_EQ(EGL_NO_SURFACE, eglSurface); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DGLHelper.java30 import static android.opengl.EGL14.EGL_NO_SURFACE;
133 eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in retrieveTextureSizeFromGL()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.cpp89 eglMakeCurrent(display(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in Deactivate()
99 if (context() == EGL_NO_CONTEXT || surface() == EGL_NO_SURFACE) in Activate()
126 (surface() != EGL_NO_SURFACE); in InitWithCurrentContext()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) { in createSurface()
268 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) { in destroySurfaceImp()
269 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE, in destroySurfaceImp()
270 EGL10.EGL_NO_SURFACE, in destroySurfaceImp()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp144 window, 0)) == EGL_NO_SURFACE ) in init_gl_surface()
169 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface()
170 EGL_NO_SURFACE, EGL_NO_CONTEXT ); in free_gl_surface()
/frameworks/native/opengl/tests/angeles/include/GLES/
Degltypes.h20 #define EGL_NO_SURFACE ((EGLSurface)0) macro
/frameworks/native/opengl/tools/glgen/stubs/egl/
DEGL14cHeader.cpp88 …= _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterpret_cast<jlong>(EGL_NO_SURFACE)); in nativeClassInit()
128 (EGLSurface)handle == EGL_NO_SURFACE) { in toEGLHandle()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java226 EGL10.EGL_NO_SURFACE, in focusNone()
227 EGL10.EGL_NO_SURFACE, in focusNone()
255 mSurface = EGL10.EGL_NO_SURFACE; in release()
417 if (surface == EGL10.EGL_NO_SURFACE) { in checkSurface()

123