Searched refs:getGrContext (Results 1 – 16 of 16) sorted by relevance
/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 | 60 if (SkImage_pinAsTexture(image, mRenderThread.getGrContext())) { in pinImages() 71 SkImage_unpinAsTexture(image.get(), mRenderThread.getGrContext()); in unpinImages() 141 GrContext* currentContext = layerNode->getLayerSurface()->getCanvas()->getGrContext(); in renderLayersImpl() 170 SkASSERT(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 171 node->setLayerSurface(SkSurface::MakeRenderTarget(mRenderThread.getGrContext(), in createOrUpdateLayer() 191 << (int)(mRenderThread.getGrContext() != nullptr); in createOrUpdateLayer() 201 GrContext* context = thread.getGrContext(); in prepareToDraw() 215 auto grContext = mRenderThread.getGrContext(); in renderVectorDrawableCache() 435 mRenderThread.getGrContext()->getResourceCacheUsage(&resources, &bytes); in dumpResourceCacheUsage() 436 mRenderThread.getGrContext()->getResourceCacheLimits(&maxResources, &maxBytes); in dumpResourceCacheUsage()
|
D | GLFunctorDrawable.cpp | 76 if (canvas->getGrContext() == nullptr) { in onDraw() 106 SkSurface::MakeRenderTarget(canvas->getGrContext(), SkBudgeted::kYes, surfaceInfo); in onDraw() 161 canvas->getGrContext()->resetContext(grState); in onDraw() 212 canvas->getGrContext()->resetContext(); in onDraw()
|
D | SkiaOpenGLPipeline.cpp | 97 SkASSERT(mRenderThread.getGrContext() != nullptr); in draw() 99 mRenderThread.getGrContext(), backendRT, this->getSurfaceOrigin(), colorType, in draw() 218 thread.getGrContext()->resetContext(); in invokeFunctor()
|
D | SkiaVulkanPipeline.cpp | 75 ShaderCache::get().onVkFrameFlushed(mRenderThread.getGrContext()); in draw() 130 mRenderThread.getGrContext(), extraBuffers); in setSurface()
|
D | VkFunctorDrawable.cpp | 98 if (canvas->getGrContext() == nullptr) { in onDraw()
|
D | LayerDrawable.cpp | 32 DrawLayer(canvas->getGrContext(), canvas, layer, nullptr, nullptr, true); in onDraw()
|
D | VkInteropFunctorDrawable.cpp | 69 if (canvas->getGrContext() == nullptr) { in onDraw()
|
/frameworks/base/libs/hwui/surfacetexture/ |
D | ImageConsumer.cpp | 201 st.mCurrentDataSpace, false, renderState.getRenderThread().getGrContext()); in dequeueImage() 216 item.mFence, renderState.getRenderThread().getGrContext()); in dequeueImage() 239 releaseFence, renderState.getRenderThread().getGrContext()); in dequeueImage() 283 renderState.getRenderThread().getGrContext()); in dequeueImage()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 108 GrContext* getGrContext() const { return mRenderThread.getGrContext(); } in getGrContext() function
|
D | RenderProxy.cpp | 375 if (thread.getGrContext() != nullptr) { in repackVectorDrawableAtlas() 377 thread.getGrContext()); in repackVectorDrawableAtlas() 386 if (thread.getGrContext() != nullptr) { in releaseVDAtlasEntries()
|
D | RenderThread.h | 105 GrContext* getGrContext() const { return mGrContext.get(); } in getGrContext() function
|
D | CanvasContext.cpp | 616 if (!thread.getGrContext()) return; in trimMemory()
|
/frameworks/base/libs/hwui/ |
D | WebViewFunctorManager.cpp | 116 auto* grContext = renderthread::RenderThread::getInstance().getGrContext(); in destroyContext()
|
D | VectorDrawable.cpp | 559 if (canvas->getGrContext() == nullptr) { in draw()
|