Home
last modified time | relevance | path

Searched refs:getGrContext (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp82 SkASSERT(mRenderThread.getGrContext() != nullptr); in draw()
84 mRenderThread.getGrContext(), renderTargetDesc, &props)); in draw()
126 if (!mRenderThread.getGrContext()) { in copyLayerInto()
136 return LayerDrawable::DrawLayer(mRenderThread.getGrContext(), &canvas, layer); in copyLayerInto()
196 thread.getGrContext()->resetContext(); in invokeFunctor()
DSkiaPipeline.cpp56 if (SkImage_pinAsTexture(image, mRenderThread.getGrContext())) { in pinImages()
67 SkImage_unpinAsTexture(image.get(), mRenderThread.getGrContext()); in unpinImages()
134 SkASSERT(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer()
136 SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), SkBudgeted::kYes, in createOrUpdateLayer()
155 GrContext* context = thread.getGrContext(); in prepareToDraw()
328 mRenderThread.getGrContext()->getResourceCacheUsage(&resources, &bytes); in dumpResourceCacheUsage()
329 mRenderThread.getGrContext()->getResourceCacheLimits(&maxResources, &maxBytes); in dumpResourceCacheUsage()
DGLFunctorDrawable.cpp47 if (canvas->getGrContext() == nullptr) { in onDraw()
109 canvas->getGrContext()->resetContext(); in onDraw()
DLayerDrawable.cpp30 DrawLayer(canvas->getGrContext(), canvas, mLayer.get()); in onDraw()
DSkiaOpenGLReadback.cpp42 sk_sp<GrContext> grContext = sk_ref_sp(mRenderThread.getGrContext()); in copyImageInto()
/frameworks/base/libs/hwui/
DVkLayer.cpp30 surface = SkSurface::MakeRenderTarget(mRenderState.getGrContext(), SkBudgeted::kNo, info); in updateTexture()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h116 GrContext* getGrContext() const { return mRenderThread.getGrContext(); } in getGrContext() function
DRenderThread.h102 GrContext* getGrContext() const { return mGrContext.get(); } in getGrContext() function
DVulkanManager.cpp109 DeviceInfo::initialize(mRenderThread.getGrContext()->caps()->maxRenderTargetSize()); in initialize()
323 imageInfo.mSurface = SkSurface::MakeFromBackendRenderTarget(mRenderThread.getGrContext(), in createBuffers()
/frameworks/base/libs/hwui/renderstate/
DRenderState.h116 GrContext* getGrContext() const;
DRenderState.cpp108 GrContext* RenderState::getGrContext() const { in getGrContext() function in android::uirenderer::RenderState
109 return mRenderThread.getGrContext(); in getGrContext()