Home
last modified time | relevance | path

Searched refs:skiapipeline (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp61 mVectorDrawableAtlas = new skiapipeline::VectorDrawableAtlas( in CacheManager()
63 skiapipeline::VectorDrawableAtlas::StorageMode::disallowSharedSurface); in CacheManager()
81 mVectorDrawableAtlas = new skiapipeline::VectorDrawableAtlas( in destroy()
83 skiapipeline::VectorDrawableAtlas::StorageMode::disallowSharedSurface); in destroy()
99 auto& cache = skiapipeline::ShaderCache::get(); in configureContext()
114 mVectorDrawableAtlas = new skiapipeline::VectorDrawableAtlas(mMaxSurfaceArea / 2); in trimMemory()
143 sp<skiapipeline::VectorDrawableAtlas> CacheManager::acquireVectorDrawableAtlas() { in acquireVectorDrawableAtlas()
164 std::vector<skiapipeline::ResourcePair> cpuResourceMap = { in dumpMemoryUsage()
170 skiapipeline::SkiaMemoryTracer cpuTracer(cpuResourceMap, false); in dumpMemoryUsage()
175 skiapipeline::SkiaMemoryTracer gpuTracer("category", true); in dumpMemoryUsage()
DCacheManager.h50 sp<skiapipeline::VectorDrawableAtlas> acquireVectorDrawableAtlas();
79 sp<skiapipeline::VectorDrawableAtlas> mVectorDrawableAtlas;
DRenderThread.h52 namespace skiapipeline {
140 friend class android::uirenderer::skiapipeline::VkFunctorDrawHandler;
DCanvasContext.cpp70 std::make_unique<skiapipeline::SkiaOpenGLPipeline>(thread)); in create()
73 std::make_unique<skiapipeline::SkiaVulkanPipeline>(thread)); in create()
86 skiapipeline::SkiaOpenGLPipeline::invokeFunctor(thread, functor); in invokeFunctor()
89 skiapipeline::SkiaVulkanPipeline::invokeFunctor(thread, functor); in invokeFunctor()
98 skiapipeline::SkiaPipeline::prepareToDraw(thread, bitmap); in prepareToDraw()
/frameworks/base/libs/hwui/
DRenderNode.h288 std::unique_ptr<skiapipeline::SkiaDisplayList> detachAvailableList() { in detachAvailableList()
295 void attachAvailableList(skiapipeline::SkiaDisplayList* skiaDisplayList) { in attachAvailableList()
312 mSkiaLayer = std::make_unique<skiapipeline::SkiaLayer>(); in setLayerSurface()
334 skiapipeline::SkiaLayer* getSkiaLayer() const { return mSkiaLayer.get(); } in getSkiaLayer()
356 std::unique_ptr<skiapipeline::SkiaDisplayList> mAvailableDisplayList;
362 std::unique_ptr<skiapipeline::SkiaLayer> mSkiaLayer;
DDisplayList.h32 using DisplayList = skiapipeline::SkiaDisplayList;
DVectorDrawable.h658 void updateCache(sp<skiapipeline::VectorDrawableAtlas>& atlas, GrContext* context);
676 void setAtlas(sp<skiapipeline::VectorDrawableAtlas> atlas,
677 skiapipeline::AtlasKey newAtlasKey);
692 wp<skiapipeline::VectorDrawableAtlas> mAtlas;
693 skiapipeline::AtlasKey mAtlasKey = INVALID_ATLAS_KEY;
DVectorDrawable.cpp489 void Tree::updateCache(sp<skiapipeline::VectorDrawableAtlas>& atlas, GrContext* context) { in updateCache()
519 void Tree::Cache::setAtlas(sp<skiapipeline::VectorDrawableAtlas> newAtlas, in setAtlas()
520 skiapipeline::AtlasKey newAtlasKey) { in setAtlas()
529 sp<skiapipeline::VectorDrawableAtlas> atlas = mAtlas.promote(); in getSurface()
541 sp<skiapipeline::VectorDrawableAtlas> lockAtlas = mAtlas.promote(); in clear()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h212 std::function<void(RenderProperties& props, skiapipeline::SkiaRecordingCanvas& canvas)>
214 const char* name = nullptr, skiapipeline::SkiaDisplayList* displayList = nullptr) {
225 std::unique_ptr<skiapipeline::SkiaRecordingCanvas> canvas(
226 new skiapipeline::SkiaRecordingCanvas(nullptr, props.getWidth(),
362 static_cast<skiapipeline::SkiaDisplayList*>(const_cast<DisplayList*>(displayList)) in syncHierarchyPropertiesAndDisplayListImpl()
DTestUtils.cpp58 pipeline = new skiapipeline::SkiaOpenGLPipeline(renderThread); in createTextureLayerUpdater()
60 pipeline = new skiapipeline::SkiaVulkanPipeline(renderThread); in createTextureLayerUpdater()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaLayer.h24 namespace skiapipeline {
DGLFunctorDrawable.h26 namespace skiapipeline {
DVkInteropFunctorDrawable.h27 namespace skiapipeline {
DLayerDrawable.h26 namespace skiapipeline {
DReorderBarrierDrawables.h28 namespace skiapipeline {
DVkFunctorDrawable.h27 namespace skiapipeline {
DRenderNodeDrawable.h32 namespace skiapipeline {
DShaderCache.h32 namespace skiapipeline {
DFunctorDrawable.h31 namespace skiapipeline {
DSkiaOpenGLPipeline.h28 namespace skiapipeline {
DSkiaVulkanPipeline.h27 namespace skiapipeline {
DSkiaMemoryTracer.h27 namespace skiapipeline {
DVectorDrawableAtlas.h30 namespace skiapipeline {
DSkiaDisplayList.h43 namespace skiapipeline {
/frameworks/base/libs/hwui/tests/microbench/
DDisplayListCanvasBench.cpp29 auto displayList = new skiapipeline::SkiaDisplayList(); in BM_DisplayList_alloc()
38 auto displayList = new char[sizeof(skiapipeline::SkiaDisplayList)]; in BM_DisplayList_alloc_theoretical()

123