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.java43 private EglHelper mEglHelper; field in EglHelperTest
49 mEglHelper = mock(EglHelper.class, RETURNS_DEFAULTS); in setUp()
55 mEglHelper.init(mSurfaceHolder); in testInit_finish()
56 mEglHelper.finish(); in testInit_finish()
61 assertFalse(mEglHelper.hasEglDisplay()); in testFinish_shouldNotCrash()
62 assertFalse(mEglHelper.hasEglSurface()); in testFinish_shouldNotCrash()
63 assertFalse(mEglHelper.hasEglContext()); in testFinish_shouldNotCrash()
65 mEglHelper.finish(); in testFinish_shouldNotCrash()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java85 private EglHelper mEglHelper; field in ImageWallpaper.GLEngine
113 mEglHelper = new EglHelper(); in onCreate()
201 mEglHelper.finish();
202 mEglHelper = null;
211 mEglHelper.init(holder); in onSurfaceCreated()
287 if (!mEglHelper.hasEglContext()) { in preRenderInternal()
288 mEglHelper.destroyEglSurface(); in preRenderInternal()
289 if (!mEglHelper.createEglContext()) { in preRenderInternal()
297 if (mEglHelper.hasEglContext() && !mEglHelper.hasEglSurface()) { in preRenderInternal()
298 if (!mEglHelper.createEglSurface(getSurfaceHolder())) { 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