Home
last modified time | relevance | path

Searched refs:hasEglContext (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DEglHelper.java286 if (!hasEglContext()) { in createEglContext()
301 if (hasEglContext()) { in destroyEglContext()
311 public boolean hasEglContext() { in hasEglContext() method in EglHelper
343 if (hasEglContext()) { in finish()
368 out.print(", "); out.print("has EglContext="); out.print(hasEglContext()); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java361 if (!mEglHelper.hasEglContext()) { in preRenderInternal()
371 if (mEglHelper.hasEglContext() && !mEglHelper.hasEglSurface()) { in preRenderInternal()
378 if (mEglHelper.hasEglContext() && mEglHelper.hasEglSurface() && contextRecreated) { in preRenderInternal()
393 boolean readyToRender = mEglHelper.hasEglContext() && mEglHelper.hasEglSurface() in requestRenderInternal()
402 Log.e(TAG, "requestRender: not ready, has context=" + mEglHelper.hasEglContext() in requestRenderInternal()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp98 if (hasEglContext()) { in ~EglManager()
104 if (hasEglContext()) return; in initialize()
270 bool EglManager::hasEglContext() { in hasEglContext() function in android::uirenderer::renderthread::EglManager
341 LOG_ALWAYS_FATAL_IF(!hasEglContext(), "Not initialized"); in createSurface()
588 if (!hasEglContext()) { in fenceWait()
632 if (!hasEglContext()) { in createReleaseFence()
DEglManager.h48 bool hasEglContext();
DRenderThread.cpp247 if (mEglManager->hasEglContext()) { in requireGlContext()
296 if (mEglManager->hasEglContext()) { in destroyRenderingContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/glwallpaper/
DEglHelperTest.java92 assertThat(mEglHelper.hasEglContext()).isTrue(); in testInit_normal()
121 assertThat(mEglHelper.hasEglContext()).isFalse(); in testFinish_shouldNotCrash()
/frameworks/base/libs/hwui/tests/unit/
DEglManagerTests.cpp31 ASSERT_TRUE(eglManager.hasEglContext()); in TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp197 return CC_LIKELY(mEglManager.hasEglContext()); in isContextReady()
202 if (thread.eglManager().hasEglContext()) { in invokeFunctor()
DVkInteropFunctorDrawable.cpp49 if (!sEglManager.hasEglContext()) { in beginDraw()
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp145 if (!mEglManager.hasEglContext()) { in onBeginUpload()
158 LOG_ALWAYS_FATAL_IF(!mEglManager.hasEglContext(), "Forgot to begin an upload?"); in getUploadEglDisplay()