/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | BlockingGLTextureView.java | 112 EGLContext mEglContext; field in BlockingGLTextureView.EglHelper 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in start() 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { in start() 179 mEglContext = null; in start() 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface() 249 return (GL10) mEglContext.getGL(); in createGL() 278 if (mEglContext != null) { in finish() 279 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finish() 280 mEglContext = null; in finish()
|
/frameworks/av/cmds/screenrecord/ |
D | EglWindow.cpp | 93 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in makeCurrent() 149 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, in eglSetupContext() 151 if (mEglContext == EGL_NO_CONTEXT) { in eglSetupContext() 165 if (mEglContext != EGL_NO_CONTEXT) { in eglRelease() 166 eglDestroyContext(mEglDisplay, mEglContext); in eglRelease() 175 mEglContext = EGL_NO_CONTEXT; in eglRelease()
|
D | EglWindow.h | 36 mEglContext(EGL_NO_CONTEXT), in EglWindow() 76 EGLContext mEglContext; variable
|
/frameworks/native/libs/gui/tests/ |
D | SRGB_test.cpp | 58 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE), in SRGBTest() 67 if (mEglContext != EGL_NO_CONTEXT) { in ~SRGBTest() 68 eglDestroyContext(mEglDisplay, mEglContext); in ~SRGBTest() 240 EGLContext mEglContext; member in android::SRGBTest 276 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, in createEGLSurface() 279 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in createEGLSurface() 287 mEglContext)); in createEGLSurface() 447 mEglContext)); in TEST_F() 459 mEglContext)); in TEST_F()
|
D | SurfaceTextureClient_test.cpp | 40 mEglContext(EGL_NO_CONTEXT), in SurfaceTextureClientTest() 84 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); in SetUp() 86 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp() 88 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); in SetUp() 98 eglDestroyContext(mEglDisplay, mEglContext); in TearDown() 123 EGLContext mEglContext; member in android::SurfaceTextureClientTest 191 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); in TEST_F() 205 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); in TEST_F() 725 mEglContext(EGL_NO_CONTEXT) { in MultiSurfaceTextureClientTest() 754 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, in SetUp() [all …]
|
D | GLTest.h | 41 mEglContext(EGL_NO_CONTEXT), in GLTest() 66 EGLContext mEglContext; variable
|
D | SurfaceTextureGLToGL_test.cpp | 120 mEglContext)); in TEST_F() 179 mEglContext)); in TEST_F() 226 mEglContext)); in TEST_F() 371 mEglContext)); in TEST_F() 435 mEglContext)); in TEST_F() 499 mEglContext)); in TEST_F()
|
D | GLTest.cpp | 90 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, in SetUp() 93 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp() 96 mEglContext)); in SetUp() 121 if (mEglContext != EGL_NO_CONTEXT) { in TearDown() 122 eglDestroyContext(mEglDisplay, mEglContext); in TearDown()
|
D | SurfaceTextureMultiContextGL.h | 63 mEglContext)); in SetUp()
|
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 92 , mEglContext(EGL_NO_CONTEXT) in EglManager() 184 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs); in createContext() 185 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, in createContext() 254 eglDestroyContext(mEglDisplay, mEglContext); in destroy() 261 mEglContext = EGL_NO_CONTEXT; in destroy() 273 if (!eglMakeCurrent(mEglDisplay, surface, surface, mEglContext)) { in makeCurrent()
|
D | EglManager.h | 104 EGLContext mEglContext; variable
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GLTextureViewActivity.java | 143 private EGLContext mEglContext; field in GLTextureViewActivity.RenderThread 347 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finishGL() 352 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || in checkCurrent() 354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 381 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in initGL() 395 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL() 400 mGL = mEglContext.getGL(); in initGL()
|
D | SingleFrameTextureViewTestActivity.java | 87 private EGLContext mEglContext; in onSurfaceTextureAvailable() 121 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in onSurfaceTextureAvailable() 145 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in onSurfaceTextureAvailable() 159 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in onSurfaceTextureAvailable()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
D | ImageFlipRenderThread.java | 97 private EGLContext mEglContext; field in ImageFlipRenderThread 300 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finishGL() 305 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || in checkCurrent() 307 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in checkCurrent() 334 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in initGL() 348 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLSurfaceView.java | 1034 mEglContext = null; in start() 1042 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); in start() 1044 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { in start() 1045 mEglContext = null; in start() 1049 … Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); in start() 1107 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in createSurface() 1125 GL gl = mEglContext.getGL(); in createGL() 1182 if (mEglContext != null) { in finish() 1185 view.mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext); in finish() 1187 mEglContext = null; in finish() [all …]
|
/frameworks/native/libs/gui/ |
D | GLConsumer.cpp | 168 mEglContext(EGL_NO_CONTEXT), in GLConsumer() 196 mEglContext(EGL_NO_CONTEXT), in GLConsumer() 559 if (mEglContext == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked() 560 mEglContext = ctx; in checkAndUpdateEglStateLocked() 569 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) { in checkAndUpdateEglStateLocked() 575 mEglContext = ctx; in checkAndUpdateEglStateLocked() 615 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) { in detachFromContext() 630 mEglContext = EGL_NO_CONTEXT; in detachFromContext() 670 mEglContext = ctx; in attachToContext() 998 if (mEglContext != ctx || mEglContext == EGL_NO_CONTEXT) { in doGLFenceWaitLocked()
|
/frameworks/av/media/libstagefright/tests/ |
D | SurfaceMediaSource_test.cpp | 54 mEglContext(EGL_NO_CONTEXT) { in GLTest() 118 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, in SetUp() 121 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); in SetUp() 124 mEglContext)); in SetUp() 149 if (mEglContext != EGL_NO_CONTEXT) { in TearDown() 150 eglDestroyContext(mEglDisplay, mEglContext); in TearDown() 338 EGLContext mEglContext; member in android::GLTest 494 mEglContext)); in setUpEGLSurfaceFromMediaRecorder() 796 mEglContext)); in TEST_F()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 129 private EGLContext mEglContext; field in ImageWallpaper.DrawableEngine 735 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in finishGL() 759 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); in initGL() 760 if (mEglContext == EGL_NO_CONTEXT) { in initGL() 771 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext); in initGL() 781 mEgl.eglDestroyContext(mEglDisplay, mEglContext); in initGL() 801 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { in initGL()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ColorFade.java | 90 private EGLContext mEglContext; field in ColorFade 553 if (mEglContext == null) { 558 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig, 560 if (mEglContext == null) { 668 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/native/include/gui/ |
D | GLConsumer.h | 466 EGLContext mEglContext; variable
|