Searched refs:getGrContext (Results 1 – 17 of 17) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaGpuPipeline.cpp | 85 SkASSERT(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 86 node->setLayerSurface(SkSurfaces::RenderTarget(mRenderThread.getGrContext(), in createOrUpdateLayer() 106 << (int)(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 116 if (!mRenderThread.getGrContext()) { in pinImages() 121 if (skgpu::ganesh::PinAsTexture(mRenderThread.getGrContext(), image)) { in pinImages() 132 skgpu::ganesh::UnpinTexture(mRenderThread.getGrContext(), image.get()); in unpinImages() 138 GrDirectContext* context = thread.getGrContext(); in prepareToDraw() 159 mRenderThread.getGrContext(), mHardwareBuffer, kTopLeft_GrSurfaceOrigin, in getBufferSkSurface() 169 mRenderThread.getGrContext()->getResourceCacheUsage(&resources, &bytes); in dumpResourceCacheUsage() 170 size_t maxBytes = mRenderThread.getGrContext()->getResourceCacheLimit(); in dumpResourceCacheUsage()
|
D | SkiaOpenGLPipeline.cpp | 150 SkASSERT(mRenderThread.getGrContext() != nullptr); in draw() 157 surface = SkSurfaces::WrapBackendRenderTarget(mRenderThread.getGrContext(), backendRT, in draw() 299 thread.getGrContext()->resetContext(); in invokeFunctor()
|
D | SkiaVulkanPipeline.cpp | 160 vulkanManager().createReleaseFence(&fence, mRenderThread.getGrContext()); in flush() 178 mSurfaceColorType, mRenderThread.getGrContext(), 0); in setSurface()
|
D | SkiaCpuPipeline.cpp | 82 << (int)(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer()
|
D | SkiaDisplayList.cpp | 109 auto grContext = info.canvasContext.getGrContext(); in prepareListAndChildren()
|
D | SkiaPipeline.cpp | 338 procs.fImageCtx = mRenderThread.getGrContext(); in endCapture()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | AutoBackendTextureReleaseTests.cpp | 45 new AutoBackendTextureRelease(renderThread.getGrContext(), buffer); in RENDERTHREAD_TEST() 63 new AutoBackendTextureRelease(renderThread.getGrContext(), buffer); in RENDERTHREAD_TEST() 67 textureRelease->makeImage(buffer, HAL_DATASPACE_UNKNOWN, renderThread.getGrContext()); in RENDERTHREAD_TEST()
|
D | CacheManagerTests.cpp | 41 GrDirectContext* grContext = renderThread.getGrContext(); in RENDERTHREAD_TEST()
|
D | ShaderCacheTests.cpp | 383 GrDirectContext* grContext = renderThread.getGrContext(); in RENDERTHREAD_TEST()
|
/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 | 177 SkSurfaces::RenderTarget(mRenderThread.getGrContext(), skgpu::Budgeted::kYes, in copySurfaceInto() 184 tmpSurface = SkSurfaces::RenderTarget(mRenderThread.getGrContext(), in copySurfaceInto() 282 if (!mRenderThread.getGrContext()) { in copyLayerInto() 318 sk_sp<GrDirectContext> grContext = sk_ref_sp(mRenderThread.getGrContext()); in copyImageInto() 352 sk_sp<SkSurface> tmpSurface = SkSurfaces::RenderTarget(mRenderThread.getGrContext(), in copyLayerInto() 362 tmpSurface = SkSurfaces::RenderTarget(mRenderThread.getGrContext(), in copyLayerInto() 371 if (!skiapipeline::LayerDrawable::DrawLayer(mRenderThread.getGrContext(), in copyLayerInto()
|
D | WebViewFunctorManager.cpp | 203 auto* grContext = renderthread::RenderThread::getInstance().getGrContext(); in destroyContext()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 122 GrDirectContext* getGrContext() const { return mRenderThread.getGrContext(); } in getGrContext() function
|
D | DrawFrameTask.cpp | 147 if (GrDirectContext* grContext = mRenderThread->getGrContext()) { in run()
|
D | RenderThread.h | 152 GrDirectContext* getGrContext() const { return mGrContext.get(); } in getGrContext() function
|
D | CanvasContext.cpp | 574 if (auto grContext = getGrContext()) { in draw() 609 if (auto grContext = getGrContext()) { in draw()
|
D | RenderProxy.cpp | 256 if (thread.getGrContext()) { in purgeCaches()
|