/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 | 34 mEglContext(EGL_NO_CONTEXT) { 72 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); 74 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 76 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 86 eglDestroyContext(mEglDisplay, mEglContext); 111 EGLContext mEglContext; member in class:android::SurfaceTextureClientTest 653 mEglContext(EGL_NO_CONTEXT) { 682 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 685 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 707 if (mEglContext ! 718 EGLContext mEglContext; member in class:android::MultiSurfaceTextureClientTest [all...] |
H A D | SurfaceTexture_test.cpp | 46 mEglContext(EGL_NO_CONTEXT) { 113 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 116 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 119 mEglContext)); 144 if (mEglContext != EGL_NO_CONTEXT) { 145 eglDestroyContext(mEglDisplay, mEglContext); 283 EGLContext mEglContext; member in class:android::GLTest 1507 mEglContext)); 1565 mEglContext)); 1611 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...] |
/frameworks/base/core/java/android/view/ |
H A D | HardwareRenderer.java | 632 EGLContext mEglContext; field in class:HardwareRenderer.GlRenderer 862 mEglContext = managedContext != null ? managedContext.getContext() : null; 865 if (mEglContext == null) { 866 mEglContext = createContext(sEgl, sEglDisplay, sEglConfig); 867 sEglContextStorage.set(createManagedContext(mEglContext)); 967 return mEglContext.getGL(); 1068 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1352 if (!mEglContext.equals(sEgl.eglGetCurrentContext()) || 1354 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1438 return new Gl20Renderer.Gl20RendererEglContext(mEglContext); [all...] |
/frameworks/native/libs/gui/ |
H A D | SurfaceTexture.cpp | 130 mEglContext(EGL_NO_CONTEXT), 225 if ((mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) || 232 mEglContext = ctx; 360 if (mEglContext != ctx && mEglContext != EGL_NO_CONTEXT) { 387 mEglContext = EGL_NO_CONTEXT; 459 mEglContext = ctx; 767 if (mEglContext != ctx || mEglContext [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.h | 90 EGLContext mEglContext; member in class:android::NativeWindowRenderer
|
H A D | NativeWindowRenderer.cpp | 213 mEglContext = eglCreateContext(mEglDisplay, config, EGL_NO_CONTEXT, 217 eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 222 eglDestroyContext(mEglDisplay, mEglContext);
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 57 mEglContext(EGL_NO_CONTEXT) { 121 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 124 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 127 mEglContext)); 152 if (mEglContext != EGL_NO_CONTEXT) { 153 eglDestroyContext(mEglDisplay, mEglContext); 341 EGLContext mEglContext; member in class:android::GLTest 499 mEglContext)); 801 mEglContext));
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | ElectronBeam.java | 85 private EGLContext mEglContext; field in class:ElectronBeam 503 if (mEglContext == null) { 507 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig, 509 if (mEglContext == null) { 519 if (mEglContext != null) { 520 if (!EGL14.eglDestroyContext(mEglDisplay, mEglContext)) { 523 mEglContext = null; 636 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 126 private EGLContext mEglContext; field in class:ImageWallpaper.DrawableEngine 619 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 642 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 656 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 661 mGL = mEglContext.getGL();
|
/frameworks/native/include/gui/ |
H A D | SurfaceTexture.h | 367 // mEglContext is the OpenGL ES context with which this SurfaceTexture is 371 EGLContext mEglContext; member in class:android::SurfaceTexture
|