Home
last modified time | relevance | path

Searched refs:EGL_NO_CONTEXT (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/native/libs/gui/tests/
DSurfaceTextureMultiContextGL.h30 mSecondEglContext(EGL_NO_CONTEXT) { in SurfaceTextureMultiContextGLTest()
38 EGL_NO_CONTEXT, getContextAttribs()); in SetUp()
40 ASSERT_NE(EGL_NO_CONTEXT, mSecondEglContext); in SetUp()
50 EGL_NO_CONTEXT, getContextAttribs()); in SetUp()
52 ASSERT_NE(EGL_NO_CONTEXT, mThirdEglContext); in SetUp()
66 if (mThirdEglContext != EGL_NO_CONTEXT) { in TearDown()
69 if (mSecondEglContext != EGL_NO_CONTEXT) { in TearDown()
DSurfaceTextureGLToGL.h32 mProducerEglContext(EGL_NO_CONTEXT) { in SurfaceTextureGLToGLTest()
44 EGL_NO_CONTEXT, getContextAttribs()); in SetUp()
46 ASSERT_NE(EGL_NO_CONTEXT, mProducerEglContext); in SetUp()
50 if (mProducerEglContext != EGL_NO_CONTEXT) { in TearDown()
DSurfaceTextureClient_test.cpp37 mEglContext(EGL_NO_CONTEXT) { in SurfaceTextureClientTest()
80 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); in SetUp()
82 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp()
93 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TearDown()
511 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
520 eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in TEST_F()
682 mEglContext(EGL_NO_CONTEXT) { in MultiSurfaceTextureClientTest()
684 mEglSurfaces[i] = EGL_NO_CONTEXT; in MultiSurfaceTextureClientTest()
711 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, in SetUp()
714 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp()
[all …]
DSRGB_test.cpp52 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE), in SRGBTest()
61 if (mEglContext != EGL_NO_CONTEXT) { in ~SRGBTest()
65 EGL_NO_CONTEXT); in ~SRGBTest()
269 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, in createEGLSurface()
272 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in createEGLSurface()
DGLTest.cpp90 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, in SetUp()
93 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp()
121 if (mEglContext != EGL_NO_CONTEXT) { in TearDown()
129 EGL_NO_CONTEXT); in TearDown()
DSurfaceTextureMultiContextGL_test.cpp107 EGL_NO_CONTEXT)); in TEST_F()
280 EGL_NO_CONTEXT)); in TEST_F()
429 EGL_NO_CONTEXT, getContextAttribs()); in TEST_F()
431 ASSERT_NE(EGL_NO_CONTEXT, mSecondEglContext); in TEST_F()
/frameworks/av/cmds/screenrecord/
DEglWindow.cpp149 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, in eglSetupContext()
151 if (mEglContext == EGL_NO_CONTEXT) { in eglSetupContext()
163 EGL_NO_CONTEXT); in eglRelease()
165 if (mEglContext != EGL_NO_CONTEXT) { in eglRelease()
175 mEglContext = EGL_NO_CONTEXT; in eglRelease()
DEglWindow.h36 mEglContext(EGL_NO_CONTEXT), in EglWindow()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp71 , mEglContext(EGL_NO_CONTEXT) in EglManager()
151 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs); in createContext()
152 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, in createContext()
223 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in destroy()
228 mEglContext = EGL_NO_CONTEXT; in destroy()
240 eglMakeCurrent(mEglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in makeCurrent()
/frameworks/base/services/core/jni/
Dcom_android_server_AssetAtlasService.cpp85 if (context != EGL_NO_CONTEXT) eglDestroyContext(display, context); \
86 eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); \
146 EGLContext context = eglCreateContext(display, configs[0], EGL_NO_CONTEXT, attrs); in com_android_server_AssetAtlasService_upload()
147 if (context == EGL_NO_CONTEXT) { in com_android_server_AssetAtlasService_upload()
169 image = eglCreateImageKHR(display, EGL_NO_CONTEXT, in com_android_server_AssetAtlasService_upload()
/frameworks/native/cmds/flatland/
DGLHelper.cpp30 mContext(EGL_NO_CONTEXT), in GLHelper()
78 mContext = eglCreateContext(mDisplay, mConfig, EGL_NO_CONTEXT, in setUp()
80 if (mContext == EGL_NO_CONTEXT) { in setUp()
117 EGL_NO_CONTEXT); in tearDown()
120 if (mContext != EGL_NO_CONTEXT) { in tearDown()
129 mContext = EGL_NO_CONTEXT; in tearDown()
173 EGL_NO_CONTEXT); in destroySurface()
/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()
121 return (context() != EGL_NO_CONTEXT) && in InitWithCurrentContext()
179 EGL_NO_CONTEXT, in InitWithNewContext()
200 return eglGetCurrentContext() != EGL_NO_CONTEXT; in IsAnyContextActive()
/frameworks/native/opengl/libs/EGL/
Degl_tls.cpp142 return EGL_NO_CONTEXT; in getContext()
145 if (!tls) return EGL_NO_CONTEXT; in getContext()
/frameworks/native/opengl/tests/gl_perf/
Dgl2_perf.cpp106 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
108 if (context == EGL_NO_CONTEXT) { in main()
/frameworks/native/libs/gui/
DGLConsumer.cpp134 mEglContext(EGL_NO_CONTEXT), in GLConsumer()
161 mEglContext(EGL_NO_CONTEXT), in GLConsumer()
508 if (mEglContext == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked()
518 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked()
564 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) { in detachFromContext()
569 if (dpy != EGL_NO_DISPLAY && ctx != EGL_NO_CONTEXT) { in detachFromContext()
579 mEglContext = EGL_NO_CONTEXT; in detachFromContext()
609 if (ctx == EGL_NO_CONTEXT) { in attachToContext()
936 if (mEglContext != ctx || mEglContext == EGL_NO_CONTEXT) { in doGLFenceWaitLocked()
1135 EGLImageKHR image = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, in createImage()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java228 EGL10.EGL_NO_CONTEXT); in focusNone()
243 return current != null ? current.getContext() : EGL10.EGL_NO_CONTEXT; in currentContext()
249 mContext = EGL10.EGL_NO_CONTEXT; in release()
385 EGLContext ctxt = egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
410 if (context == EGL10.EGL_NO_CONTEXT) { in checkContext()
/frameworks/native/opengl/tests/angeles/include/GLES/
Degltypes.h18 #define EGL_NO_CONTEXT ((EGLContext)0) macro
/frameworks/native/opengl/tools/glgen/stubs/egl/
DEGLExtcHeader.cpp84 …= _env->NewObject(eglcontextClass, eglcontextConstructor, reinterpret_cast<jlong>(EGL_NO_CONTEXT)); in nativeClassInit()
116 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle()
DEGL14cHeader.cpp83 …= _env->NewObject(eglcontextClass, eglcontextConstructor, reinterpret_cast<jlong>(EGL_NO_CONTEXT)); in nativeClassInit()
116 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); in createContext()
178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { in start()
271 EGL10.EGL_NO_CONTEXT); in destroySurfaceImp()
/frameworks/native/opengl/specs/
DEGL_ANDROID_image_native_buffer.txt77 <ctx> must be EGL_NO_CONTEXT, <buffer> must be a pointer to a valid
88 EGL_NO_CONTEXT, the error EGL_BAD_CONTEXT is generated.
/frameworks/base/core/jni/
Dandroid_opengl_EGLExt.cpp84 …= _env->NewObject(eglcontextClass, eglcontextConstructor, reinterpret_cast<jlong>(EGL_NO_CONTEXT)); in nativeClassInit()
116 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp58 mEglContext(EGL_NO_CONTEXT) { in GLTest()
122 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, in SetUp()
125 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp()
153 if (mEglContext != EGL_NO_CONTEXT) { in TearDown()
811 EGL_NO_CONTEXT)); in TEST_F()
895 EGL_NO_CONTEXT)); in TEST_F()
938 EGL_NO_CONTEXT)); in TEST_F()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp131 EGLImageKHR img = eglCreateImageKHR(dpy, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, in setupYuvTexSurface()
277 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main()
279 if (context == EGL_NO_CONTEXT) { in main()
/frameworks/base/libs/hwui/
DImage.cpp33 mImage = eglCreateImageKHR(display, EGL_NO_CONTEXT, in Image()

123