Searched refs:EGL_NO_SURFACE (Results 1 - 25 of 57) sorted by relevance

123

/frameworks/native/opengl/tests/angeles/include/GLES/
H A Degltypes.h20 #define EGL_NO_SURFACE ((EGLSurface)0) macro
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGLToGL.h31 mProducerEglSurface(EGL_NO_SURFACE),
41 ASSERT_NE(EGL_NO_SURFACE, mProducerEglSurface);
53 if (mProducerEglSurface != EGL_NO_SURFACE) {
H A DSurfaceTextureGLThreadToGL.h75 eglMakeCurrent(mProducerEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
H A DSRGB_test.cpp52 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE),
58 if (mEglSurface != EGL_NO_SURFACE) {
64 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
277 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
435 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
445 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
H A DSurfaceTextureGLToGL_test.cpp186 mProducerEglSurface = EGL_NO_SURFACE;
236 mProducerEglSurface = EGL_NO_SURFACE;
263 mProducerEglSurface = EGL_NO_SURFACE;
277 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE,
278 EGL_NO_SURFACE, EGL_NO_CONTEXT));
300 mProducerEglSurface = EGL_NO_SURFACE;
317 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE,
318 EGL_NO_SURFACE, EGL_NO_CONTEXT));
H A DGLTest.h39 mEglSurface(EGL_NO_SURFACE),
H A DSurfaceTextureClient_test.cpp36 mEglSurface(EGL_NO_SURFACE),
78 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
93 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
171 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
174 if (eglSurface != EGL_NO_SURFACE) {
184 EXPECT_NE(EGL_NO_SURFACE, eglSurface);
204 if (eglSurface != EGL_NO_SURFACE) {
511 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEX
[all...]
H A DGLTest.cpp88 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
113 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
124 if (mEglSurface != EGL_NO_SURFACE) {
128 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp72 , mPBufferSurface(EGL_NO_SURFACE)
74 , mCurrentSurface(EGL_NO_SURFACE)
187 if (mPBufferSurface == EGL_NO_SURFACE) {
197 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE,
205 makeCurrent(EGL_NO_SURFACE);
223 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
229 mPBufferSurface = EGL_NO_SURFACE;
230 mCurrentSurface = EGL_NO_SURFACE;
236 if (surface == EGL_NO_SURFACE) {
[all...]
H A DCanvasContext.cpp44 , mEglSurface(EGL_NO_SURFACE)
78 if (mEglSurface != EGL_NO_SURFACE) {
80 mEglSurface = EGL_NO_SURFACE;
87 if (mEglSurface != EGL_NO_SURFACE) {
105 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE,
203 LOG_ALWAYS_FATAL_IF(!mCanvas || mEglSurface == EGL_NO_SURFACE,
255 if (CC_UNLIKELY(!mCanvas || mEglSurface == EGL_NO_SURFACE)) {
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp38 if (mEglSurface != EGL_NO_SURFACE) {
55 if (mEglSurface == EGL_NO_SURFACE) {
65 if (mEglSurface != EGL_NO_SURFACE) {
83 if (mEglSurface == EGL_NO_SURFACE) {
162 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
169 if (mEglSurface != EGL_NO_SURFACE) {
176 mEglSurface = EGL_NO_SURFACE;
H A DEglWindow.h37 mEglSurface(EGL_NO_SURFACE),
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp31 mDummySurface(EGL_NO_SURFACE),
116 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
124 if (mDummySurface != EGL_NO_SURFACE) {
130 mDummySurface = EGL_NO_SURFACE;
172 eglMakeCurrent(mDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE,
176 *surface = EGL_NO_SURFACE;
215 if (s == EGL_NO_SURFACE) {
294 if (s == EGL_NO_SURFACE) {
[all...]
H A DMain.cpp290 mSurface(EGL_NO_SURFACE) {
333 if (mSurface != EGL_NO_SURFACE) {
385 mSurface(EGL_NO_SURFACE),
386 mWindowSurface(EGL_NO_SURFACE) {
452 if (mWindowSurface != EGL_NO_SURFACE) {
/frameworks/base/services/core/jni/
H A Dcom_android_server_AssetAtlasService.cpp84 if (surface != EGL_NO_SURFACE) eglDestroySurface(display, surface); \
86 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); \
142 EGLSurface surface = EGL_NO_SURFACE;
155 if (surface == EGL_NO_SURFACE) {
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp57 mEglSurface(EGL_NO_SURFACE),
120 ASSERT_NE(EGL_NO_SURFACE, mEglSurface);
145 if (mDisplaySecs > 0 && mEglSurface != EGL_NO_SURFACE) {
156 if (mEglSurface != EGL_NO_SURFACE) {
488 if (mEglSurface != EGL_NO_SURFACE) {
490 mEglSurface = EGL_NO_SURFACE;
495 ASSERT_NE(EGL_NO_SURFACE, mEglSurface) ;
789 if (mEglSurface != EGL_NO_SURFACE) {
791 mEglSurface = EGL_NO_SURFACE;
797 ASSERT_NE(EGL_NO_SURFACE, mEglSurfac
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp416 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE);
447 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE);
488 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE);
500 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE);
511 if (surface != EGL_NO_SURFACE) {
521 return EGL_NO_SURFACE;
535 if (surface != EGL_NO_SURFACE) {
541 return EGL_NO_SURFACE;
554 if (surface != EGL_NO_SURFACE) {
560 return EGL_NO_SURFACE;
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLImpl.java64 return EGL10.EGL_NO_SURFACE;
73 return EGL10.EGL_NO_SURFACE;
103 return EGL10.EGL_NO_SURFACE;
141 return EGL10.EGL_NO_SURFACE;
/frameworks/base/core/jni/
H A Dandroid_opengl_EGLExt.cpp88 jobject localeglNoSurfaceObject = _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterpret_cast<jlong>(EGL_NO_SURFACE));
99 jfieldID noSurfaceFieldID = _env->GetStaticFieldID(eglClass, "EGL_NO_SURFACE", "Landroid/opengl/EGLSurface;");
126 (EGLSurface)handle == EGL_NO_SURFACE) {
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DEGL14cHeader.cpp87 jobject localeglNoSurfaceObject = _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterpret_cast<jlong>(EGL_NO_SURFACE));
98 jfieldID noSurfaceFieldID = _env->GetStaticFieldID(eglClass, "EGL_NO_SURFACE", "Landroid/opengl/EGLSurface;");
126 (EGLSurface)handle == EGL_NO_SURFACE) {
H A DEGLExtcHeader.cpp88 jobject localeglNoSurfaceObject = _env->NewObject(eglsurfaceClass, eglsurfaceConstructor, reinterpret_cast<jlong>(EGL_NO_SURFACE));
99 jfieldID noSurfaceFieldID = _env->GetStaticFieldID(eglClass, "EGL_NO_SURFACE", "Landroid/opengl/EGLSurface;");
126 (EGLSurface)handle == EGL_NO_SURFACE) {
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp86 eglMakeCurrent(display(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); local
96 if (context() == EGL_NO_CONTEXT || surface() == EGL_NO_SURFACE)
123 (surface() != EGL_NO_SURFACE);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java221 if (mEglSurface == null || mEglSurface == EGL10.EGL_NO_SURFACE) {
268 if (mEglSurface != null && mEglSurface != EGL10.EGL_NO_SURFACE) {
269 mEgl.eglMakeCurrent(mEglDisplay, EGL10.EGL_NO_SURFACE,
270 EGL10.EGL_NO_SURFACE,
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp148 window, 0)) == EGL_NO_SURFACE )
173 eglMakeCurrent( EGL_NO_DISPLAY, EGL_NO_SURFACE,
174 EGL_NO_SURFACE, EGL_NO_CONTEXT );
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp68 mSurface(EGL_NO_SURFACE),
137 if (mSurface != EGL_NO_SURFACE) {
139 mSurface = EGL_NO_SURFACE;
406 if (mSurface != EGL_NO_SURFACE) {
408 mSurface = EGL_NO_SURFACE;

Completed in 411 milliseconds

123