Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DBufferStateLayer.h179 void bufferErased(const client_cache_t& clientCacheId);
181 int getHwcCacheSlot(const client_cache_t& clientCacheId);
185 int addCachedBuffer(const client_cache_t& clientCacheId) REQUIRES(mMutex);
188 void eraseBufferLocked(const client_cache_t& clientCacheId) REQUIRES(mMutex);
191 std::size_t operator()(const client_cache_t& clientCacheId) const { in operator()
192 return std::hash<uint64_t>{}(clientCacheId.id); in operator()
DBufferStateLayer.cpp391 mDrawingState.clientCacheId = bufferData.cachedBuffer; in setBuffer()
714 void BufferStateLayer::HwcSlotGenerator::bufferErased(const client_cache_t& clientCacheId) { in bufferErased() argument
716 if (!clientCacheId.isValid()) { in bufferErased()
720 eraseBufferLocked(clientCacheId); in bufferErased()
723 int BufferStateLayer::HwcSlotGenerator::getHwcCacheSlot(const client_cache_t& clientCacheId) { in getHwcCacheSlot() argument
725 auto itr = mCachedBuffers.find(clientCacheId); in getHwcCacheSlot()
727 return addCachedBuffer(clientCacheId); in getHwcCacheSlot()
734 int BufferStateLayer::HwcSlotGenerator::addCachedBuffer(const client_cache_t& clientCacheId) in addCachedBuffer() argument
736 if (!clientCacheId.isValid()) { in addCachedBuffer()
741 ClientCache::getInstance().registerErasedRecipient(clientCacheId, wp<ErasedRecipient>(this)); in addCachedBuffer()
[all …]
DClientCache.h53 virtual void bufferErased(const client_cache_t& clientCacheId) = 0;
DLayer.h203 client_cache_t clientCacheId; member