Home
last modified time | relevance | path

Searched refs:EGL_NO_SURFACE (Results 1 – 25 of 64) 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()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp94 , mPBufferSurface(EGL_NO_SURFACE) in EglManager()
95 , mCurrentSurface(EGL_NO_SURFACE) {} in EglManager()
272 if (mPBufferSurface == EGL_NO_SURFACE) { in createPBufferSurface()
327 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in createSurface()
343 makeCurrent(EGL_NO_SURFACE); in destroySurface()
357 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy()
363 mPBufferSurface = EGL_NO_SURFACE; in destroy()
364 mCurrentSurface = EGL_NO_SURFACE; in destroy()
370 if (surface == EGL_NO_SURFACE) { in makeCurrent()
406 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, "Tried to beginFrame on EGL_NO_SURFACE!"); in beginFrame()
DOpenGLPipeline.cpp52 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in getFrame()
142 mEglManager.makeCurrent(EGL_NO_SURFACE); in onStop()
147 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
149 mEglSurface = EGL_NO_SURFACE; in setSurface()
157 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
167 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.cpp40 mEglSurface(EGL_NO_SURFACE), in SurfaceTextureClientTest()
83 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
98 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
176 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
179 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
189 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
209 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
535 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
544 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
770 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()
/frameworks/native/cmds/flatland/
DGLHelper.cpp30 mDummySurface(EGL_NO_SURFACE), in GLHelper()
115 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown()
123 if (mDummySurface != EGL_NO_SURFACE) { in tearDown()
129 mDummySurface = EGL_NO_SURFACE; in tearDown()
171 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in destroySurface()
175 *surface = EGL_NO_SURFACE; in destroySurface()
214 if (s == EGL_NO_SURFACE) { in createNamedSurfaceTexture()
279 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/support/heifwriter/src/main/java/androidx/heifwriter/
DEglWindowSurface.java44 private EGLSurface mEGLSurface = EGL14.EGL_NO_SURFACE;
137 mEGLSurface = EGL14.EGL_NO_SURFACE; in releaseEGLSurface()
157 mEGLSurface = EGL14.EGL_NO_SURFACE; in release()
175 if (!EGL14.eglMakeCurrent(mEGLDisplay, EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_SURFACE, in makeUnCurrent()
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp706 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
712 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
720 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurface()
733 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglCreateWindowSurface()
743 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
754 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
765 if (surface != EGL_NO_SURFACE) { in eglCreateWindowSurface()
776 return EGL_NO_SURFACE; in eglCreateWindowSurface()
798 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglCreatePixmapSurface()
804 if (surface != EGL_NO_SURFACE) { in eglCreatePixmapSurface()
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLImpl.java64 return EGL10.EGL_NO_SURFACE; in eglCreatePbufferSurface()
73 return EGL10.EGL_NO_SURFACE; in eglCreatePixmapSurface()
103 return EGL10.EGL_NO_SURFACE; in eglCreateWindowSurface()
141 return EGL10.EGL_NO_SURFACE; in eglGetCurrentSurface()
/frameworks/native/opengl/libagl/
Degl.cpp697 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
702 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
785 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
790 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
1290 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createWindowSurface()
1292 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1299 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1303 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in createWindowSurface()
1313 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1339 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createPixmapSurface()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp57 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in getFrame()
200 mEglManager.makeCurrent(EGL_NO_SURFACE); in onStop()
206 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
208 mEglSurface = EGL_NO_SURFACE; in setSurface()
216 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
226 return CC_UNLIKELY(mEglSurface != EGL_NO_SURFACE); in isSurfaceReady()
/frameworks/native/services/surfaceflinger/RenderEngine/
DSurface.cpp43 if (mEGLSurface != EGL_NO_SURFACE) { in setNativeWindow()
45 mEGLSurface = EGL_NO_SURFACE; in setNativeWindow()
DRenderEngine.cpp105 LOG_ALWAYS_FATAL_IF(dummy == EGL_NO_SURFACE, "can't create dummy pbuffer"); in create()
137 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in create()
160 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~RenderEngine()
215 eglMakeCurrent(mEGLDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in resetCurrentSurface()
/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/tools/glgen/stubs/egl/
DEGL14cHeader.cpp90 …= _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterpret_cast<jlong>(EGL_NO_SURFACE)); in nativeClassInit()
129 (EGLSurface)handle == EGL_NO_SURFACE) { in toEGLHandle()
/frameworks/native/opengl/tests/angeles/include/GLES/
Degltypes.h20 #define EGL_NO_SURFACE ((EGLSurface)0) macro
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestBuffer.cpp120 mEglSurface(EGL_NO_SURFACE), in Hwc2TestEglManager()
187 if (mEglSurface == EGL_NO_SURFACE) { in initialize()
217 if (mEglSurface != EGL_NO_SURFACE) in cleanup()
222 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in cleanup()
/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