Home
last modified time | relevance | path

Searched refs:StorageMode (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.h63 enum class StorageMode { allowSharedSurface, disallowSharedSurface }; enum
66 StorageMode storageMode = StorageMode::allowSharedSurface);
109 void setStorageMode(StorageMode mode);
186 StorageMode mStorageMode;
DVectorDrawableAtlas.cpp30 VectorDrawableAtlas::VectorDrawableAtlas(size_t surfaceArea, StorageMode storageMode) in VectorDrawableAtlas()
36 if (StorageMode::allowSharedSurface == mStorageMode) { in prepareForDraw()
80 if (StorageMode::allowSharedSurface == mStorageMode) { in repack()
277 void VectorDrawableAtlas::setStorageMode(StorageMode mode) { in setStorageMode()
279 if (StorageMode::disallowSharedSurface == mStorageMode && mSurface) { in setStorageMode()
/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp52 skiapipeline::VectorDrawableAtlas::StorageMode::disallowSharedSurface); in CacheManager()
75 skiapipeline::VectorDrawableAtlas::StorageMode::disallowSharedSurface); in destroy()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableAtlasTests.cpp93 atlas.setStorageMode(VectorDrawableAtlas::StorageMode::disallowSharedSurface); in RENDERTHREAD_SKIA_PIPELINE_TEST()