Searched refs:getGrContext (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 82 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()
|
D | SkiaPipeline.cpp | 56 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()
|
D | GLFunctorDrawable.cpp | 47 if (canvas->getGrContext() == nullptr) { in onDraw() 109 canvas->getGrContext()->resetContext(); in onDraw()
|
D | LayerDrawable.cpp | 30 DrawLayer(canvas->getGrContext(), canvas, mLayer.get()); in onDraw()
|
D | SkiaOpenGLReadback.cpp | 42 sk_sp<GrContext> grContext = sk_ref_sp(mRenderThread.getGrContext()); in copyImageInto()
|
/frameworks/base/libs/hwui/ |
D | VkLayer.cpp | 30 surface = SkSurface::MakeRenderTarget(mRenderState.getGrContext(), SkBudgeted::kNo, info); in updateTexture()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 116 GrContext* getGrContext() const { return mRenderThread.getGrContext(); } in getGrContext() function
|
D | RenderThread.h | 102 GrContext* getGrContext() const { return mGrContext.get(); } in getGrContext() function
|
D | VulkanManager.cpp | 109 DeviceInfo::initialize(mRenderThread.getGrContext()->caps()->maxRenderTargetSize()); in initialize() 323 imageInfo.mSurface = SkSurface::MakeFromBackendRenderTarget(mRenderThread.getGrContext(), in createBuffers()
|
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.h | 116 GrContext* getGrContext() const;
|
D | RenderState.cpp | 108 GrContext* RenderState::getGrContext() const { in getGrContext() function in android::uirenderer::RenderState 109 return mRenderThread.getGrContext(); in getGrContext()
|