/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureMultiContextGL.h | 30 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()
|
D | SurfaceTextureGLToGL.h | 32 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()
|
D | SurfaceTextureClient_test.cpp | 37 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 …]
|
D | SRGB_test.cpp | 52 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()
|
D | GLTest.cpp | 90 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()
|
D | SurfaceTextureMultiContextGL_test.cpp | 107 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/ |
D | EglWindow.cpp | 149 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()
|
D | EglWindow.h | 36 mEglContext(EGL_NO_CONTEXT), in EglWindow()
|
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 71 , 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/ |
D | com_android_server_AssetAtlasService.cpp | 85 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/ |
D | GLHelper.cpp | 30 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/ |
D | gl_env.cpp | 86 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/ |
D | egl_tls.cpp | 142 return EGL_NO_CONTEXT; in getContext() 145 if (!tls) return EGL_NO_CONTEXT; in getContext()
|
/frameworks/native/opengl/tests/gl_perf/ |
D | gl2_perf.cpp | 106 context = eglCreateContext(dpy, myConfig, EGL_NO_CONTEXT, context_attribs); in main() 108 if (context == EGL_NO_CONTEXT) { in main()
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 134 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/ |
D | RenderTarget.java | 228 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/ |
D | egltypes.h | 18 #define EGL_NO_CONTEXT ((EGLContext)0) macro
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGLExtcHeader.cpp | 84 …= _env->NewObject(eglcontextClass, eglcontextConstructor, reinterpret_cast<jlong>(EGL_NO_CONTEXT)); in nativeClassInit() 116 (EGLContext)handle == EGL_NO_CONTEXT) { in toEGLHandle()
|
D | EGL14cHeader.cpp | 83 …= _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/ |
D | BlockingGLTextureView.java | 142 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/ |
D | EGL_ANDROID_image_native_buffer.txt | 77 <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/ |
D | android_opengl_EGLExt.cpp | 84 …= _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/ |
D | SurfaceMediaSource_test.cpp | 58 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/ |
D | gl_yuvtex.cpp | 131 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/ |
D | Image.cpp | 33 mImage = eglCreateImageKHR(display, EGL_NO_CONTEXT, in Image()
|