/frameworks/native/include/gui/ |
H A D | GLConsumer.h | 266 // to mEglDisplay and mEglContext. If the fields have been previously 406 // mEglContext is the OpenGL ES context with which this GLConsumer is 410 EGLContext mEglContext; member in class:android::GLConsumer
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.h | 90 EGLContext mEglContext; member in class:android::NativeWindowRenderer
|
/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/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 37 mEglContext(EGL_NO_CONTEXT) { 77 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); 79 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 81 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 91 eglDestroyContext(mEglDisplay, mEglContext); 116 EGLContext mEglContext; member in class:android::SurfaceTextureClientTest 184 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); 198 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 679 mEglContext(EGL_NO_CONTEXT) { 708 mEglContext 745 EGLContext mEglContext; member in class:android::MultiSurfaceTextureClientTest [all...] |
H A D | SurfaceTexture_test.cpp | 49 mEglContext(EGL_NO_CONTEXT) { 116 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 119 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 122 mEglContext)); 147 if (mEglContext != EGL_NO_CONTEXT) { 148 eglDestroyContext(mEglDisplay, mEglContext); 284 EGLContext mEglContext; member in class:android::GLTest 1594 mEglContext)); 1652 mEglContext)); 1698 mEglContext)); [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/services/java/com/android/server/power/ |
H A D | ElectronBeam.java | 90 private EGLContext mEglContext; field in class:ElectronBeam 477 if (mEglContext == null) { 481 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig, 483 if (mEglContext == null) { 493 if (mEglContext != null) { 494 if (!EGL14.eglDestroyContext(mEglDisplay, mEglContext)) { 497 mEglContext = null; 600 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 59 mEglContext(EGL_NO_CONTEXT) { 123 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 126 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 129 mEglContext)); 154 if (mEglContext != EGL_NO_CONTEXT) { 155 eglDestroyContext(mEglDisplay, mEglContext); 343 EGLContext mEglContext; member in class:android::GLTest 501 mEglContext)); 803 mEglContext));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 124 private EGLContext mEglContext; field in class:ImageWallpaper.DrawableEngine 606 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 630 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 631 if (mEglContext == EGL_NO_CONTEXT) { 642 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext); 652 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 672 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareRenderer.java | 838 EGLContext mEglContext; field in class:HardwareRenderer.GlRenderer 1122 mEglContext = managedContext != null ? managedContext.getContext() : null; 1125 if (mEglContext == null) { 1126 mEglContext = createContext(sEgl, sEglDisplay, sEglConfig); 1127 sEglContextStorage.set(createManagedContext(mEglContext)); 1247 return mEglContext.getGL(); 1353 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1766 !mEglContext.equals(sEgl.eglGetCurrentContext())) { 1767 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1943 return new Gl20Renderer.Gl20RendererEglContext(mEglContext); [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1022 mEglContext = null; 1030 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); 1032 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 1033 mEglContext = null; 1037 Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); 1095 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1113 GL gl = mEglContext.getGL(); 1170 if (mEglContext != null) { 1173 view.mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext); 1209 EGLContext mEglContext; field in class:GLSurfaceView.EglHelper [all...] |