Home
last modified time | relevance | path

Searched refs:VectorDrawableAtlas (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp30 VectorDrawableAtlas::VectorDrawableAtlas(size_t surfaceArea, StorageMode storageMode) in VectorDrawableAtlas() function in android::uirenderer::skiapipeline::VectorDrawableAtlas
35 void VectorDrawableAtlas::prepareForDraw(GrContext* context) { in prepareForDraw()
56 bool VectorDrawableAtlas::isFragmented() { in isFragmented()
61 void VectorDrawableAtlas::repackIfNeeded(GrContext* context) { in repackIfNeeded()
71 bool VectorDrawableAtlas::compareCacheEntry(const CacheEntry& first, const CacheEntry& second) { in compareCacheEntry()
76 void VectorDrawableAtlas::repack(GrContext* context) { in repack()
152 AtlasEntry VectorDrawableAtlas::requestNewEntry(int width, int height, GrContext* context) { in requestNewEntry()
214 AtlasEntry VectorDrawableAtlas::getEntry(AtlasKey atlasKey) { in getEntry()
228 void VectorDrawableAtlas::releaseEntry(AtlasKey atlasKey) { in releaseEntry()
256 void VectorDrawableAtlas::delayedReleaseEntries() { in delayedReleaseEntries()
[all …]
DVectorDrawableAtlas.h61 class VectorDrawableAtlas : public virtual RefBase {
65 explicit VectorDrawableAtlas(size_t surfaceArea,
DSkiaPipeline.cpp214 sp<VectorDrawableAtlas> atlas = mRenderThread.cacheManager().acquireVectorDrawableAtlas(); in renderVectorDrawableCache()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableAtlasTests.cpp28 RENDERTHREAD_SKIA_PIPELINE_TEST(VectorDrawableAtlas, addGetRemove) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
29 VectorDrawableAtlas atlas(100 * 100); in RENDERTHREAD_SKIA_PIPELINE_TEST()
90 RENDERTHREAD_SKIA_PIPELINE_TEST(VectorDrawableAtlas, disallowSharedSurface) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
91 VectorDrawableAtlas atlas(100 * 100); in RENDERTHREAD_SKIA_PIPELINE_TEST()
93 atlas.setStorageMode(VectorDrawableAtlas::StorageMode::disallowSharedSurface); in RENDERTHREAD_SKIA_PIPELINE_TEST()
114 RENDERTHREAD_SKIA_PIPELINE_TEST(VectorDrawableAtlas, repack) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
115 VectorDrawableAtlas atlas(100 * 100); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/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()
114 mVectorDrawableAtlas = new skiapipeline::VectorDrawableAtlas(mMaxSurfaceArea / 2); in trimMemory()
143 sp<skiapipeline::VectorDrawableAtlas> CacheManager::acquireVectorDrawableAtlas() { in acquireVectorDrawableAtlas()
DCacheManager.h50 sp<skiapipeline::VectorDrawableAtlas> acquireVectorDrawableAtlas();
79 sp<skiapipeline::VectorDrawableAtlas> mVectorDrawableAtlas;
/frameworks/base/libs/hwui/
DVectorDrawable.cpp489 void Tree::updateCache(sp<skiapipeline::VectorDrawableAtlas>& atlas, GrContext* context) { in updateCache()
519 void Tree::Cache::setAtlas(sp<skiapipeline::VectorDrawableAtlas> newAtlas, in setAtlas()
529 sp<skiapipeline::VectorDrawableAtlas> atlas = mAtlas.promote(); in getSurface()
541 sp<skiapipeline::VectorDrawableAtlas> lockAtlas = mAtlas.promote(); in clear()
DVectorDrawable.h658 void updateCache(sp<skiapipeline::VectorDrawableAtlas>& atlas, GrContext* context);
676 void setAtlas(sp<skiapipeline::VectorDrawableAtlas> atlas,
692 wp<skiapipeline::VectorDrawableAtlas> mAtlas;
DAndroid.bp174 "pipeline/skia/VectorDrawableAtlas.cpp",