Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DBufferStateLayer.cpp261 const client_cache_t& clientCacheId) { in setBuffer() argument
269 mCurrentState.clientCacheId = clientCacheId; in setBuffer()
614 void BufferStateLayer::HwcSlotGenerator::bufferErased(const client_cache_t& clientCacheId) { in bufferErased() argument
616 if (!clientCacheId.isValid()) { in bufferErased()
620 eraseBufferLocked(clientCacheId); in bufferErased()
623 uint32_t BufferStateLayer::HwcSlotGenerator::getHwcCacheSlot(const client_cache_t& clientCacheId) { in getHwcCacheSlot() argument
625 auto itr = mCachedBuffers.find(clientCacheId); in getHwcCacheSlot()
627 return addCachedBuffer(clientCacheId); in getHwcCacheSlot()
634 uint32_t BufferStateLayer::HwcSlotGenerator::addCachedBuffer(const client_cache_t& clientCacheId) in addCachedBuffer() argument
636 if (!clientCacheId.isValid()) { in addCachedBuffer()
[all …]
DBufferStateLayer.h75 nsecs_t desiredPresentTime, const client_cache_t& clientCacheId) override;
175 void bufferErased(const client_cache_t& clientCacheId);
177 uint32_t getHwcCacheSlot(const client_cache_t& clientCacheId);
181 uint32_t addCachedBuffer(const client_cache_t& clientCacheId) REQUIRES(mMutex);
184 void eraseBufferLocked(const client_cache_t& clientCacheId) REQUIRES(mMutex);
187 std::size_t operator()(const client_cache_t& clientCacheId) const { in operator()
188 return std::hash<uint64_t>{}(clientCacheId.id); in operator()
DClientCache.h48 virtual void bufferErased(const client_cache_t& clientCacheId) = 0;
DLayer.h241 client_cache_t clientCacheId; member
DSurfaceFlinger.h333 void bufferErased(const client_cache_t& clientCacheId) override;
DSurfaceFlinger.cpp6185 void SurfaceFlinger::bufferErased(const client_cache_t& clientCacheId) { in bufferErased() argument
6186 getRenderEngine().unbindExternalTextureBuffer(clientCacheId.id); in bufferErased()