Searched refs:getGrContext (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/libs/hwui/ |
D | DeferredLayerUpdater.cpp | 82 slot.clear(mRenderState.getRenderThread().getGrContext()); in destroyLayer() 112 renderState.getRenderThread().getGrContext()); in createReleaseFence() 115 releaseFence, renderState.getRenderThread().getGrContext()); in createReleaseFence() 129 fence, renderState.getRenderThread().getGrContext()); in fenceWait() 171 mRenderState.getRenderThread().getGrContext()); in apply()
|
D | Readback.cpp | 144 SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copySurfaceInto() 151 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copySurfaceInto() 283 if (!mRenderThread.getGrContext()) { in copyLayerInto() 319 sk_sp<GrDirectContext> grContext = sk_ref_sp(mRenderThread.getGrContext()); in copyImageInto() 353 sk_sp<SkSurface> tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copyLayerInto() 361 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in copyLayerInto() 369 if (!skiapipeline::LayerDrawable::DrawLayer(mRenderThread.getGrContext(), in copyLayerInto()
|
D | WebViewFunctorManager.cpp | 198 auto* grContext = renderthread::RenderThread::getInstance().getGrContext(); in destroyContext()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 62 if (!mRenderThread.getGrContext()) { in pinImages() 67 if (SkImage_pinAsTexture(image, mRenderThread.getGrContext())) { in pinImages() 78 SkImage_unpinAsTexture(image.get(), mRenderThread.getGrContext()); in unpinImages() 178 SkASSERT(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 179 node->setLayerSurface(SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in createOrUpdateLayer() 199 << (int)(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 209 GrDirectContext* context = thread.getGrContext(); in prepareToDraw() 586 mRenderThread.getGrContext()->getResourceCacheUsage(&resources, &bytes); in dumpResourceCacheUsage() 587 size_t maxBytes = mRenderThread.getGrContext()->getResourceCacheLimit(); in dumpResourceCacheUsage()
|
D | SkiaOpenGLPipeline.cpp | 106 SkASSERT(mRenderThread.getGrContext() != nullptr); in draw() 108 mRenderThread.getGrContext(), backendRT, this->getSurfaceOrigin(), colorType, in draw() 218 thread.getGrContext()->resetContext(); in invokeFunctor()
|
D | SkiaVulkanPipeline.cpp | 152 mSurfaceColorType, mRenderThread.getGrContext(), 0); in setSurface()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 118 GrDirectContext* getGrContext() const { return mRenderThread.getGrContext(); } in getGrContext() function
|
D | RenderThread.h | 154 GrDirectContext* getGrContext() const { return mGrContext.get(); } in getGrContext() function
|
D | CanvasContext.cpp | 476 if (auto grContext = getGrContext()) { in draw() 488 if (auto grContext = getGrContext()) { in draw() 877 if (!thread.getGrContext()) return; in trimMemory()
|
D | DrawFrameTask.cpp | 196 if (GrDirectContext* grContext = mRenderThread->getGrContext()) { in run()
|
D | RenderProxy.cpp | 210 if (thread.getGrContext()) { in purgeCaches()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CacheManagerTests.cpp | 38 GrDirectContext* grContext = renderThread.getGrContext(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | ShaderCacheTests.cpp | 382 GrDirectContext* grContext = renderThread.getGrContext(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|