Home
last modified time | relevance | path

Searched refs:EGL_NO_SURFACE (Results 1 – 25 of 61) 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/av/services/camera/virtualcamera/util/
DEglDisplayContext.cc35 mEglSurface(EGL_NO_SURFACE), in EglDisplayContext()
81 if (mEglSurface == EGL_NO_SURFACE) { in EglDisplayContext()
96 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~EglDisplayContext()
97 if (mEglSurface != EGL_NO_SURFACE) { in ~EglDisplayContext()
117 if (mEglSurface != EGL_NO_SURFACE) { in swapBuffers()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp59 bool wasSurfaceless = mEglManager.isCurrent(EGL_NO_SURFACE); in makeCurrent()
82 if (error == 0 && (majorVersion > 2) && wasSurfaceless && mEglSurface != EGL_NO_SURFACE) { in makeCurrent()
111 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in getFrame()
222 if (mEglSurface != EGL_NO_SURFACE) { in onContextDestroyed()
224 mEglSurface = EGL_NO_SURFACE; in onContextDestroyed()
230 mEglManager.makeCurrent(EGL_NO_SURFACE); in onStop()
238 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
240 mEglSurface = EGL_NO_SURFACE; in setSurface()
252 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
282 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()
75 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
90 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
163 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
166 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
176 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
196 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
522 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
531 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
743 ASSERT_NE(EGL_NO_SURFACE, mEglSurfaces[i]); in SetUp()
[all …]
DGLTest.cpp86 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
111 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown()
122 if (mEglSurface != EGL_NO_SURFACE) { in TearDown()
126 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()
/frameworks/native/cmds/flatland/
DGLHelper.cpp29 mDummySurface(EGL_NO_SURFACE), in GLHelper()
117 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown()
125 if (mDummySurface != EGL_NO_SURFACE) { in tearDown()
131 mDummySurface = EGL_NO_SURFACE; in tearDown()
173 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in destroySurface()
177 *surface = EGL_NO_SURFACE; in destroySurface()
216 if (s == EGL_NO_SURFACE) { in createNamedSurfaceTexture()
275 if (s == EGL_NO_SURFACE) { in createWindowSurface()
DMain.cpp290 mSurface(EGL_NO_SURFACE) { in Layer()
333 if (mSurface != EGL_NO_SURFACE) { in tearDown()
383 mSurface(EGL_NO_SURFACE), in BenchmarkRunner()
384 mWindowSurface(EGL_NO_SURFACE) { in BenchmarkRunner()
449 if (mWindowSurface != EGL_NO_SURFACE) { in tearDown()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp98 , mPBufferSurface(EGL_NO_SURFACE) in EglManager()
99 , mCurrentSurface(EGL_NO_SURFACE) in EglManager()
381 if (mPBufferSurface == EGL_NO_SURFACE && !EglExtensions.surfacelessContext) { in createPBufferSurface()
384 LOG_ALWAYS_FATAL_IF(mPBufferSurface == EGL_NO_SURFACE, in createPBufferSurface()
501 if (surface == EGL_NO_SURFACE) { in createSurface()
525 makeCurrent(EGL_NO_SURFACE); in destroySurface()
536 if (mPBufferSurface != EGL_NO_SURFACE) { in destroy()
539 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy()
545 mPBufferSurface = EGL_NO_SURFACE; in destroy()
546 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/libs/renderengine/skia/
DSkiaGLRenderEngine.cpp189 EGLSurface placeholder = EGL_NO_SURFACE; in create()
193 LOG_ALWAYS_FATAL_IF(placeholder == EGL_NO_SURFACE, "can't create placeholder pbuffer"); in create()
200 EGLSurface protectedPlaceholder = EGL_NO_SURFACE; in create()
204 ALOGE_IF(protectedPlaceholder == EGL_NO_SURFACE, in create()
283 if (mPlaceholderSurface != EGL_NO_SURFACE) { in ~SkiaGLRenderEngine()
286 if (mProtectedPlaceholderSurface != EGL_NO_SURFACE) { in ~SkiaGLRenderEngine()
295 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~SkiaGLRenderEngine()
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.cpp100 : mEglDisplay(EGL_NO_DISPLAY), mEglSurface(EGL_NO_SURFACE), mEglContext(EGL_NO_CONTEXT) {} in EglManager()
177 if (mEglSurface == EGL_NO_SURFACE) { in initialize()
199 if (mEglSurface != EGL_NO_SURFACE) eglDestroySurface(mEglDisplay, mEglSurface); in cleanup()
202 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in cleanup()
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp677 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
683 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
694 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
710 return EGL_NO_SURFACE; in eglCreateWindowSurfaceTmpl()
719 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
730 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurfaceTmpl()
739 if (surface != EGL_NO_SURFACE) { in eglCreateWindowSurfaceTmpl()
750 return EGL_NO_SURFACE; in eglCreateWindowSurfaceTmpl()
768 return EGL_NO_SURFACE; in eglCreateWindowSurfaceImpl()
785 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in eglCreatePlatformWindowSurfaceImpl()
[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/native/opengl/tests/EGLTest/
DEGL_test.cpp161 ASSERT_NE(EGL_NO_SURFACE, eglSurface) ; in TEST_F()
286 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
334 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
431 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
603 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
653 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
731 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
836 ASSERT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
869 ASSERT_EQ(EGL_NO_SURFACE, eglSurface); in TEST_F()
922 ASSERT_EQ(EGL_NO_SURFACE, eglSurface); in TEST_F()
[all …]
/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/angeles/include/GLES/
Degltypes.h20 #define EGL_NO_SURFACE ((EGLSurface)0) macro
/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/tools/glgen/stubs/egl/
DEGL14cHeader.cpp89 …= _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterpret_cast<jlong>(EGL_NO_SURFACE)); in nativeClassInit()
129 (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