Home
last modified time | relevance | path

Searched refs:mEglHelper (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/glwallpaper/
DEglHelperTest.java56 private EglHelper mEglHelper; field in EglHelperTest
89 mEglHelper.init(mSurfaceHolder, false /* wideColorGamut */); in testInit_normal()
90 assertThat(mEglHelper.hasEglDisplay()).isTrue(); in testInit_normal()
91 assertThat(mEglHelper.hasEglContext()).isTrue(); in testInit_normal()
92 assertThat(mEglHelper.hasEglSurface()).isTrue(); in testInit_normal()
93 verify(mEglHelper).askCreatingEglWindowSurface( in testInit_normal()
100 doReturn(0x3490).when(mEglHelper).getWcgCapability(); in testInit_wide_gamut()
102 doReturn(true).when(mEglHelper).checkExtensionCapability("EGL_KHR_gl_colorspace"); in testInit_wide_gamut()
107 mEglHelper.init(mSurfaceHolder, true /* wideColorGamut */); in testInit_wide_gamut()
108 verify(mEglHelper) in testInit_wide_gamut()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java84 private EglHelper mEglHelper; field in ImageWallpaper.GLEngine
98 mEglHelper = getEglHelperInstance(); in onCreate()
132 mEglHelper.finish(); in onDestroy()
133 mEglHelper = null; in onDestroy()
141 mEglHelper.init(holder, needSupportWideColorGamut()); in onSurfaceCreated()
177 if (!mEglHelper.hasEglContext()) { in preRenderInternal()
178 mEglHelper.destroyEglSurface(); in preRenderInternal()
179 if (!mEglHelper.createEglContext()) { in preRenderInternal()
187 if (mEglHelper.hasEglContext() && !mEglHelper.hasEglSurface()) { in preRenderInternal()
188 if (!mEglHelper.createEglSurface(getSurfaceHolder(), needSupportWideColorGamut())) { in preRenderInternal()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java314 private EglHelper mEglHelper = new EglHelper(); field in BlockingGLTextureView.RenderThread
398 if (mEglHelper.createSurface(mSurface)) { in handleMessageLocked()
399 mGL = mEglHelper.createGL(); in handleMessageLocked()
400 mRenderer.onSurfaceCreated(mGL, mEglHelper.mEglConfig); in handleMessageLocked()
408 mEglHelper.swap(); in handleMessageLocked()
411 mEglHelper.destroySurface(); in handleMessageLocked()
412 mEglHelper.finish(); in handleMessageLocked()
421 mEglHelper.start(); in run()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java1287 mEglHelper.destroySurface(); in stopEglSurfaceLocked()
1297 mEglHelper.finish(); in stopEglContextLocked()
1303 mEglHelper = new EglHelper(mGLSurfaceViewWeakRef); in guardedRun()
1431 mEglHelper.start(); in guardedRun()
1511 if (mEglHelper.createSurface()) { in guardedRun()
1528 gl = (GL10) mEglHelper.createGL(); in guardedRun()
1541 view.mRenderer.onSurfaceCreated(gl, mEglHelper.mEglConfig); in guardedRun()
1583 int swapError = mEglHelper.swap(); in guardedRun()
1850 private EglHelper mEglHelper; field in GLSurfaceView.GLThread