/frameworks/base/libs/hwui/tests/unit/ |
D | VectorDrawableAtlasTests.cpp | 30 atlas.prepareForDraw(renderThread.getGrContext()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 40 VDRects[i] = atlas.requestNewEntry(10, 10, renderThread.getGrContext()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 80 VDRects[i] = atlas.requestNewEntry(10, 10, renderThread.getGrContext()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 94 atlas.prepareForDraw(renderThread.getGrContext()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 102 VDRects[i] = atlas.requestNewEntry(10, 10, renderThread.getGrContext()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 117 atlas.prepareForDraw(renderThread.getGrContext()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 127 VDRects[i] = atlas.requestNewEntry(10, 10, renderThread.getGrContext()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 154 AtlasEntry entry = atlas.requestNewEntry(4, 4, renderThread.getGrContext()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 160 atlas.repackIfNeeded(renderThread.getGrContext()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | CacheManagerTests.cpp | 37 GrContext* grContext = renderThread.getGrContext(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 62 if (SkImage_pinAsTexture(image, mRenderThread.getGrContext())) { in pinImages() 73 SkImage_unpinAsTexture(image.get(), mRenderThread.getGrContext()); in unpinImages() 147 GrContext* currentContext = layerNode->getLayerSurface()->getCanvas()->getGrContext(); in renderLayersImpl() 180 SkASSERT(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 181 node->setLayerSurface(SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in createOrUpdateLayer() 200 << " has context " << (int)(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 214 GrContext* context = thread.getGrContext(); in prepareToDraw() 229 auto grContext = mRenderThread.getGrContext(); in renderVectorDrawableCache() 458 mRenderThread.getGrContext()->getResourceCacheUsage(&resources, &bytes); in dumpResourceCacheUsage() 459 mRenderThread.getGrContext()->getResourceCacheLimits(&maxResources, &maxBytes); in dumpResourceCacheUsage()
|
D | SkiaOpenGLPipeline.cpp | 82 SkASSERT(mRenderThread.getGrContext() != nullptr); in draw() 84 mRenderThread.getGrContext(), backendRT, kBottomLeft_GrSurfaceOrigin, nullptr, &props)); in draw() 126 if (!mRenderThread.getGrContext()) { in copyLayerInto() 142 sk_sp<SkSurface> tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copyLayerInto() 147 tmpSurface = SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in copyLayerInto() 157 if (LayerDrawable::DrawLayer(mRenderThread.getGrContext(), tmpSurface->getCanvas(), layer, in copyLayerInto() 243 thread.getGrContext()->resetContext(); in invokeFunctor() 324 sk_sp<GrContext> grContext = sk_ref_sp(renderThread.getGrContext()); in allocateHardwareBitmap()
|
D | GLFunctorDrawable.cpp | 80 if (canvas->getGrContext() == nullptr) { in onDraw() 108 tmpSurface = SkSurface::MakeRenderTarget(canvas->getGrContext(), SkBudgeted::kYes, in onDraw() 162 canvas->getGrContext()->resetContext(grState); in onDraw() 209 canvas->getGrContext()->resetContext(); in onDraw()
|
D | LayerDrawable.cpp | 33 DrawLayer(canvas->getGrContext(), canvas, layer); in onDraw()
|
D | SkiaOpenGLReadback.cpp | 44 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 | RenderProxy.cpp | 364 if (thread.getGrContext() != nullptr) { in repackVectorDrawableAtlas() 366 thread.getGrContext()); in repackVectorDrawableAtlas() 375 if (thread.getGrContext() != nullptr) { in releaseVDAtlasEntries()
|
D | RenderThread.h | 97 GrContext* getGrContext() const { return mGrContext.get(); } in getGrContext() function
|
D | VulkanManager.cpp | 117 DeviceInfo::initialize(mRenderThread.getGrContext()->caps()->maxRenderTargetSize()); in initialize() 323 mRenderThread.getGrContext(), backendRT, kTopLeft_GrSurfaceOrigin, nullptr, &props); in createBuffers()
|
D | CanvasContext.cpp | 642 if (!thread.getGrContext()) return; in trimMemory()
|
/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.h | 115 GrContext* getGrContext() const;
|
D | RenderState.cpp | 110 GrContext* RenderState::getGrContext() const { in getGrContext() function in android::uirenderer::RenderState 111 return mRenderThread.getGrContext(); in getGrContext()
|