/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.h | 36 mEglContext(EGL_NO_CONTEXT), 76 EGLContext mEglContext; member in class:android::EglWindow
|
H A D | EglWindow.cpp | 93 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 149 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, 151 if (mEglContext == EGL_NO_CONTEXT) { 165 if (mEglContext != EGL_NO_CONTEXT) { 166 eglDestroyContext(mEglDisplay, mEglContext); 175 mEglContext = EGL_NO_CONTEXT;
|
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.h | 40 mEglContext(EGL_NO_CONTEXT) { 64 EGLContext mEglContext; member in class:android::GLTest
|
H A D | SRGB_test.cpp | 52 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE), 61 if (mEglContext != EGL_NO_CONTEXT) { 62 eglDestroyContext(mEglDisplay, mEglContext); 233 EGLContext mEglContext; member in class:android::SRGBTest 269 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, 272 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 280 mEglContext)); 436 mEglContext)); 448 mEglContext));
|
H A D | SurfaceTextureMultiContextGL.h | 62 mEglContext));
|
H A D | GLTest.cpp | 90 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 93 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 96 mEglContext)); 121 if (mEglContext != EGL_NO_CONTEXT) { 122 eglDestroyContext(mEglDisplay, mEglContext);
|
H A D | SurfaceTextureClient_test.cpp | 37 mEglContext(EGL_NO_CONTEXT) { 80 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); 82 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 84 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 94 eglDestroyContext(mEglDisplay, mEglContext); 119 EGLContext mEglContext; member in class:android::SurfaceTextureClientTest 187 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); 201 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 682 mEglContext(EGL_NO_CONTEXT) { 711 mEglContext 751 EGLContext mEglContext; member in class:android::MultiSurfaceTextureClientTest [all...] |
H A D | SurfaceTextureGLToGL_test.cpp | 114 mEglContext)); 172 mEglContext)); 218 mEglContext)); 353 mEglContext)); 414 mEglContext)); 475 mEglContext));
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 112 EGLContext mEglContext; field in class:BlockingGLTextureView.EglHelper 176 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 178 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 179 mEglContext = null; 233 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 249 return (GL10) mEglContext.getGL(); 278 if (mEglContext != null) { 279 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 280 mEglContext [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.cpp | 71 , mEglContext(EGL_NO_CONTEXT) 151 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs); 152 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, 221 eglDestroyContext(mEglDisplay, mEglContext); 228 mEglContext = EGL_NO_CONTEXT; 241 } else if (!eglMakeCurrent(mEglDisplay, surface, surface, mEglContext)) {
|
H A D | EglManager.h | 73 EGLContext mEglContext; member in class:android::uirenderer::renderthread::EglManager
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 143 private EGLContext mEglContext; field in class:GLTextureViewActivity.RenderThread 347 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 352 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 354 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 381 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 395 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 400 mGL = mEglContext.getGL();
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1021 mEglContext = null; 1029 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); 1031 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 1032 mEglContext = null; 1036 Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); 1094 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1112 GL gl = mEglContext.getGL(); 1169 if (mEglContext != null) { 1172 view.mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext); 1208 EGLContext mEglContext; field in class:GLSurfaceView.EglHelper [all...] |
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 134 mEglContext(EGL_NO_CONTEXT), 161 mEglContext(EGL_NO_CONTEXT), 503 // if this is the first time we're called, mEglDisplay/mEglContext have 508 if (mEglContext == EGL_NO_CONTEXT) { 509 mEglContext = ctx; 518 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) { 524 mEglContext = ctx; 564 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) { 579 mEglContext [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 125 private EGLContext mEglContext; field in class:ImageWallpaper.DrawableEngine 650 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 674 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 675 if (mEglContext == EGL_NO_CONTEXT) { 686 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext); 696 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 716 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 58 mEglContext(EGL_NO_CONTEXT) { 122 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 125 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 128 mEglContext)); 153 if (mEglContext != EGL_NO_CONTEXT) { 154 eglDestroyContext(mEglDisplay, mEglContext); 342 EGLContext mEglContext; member in class:android::GLTest 498 mEglContext)); 800 mEglContext));
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 92 private EGLContext mEglContext; field in class:ColorFade 535 if (mEglContext == null) { 540 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig, 542 if (mEglContext == null) { 650 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/native/include/gui/ |
H A D | GLConsumer.h | 270 // to mEglDisplay and mEglContext. If the fields have been previously 444 // mEglContext is the OpenGL ES context with which this GLConsumer is 448 EGLContext mEglContext; member in class:android::GLConsumer
|