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.cpp38 if (mEglSurface != EGL_NO_SURFACE) { in createWindow()
55 if (mEglSurface == EGL_NO_SURFACE) { in createWindow()
65 if (mEglSurface != EGL_NO_SURFACE) { in createPbuffer()
83 if (mEglSurface == EGL_NO_SURFACE) { in createPbuffer()
162 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in eglRelease()
169 if (mEglSurface != EGL_NO_SURFACE) { in eglRelease()
176 mEglSurface = EGL_NO_SURFACE; in eglRelease()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp77 , mPBufferSurface(EGL_NO_SURFACE) in EglManager()
79 , mCurrentSurface(EGL_NO_SURFACE) in EglManager()
180 if (mPBufferSurface == EGL_NO_SURFACE) { in createPBufferSurface()
189 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in createSurface()
197 makeCurrent(EGL_NO_SURFACE); in destroySurface()
210 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy()
216 mPBufferSurface = EGL_NO_SURFACE; in destroy()
217 mCurrentSurface = EGL_NO_SURFACE; in destroy()
223 if (surface == EGL_NO_SURFACE) { in makeCurrent()
242 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in beginFrame()
DCanvasContext.cpp77 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
79 mEglSurface = EGL_NO_SURFACE; in setSurface()
86 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
104 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in requireSurface()
226 LOG_ALWAYS_FATAL_IF(!mCanvas || mEglSurface == EGL_NO_SURFACE, in draw()
286 if (CC_UNLIKELY(!mCanvas || mEglSurface == EGL_NO_SURFACE)) { in doFrame()
/frameworks/native/libs/gui/tests/
DSurfaceTextureGLToGL.h31 mProducerEglSurface(EGL_NO_SURFACE), in SurfaceTextureGLToGLTest()
41 ASSERT_NE(EGL_NO_SURFACE, mProducerEglSurface); in SetUp()
53 if (mProducerEglSurface != EGL_NO_SURFACE) { in TearDown()
DSurfaceTextureGLToGL_test.cpp186 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F()
236 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F()
268 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F()
282 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, in TEST_F()
283 EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_F()
305 mProducerEglSurface = EGL_NO_SURFACE; in TEST_F()
322 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, in TEST_F()
323 EGL_NO_SURFACE, EGL_NO_CONTEXT)); in TEST_F()
DSRGB_test.cpp58 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE), in SRGBTest()
64 if (mEglSurface != EGL_NO_SURFACE) { in ~SRGBTest()
70 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in ~SRGBTest()
284 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in createEGLSurface()
446 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
456 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in TEST_F()
DSurfaceTextureClient_test.cpp39 mEglSurface(EGL_NO_SURFACE), in SurfaceTextureClientTest()
81 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
96 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
174 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
177 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
187 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
207 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
518 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
527 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
749 ASSERT_NE(EGL_NO_SURFACE, mEglSurfaces[i]); in SetUp()
[all …]
DGLTest.cpp88 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
113 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown()
124 if (mEglSurface != EGL_NO_SURFACE) { in TearDown()
128 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TearDown()
DSurfaceTextureGLThreadToGL.h75 eglMakeCurrent(mProducerEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in threadLoop()
DSurfaceTextureMultiContextGL_test.cpp106 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
279 ASSERT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in TEST_F()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp58 mEglSurface(EGL_NO_SURFACE), in GLTest()
121 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
146 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown()
157 if (mEglSurface != EGL_NO_SURFACE) { in TearDown()
489 if (mEglSurface != EGL_NO_SURFACE) { in setUpEGLSurfaceFromMediaRecorder()
491 mEglSurface = EGL_NO_SURFACE; in setUpEGLSurfaceFromMediaRecorder()
496 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in setUpEGLSurfaceFromMediaRecorder()
790 if (mEglSurface != EGL_NO_SURFACE) { in TEST_F()
792 mEglSurface = EGL_NO_SURFACE; in TEST_F()
798 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in TEST_F()
[all …]
/frameworks/native/cmds/flatland/
DGLHelper.cpp31 mDummySurface(EGL_NO_SURFACE), in GLHelper()
116 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in tearDown()
124 if (mDummySurface != EGL_NO_SURFACE) { in tearDown()
130 mDummySurface = EGL_NO_SURFACE; in tearDown()
172 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, in destroySurface()
176 *surface = EGL_NO_SURFACE; in destroySurface()
215 if (s == EGL_NO_SURFACE) { in createNamedSurfaceTexture()
294 if (s == EGL_NO_SURFACE) { in createWindowSurface()
DMain.cpp290 mSurface(EGL_NO_SURFACE) { in Layer()
333 if (mSurface != EGL_NO_SURFACE) { in tearDown()
385 mSurface(EGL_NO_SURFACE), in BenchmarkRunner()
386 mWindowSurface(EGL_NO_SURFACE) { in BenchmarkRunner()
452 if (mWindowSurface != EGL_NO_SURFACE) { in tearDown()
/frameworks/base/services/core/jni/
Dcom_android_server_AssetAtlasService.cpp57 if (surface != EGL_NO_SURFACE) eglDestroySurface(display, surface); \
59 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); \
118 EGLSurface surface = EGL_NO_SURFACE; in com_android_server_AssetAtlasService_upload()
131 if (surface == EGL_NO_SURFACE) { in com_android_server_AssetAtlasService_upload()
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp456 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurface()
501 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglCreateWindowSurface()
513 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
523 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
534 if (surface != EGL_NO_SURFACE) { in eglCreateWindowSurface()
544 return EGL_NO_SURFACE; in eglCreateWindowSurface()
558 if (surface != EGL_NO_SURFACE) { in eglCreatePixmapSurface()
564 return EGL_NO_SURFACE; in eglCreatePixmapSurface()
577 if (surface != EGL_NO_SURFACE) { in eglCreatePbufferSurface()
583 return EGL_NO_SURFACE; in eglCreatePbufferSurface()
[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.cpp686 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
691 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
773 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
778 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
1260 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createWindowSurface()
1262 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1269 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1273 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in createWindowSurface()
1283 return setError(EGL_BAD_MATCH, EGL_NO_SURFACE); in createWindowSurface()
1309 return setError(EGL_BAD_DISPLAY, EGL_NO_SURFACE); in createPixmapSurface()
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.cpp86 eglMakeCurrent(display(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in Deactivate()
96 if (context() == EGL_NO_CONTEXT || surface() == EGL_NO_SURFACE) in Activate()
123 (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/services/surfaceflinger/
DDisplayDevice.cpp80 mSurface(EGL_NO_SURFACE), in DisplayDevice()
148 if (mSurface != EGL_NO_SURFACE) { in ~DisplayDevice()
150 mSurface = EGL_NO_SURFACE; in ~DisplayDevice()
412 if (mSurface != EGL_NO_SURFACE) { in setDisplaySize()
414 mSurface = EGL_NO_SURFACE; in setDisplaySize()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp148 window, 0)) == EGL_NO_SURFACE ) in init_gl_surface()
173 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface()
174 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.cpp91 …= _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterpret_cast<jlong>(EGL_NO_SURFACE)); in nativeClassInit()
130 (EGLSurface)handle == EGL_NO_SURFACE) { in toEGLHandle()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp244 window, 0)) == EGL_NO_SURFACE ) in init_gl_surface()
284 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE, in free_gl_surface()
285 EGL_NO_SURFACE, EGL_NO_CONTEXT ); in free_gl_surface()
/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