/frameworks/base/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 29 mEglContext(EGL_NO_CONTEXT) { 62 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); 64 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 66 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 76 eglDestroyContext(mEglDisplay, mEglContext); 96 EGLContext mEglContext; member in class:android::SurfaceTextureClientTest 616 mEglContext(EGL_NO_CONTEXT) { 645 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 648 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 670 if (mEglContext ! 681 EGLContext mEglContext; member in class:android::MultiSurfaceTextureClientTest [all...] |
H A D | SurfaceTexture_test.cpp | 46 mEglContext(EGL_NO_CONTEXT) { 108 mEglContext = eglCreateContext(mEglDisplay, mGlConfig, EGL_NO_CONTEXT, 111 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 114 mEglContext)); 139 if (mEglContext != EGL_NO_CONTEXT) { 140 eglDestroyContext(mEglDisplay, mEglContext); 329 EGLContext mEglContext; member in class:android::GLTest 1153 mEglContext)); 1210 mEglContext)); 1259 mEglContext)); [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 144 private EGLContext mEglContext; field in class:GLTextureViewActivity.RenderThread 345 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 350 if (!mEglContext.equals(mEgl.eglGetCurrentContext()) || 352 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 379 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 393 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 398 mGL = mEglContext.getGL();
|
/frameworks/media/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.h | 90 EGLContext mEglContext; member in class:android::NativeWindowRenderer
|
/frameworks/base/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 494 mEglContext)); 788 mEglContext));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 117 private EGLContext mEglContext; field in class:ImageWallpaper.DrawableEngine 553 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 576 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 590 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 595 mGL = mEglContext.getGL();
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareRenderer.java | 424 EGLContext mEglContext; field in class:HardwareRenderer.GlRenderer 575 mEglContext = managedContext != null ? managedContext.getContext() : null; 578 if (mEglContext == null) { 579 mEglContext = createContext(sEgl, sEglDisplay, sEglConfig); 580 sEglContextStorage.set(new Gl20Renderer.Gl20RendererEglContext(mEglContext)); 671 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 694 return mEglContext.getGL(); 901 if (!mEglContext.equals(sEgl.eglGetCurrentContext()) || 903 if (!sEgl.eglMakeCurrent(sEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1015 mEglContext = mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); 1016 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 1017 mEglContext = null; 1021 Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); 1080 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1084 GL gl = mEglContext.getGL(); 1109 mEglContext); 1159 if (mEglContext != null) { 1160 mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext); 1185 EGLContext mEglContext; field in class:GLSurfaceView.EglHelper [all...] |