/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 | 92 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 148 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, 150 if (mEglContext == EGL_NO_CONTEXT) { 164 if (mEglContext != EGL_NO_CONTEXT) { 165 eglDestroyContext(mEglDisplay, mEglContext); 174 mEglContext = EGL_NO_CONTEXT;
|
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.h | 41 mEglContext(EGL_NO_CONTEXT), 66 EGLContext mEglContext; member in class:android::GLTest
|
H A D | SurfaceTextureMultiContextGL.h | 63 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 | SurfaceTextureGLToGL_test.cpp | 120 mEglContext)); 179 mEglContext)); 226 mEglContext)); 371 mEglContext)); 435 mEglContext)); 499 mEglContext));
|
H A D | SurfaceTextureClient_test.cpp | 41 mEglContext(EGL_NO_CONTEXT), 85 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); 87 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 89 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 99 eglDestroyContext(mEglDisplay, mEglContext); 124 EGLContext mEglContext; member in class:android::SurfaceTextureClientTest 192 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); 206 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 726 mEglContext(EGL_NO_CONTEXT) { 755 mEglContext 795 EGLContext mEglContext; member in class:android::MultiSurfaceTextureClientTest [all...] |
/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 | 85 , mEglContext(EGL_NO_CONTEXT) 198 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, attribs); 199 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, 252 eglDestroyContext(mEglDisplay, mEglContext); 259 mEglContext = EGL_NO_CONTEXT; 271 if (!eglMakeCurrent(mEglDisplay, surface, surface, mEglContext)) {
|
H A D | EglManager.h | 79 EGLContext mEglContext; member in class:android::uirenderer::renderthread::EglManager
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestBuffer.cpp | 118 mEglContext(EGL_NO_CONTEXT) { } 173 mEglContext = eglCreateContext(mEglDisplay, configs[0], EGL_NO_CONTEXT, 175 if (mEglContext == EGL_NO_CONTEXT) { 190 if (!eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 201 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 216 if (mEglContext != EGL_NO_CONTEXT) 217 eglDestroyContext(mEglDisplay, mEglContext); 228 EGLContext mEglContext; member in class:Hwc2TestEglManager
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | SingleFrameTextureViewTestActivity.java | 87 private EGLContext mEglContext; 121 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 145 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 159 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
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/tests/UiBench/src/com/android/test/uibench/opengl/ |
H A D | ImageFlipRenderThread.java | 97 private EGLContext mEglContext; field in class:ImageFlipRenderThread 300 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 305 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 307 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 334 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 348 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1051 mEglContext = null; 1059 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); 1061 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 1062 mEglContext = null; 1066 Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); 1124 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1142 GL gl = mEglContext.getGL(); 1199 if (mEglContext != null) { 1202 view.mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext); 1238 EGLContext mEglContext; field in class:GLSurfaceView.EglHelper [all...] |
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 168 mEglContext(EGL_NO_CONTEXT), 197 mEglContext(EGL_NO_CONTEXT), 560 // if this is the first time we're called, mEglDisplay/mEglContext have 565 if (mEglContext == EGL_NO_CONTEXT) { 566 mEglContext = ctx; 575 if (mEglContext != ctx || ctx == EGL_NO_CONTEXT) { 581 mEglContext = ctx; 621 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) { 636 mEglContext [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 54 mEglContext(EGL_NO_CONTEXT) { 118 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 121 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 124 mEglContext)); 149 if (mEglContext != EGL_NO_CONTEXT) { 150 eglDestroyContext(mEglDisplay, mEglContext); 338 EGLContext mEglContext; member in class:android::GLTest 494 mEglContext)); 796 mEglContext));
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 90 private EGLContext mEglContext; field in class:ColorFade 558 if (mEglContext == null) { 563 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig, 565 if (mEglContext == null) { 673 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 123 private EGLContext mEglContext; field in class:ImageWallpaper.DrawableEngine 760 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 784 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 785 if (mEglContext == EGL_NO_CONTEXT) { 796 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext); 806 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 826 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/native/include/gui/ |
H A D | GLConsumer.h | 298 // to mEglDisplay and mEglContext. If the fields have been previously 479 // mEglContext is the OpenGL ES context with which this GLConsumer is 483 EGLContext mEglContext; member in class:android::GLConsumer
|