Home
last modified time | relevance | path

Searched refs:EGL_NO_SURFACE (Results 1 – 25 of 66) 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.cpp93 , mPBufferSurface(EGL_NO_SURFACE) in EglManager()
94 , mCurrentSurface(EGL_NO_SURFACE) in EglManager()
219 if (mPBufferSurface == EGL_NO_SURFACE) { in createPBufferSurface()
228 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in createSurface()
243 makeCurrent(EGL_NO_SURFACE); in destroySurface()
256 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy()
262 mPBufferSurface = EGL_NO_SURFACE; in destroy()
263 mCurrentSurface = EGL_NO_SURFACE; in destroy()
269 if (surface == EGL_NO_SURFACE) { in makeCurrent()
302 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in beginFrame()
DCanvasContext.cpp102 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
104 mEglSurface = EGL_NO_SURFACE; in setSurface()
113 if (mEglSurface != EGL_NO_SURFACE) { in setSurface()
150 mEglManager.makeCurrent(EGL_NO_SURFACE); in setStopped()
294 LOG_ALWAYS_FATAL_IF(!mCanvas || mEglSurface == EGL_NO_SURFACE, in draw()
554 if (CC_UNLIKELY(mEglSurface == EGL_NO_SURFACE)) return; in doFrame()
556 if (CC_UNLIKELY(!mCanvas || mEglSurface == EGL_NO_SURFACE)) return; in doFrame()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp53 mEglSurface(EGL_NO_SURFACE), in GLTest()
116 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
141 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) { in TearDown()
152 if (mEglSurface != EGL_NO_SURFACE) { in TearDown()
484 if (mEglSurface != EGL_NO_SURFACE) { in setUpEGLSurfaceFromMediaRecorder()
486 mEglSurface = EGL_NO_SURFACE; in setUpEGLSurfaceFromMediaRecorder()
491 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in setUpEGLSurfaceFromMediaRecorder()
785 if (mEglSurface != EGL_NO_SURFACE) { in TEST_F()
787 mEglSurface = EGL_NO_SURFACE; in TEST_F()
793 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ; in TEST_F()
[all …]
/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()
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()
82 ASSERT_NE(EGL_NO_SURFACE, mEglSurface); in SetUp()
97 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
175 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
178 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
188 EXPECT_NE(EGL_NO_SURFACE, eglSurface); in TEST_F()
208 if (eglSurface != EGL_NO_SURFACE) { in TEST_F()
534 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
543 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
769 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.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.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.cpp464 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurface()
509 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglCreateWindowSurface()
521 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
531 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
542 if (surface != EGL_NO_SURFACE) { in eglCreateWindowSurface()
552 return EGL_NO_SURFACE; in eglCreateWindowSurface()
566 if (surface != EGL_NO_SURFACE) { in eglCreatePixmapSurface()
572 return EGL_NO_SURFACE; in eglCreatePixmapSurface()
585 if (surface != EGL_NO_SURFACE) { in eglCreatePbufferSurface()
591 return EGL_NO_SURFACE; in eglCreatePbufferSurface()
[all …]
/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/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/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/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/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/services/surfaceflinger/
DDisplayDevice.cpp92 mSurface(EGL_NO_SURFACE), in DisplayDevice()
174 if (mSurface != EGL_NO_SURFACE) { in ~DisplayDevice()
176 mSurface = EGL_NO_SURFACE; in ~DisplayDevice()
472 if (mSurface != EGL_NO_SURFACE) {
474 mSurface = EGL_NO_SURFACE;
/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/angeles/include/GLES/
Degltypes.h20 #define EGL_NO_SURFACE ((EGLSurface)0) macro
/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