Searched refs:clientCacheId (Results 1 – 4 of 4) sorted by relevance
179 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()
391 mDrawingState.clientCacheId = bufferData.cachedBuffer; in setBuffer()714 void BufferStateLayer::HwcSlotGenerator::bufferErased(const client_cache_t& clientCacheId) { in bufferErased() argument716 if (!clientCacheId.isValid()) { in bufferErased()720 eraseBufferLocked(clientCacheId); in bufferErased()723 int BufferStateLayer::HwcSlotGenerator::getHwcCacheSlot(const client_cache_t& clientCacheId) { in getHwcCacheSlot() argument725 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() argument736 if (!clientCacheId.isValid()) { in addCachedBuffer()741 ClientCache::getInstance().registerErasedRecipient(clientCacheId, wp<ErasedRecipient>(this)); in addCachedBuffer()[all …]
53 virtual void bufferErased(const client_cache_t& clientCacheId) = 0;
203 client_cache_t clientCacheId; member