Searched refs:mEglHelper (Results 1 – 4 of 4) sorted by relevance
43 private EglHelper mEglHelper; field in EglHelperTest49 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()
85 private EglHelper mEglHelper; field in ImageWallpaper.GLEngine113 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 …]
314 private EglHelper mEglHelper = new EglHelper(); field in BlockingGLTextureView.RenderThread398 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()
1287 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