/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 | SurfaceTextureClient_test.cpp | 40 mEglContext(EGL_NO_CONTEXT), 84 mEglContext = eglCreateContext(mEglDisplay, myConfig, EGL_NO_CONTEXT, 0); 86 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 88 EXPECT_TRUE(eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)); 98 eglDestroyContext(mEglDisplay, mEglContext); 123 EGLContext mEglContext; member in class:android::SurfaceTextureClientTest 191 EGLBoolean success = eglMakeCurrent(mEglDisplay, eglSurface, eglSurface, mEglContext); 205 success = eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext); 725 mEglContext(EGL_NO_CONTEXT) { 754 mEglContext 794 EGLContext mEglContext; member in class:android::MultiSurfaceTextureClientTest [all...] |
H A D | SRGB_test.cpp | 58 mEglContext(EGL_NO_CONTEXT), mEglSurface(EGL_NO_SURFACE), 67 if (mEglContext != EGL_NO_CONTEXT) { 68 eglDestroyContext(mEglDisplay, mEglContext); 240 EGLContext mEglContext; member in class:android::SRGBTest 276 mEglContext = eglCreateContext(mEglDisplay, mEglConfig, EGL_NO_CONTEXT, 279 ASSERT_NE(EGL_NO_CONTEXT, mEglContext); 287 mEglContext)); 447 mEglContext)); 459 mEglContext));
|
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.h | 36 mEglContext(EGL_NO_CONTEXT), 76 EGLContext mEglContext; member in class:android::EglWindow
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.h | 104 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/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/native/include/gui/ |
H A D | GLConsumer.h | 288 // to mEglDisplay and mEglContext. If the fields have been previously 462 // mEglContext is the OpenGL ES context with which this GLConsumer is 466 EGLContext mEglContext; member in class:android::GLConsumer
|
/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/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 553 if (mEglContext == null) { 558 mEglContext = EGL14.eglCreateContext(mEglDisplay, mEglConfig, 560 if (mEglContext == null) { 668 if (!EGL14.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 129 private EGLContext mEglContext; field in class:ImageWallpaper.DrawableEngine 735 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 759 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); 760 if (mEglContext == EGL_NO_CONTEXT) { 771 mEgl.eglMakeCurrent(mEglDisplay, tmpSurface, tmpSurface, mEglContext); 781 mEgl.eglDestroyContext(mEglDisplay, mEglContext); 801 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) {
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1034 mEglContext = null; 1042 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); 1044 if (mEglContext == null || mEglContext == EGL10.EGL_NO_CONTEXT) { 1045 mEglContext = null; 1049 Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); 1107 if (!mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext)) { 1125 GL gl = mEglContext.getGL(); 1182 if (mEglContext != null) { 1185 view.mEGLContextFactory.destroyContext(mEgl, mEglDisplay, mEglContext); 1221 EGLContext mEglContext; field in class:GLSurfaceView.EglHelper [all...] |