Home
last modified time | relevance | path

Searched refs:HandleType (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/utils/resources/include/composer-resources/2.1/
DComposerResources.h60 enum class HandleType { enum
66 ComposerHandleCache(ComposerHandleImporter& importer, HandleType type, uint32_t cacheSize);
76 bool initCache(HandleType type, uint32_t cacheSize);
87 HandleType mHandleType = HandleType::INVALID;
/hardware/interfaces/graphics/composer/2.1/utils/resources/
DComposerResources.cpp123 ComposerHandleCache::ComposerHandleCache(ComposerHandleImporter& importer, HandleType type, in ComposerHandleCache()
132 case HandleType::BUFFER: in ~ComposerHandleCache()
137 case HandleType::STREAM: in ~ComposerHandleCache()
147 bool ComposerHandleCache::initCache(HandleType type, uint32_t cacheSize) { in initCache()
149 if (mHandleType != HandleType::INVALID) { in initCache()
195 : mBufferCache(importer, ComposerHandleCache::HandleType::BUFFER, bufferCacheSize), in ComposerLayerResource()
196 mSidebandStreamCache(importer, ComposerHandleCache::HandleType::STREAM, 1) {} in ComposerLayerResource()
216 mOutputBufferCache(importer, ComposerHandleCache::HandleType::BUFFER, outputBufferCacheSize), in ComposerDisplayResource()
220 return mClientTargetCache.initCache(ComposerHandleCache::HandleType::BUFFER, cacheSize); in initClientTargetCache()
/hardware/interfaces/graphics/composer/2.2/utils/resources/include/composer-resources/2.2/
DComposerResources.h40 mReadbackBufferCache(importer, ComposerHandleCache::HandleType::BUFFER, 1) {} in ComposerDisplayResource()