Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DBufferStateLayer.cpp219 nsecs_t desiredPresentTime, const client_cache_t& clientCacheId) { in setBuffer() argument
225 mCurrentState.clientCacheId = clientCacheId; in setBuffer()
596 hwcInfo.hwcBufferCache.getHwcBuffer(mHwcSlotGenerator->getHwcCacheSlot(s.clientCacheId), in setHwcLayerBuffer()
616 void BufferStateLayer::HwcSlotGenerator::bufferErased(const client_cache_t& clientCacheId) { in bufferErased() argument
618 if (!clientCacheId.isValid()) { in bufferErased()
622 eraseBufferLocked(clientCacheId); in bufferErased()
625 uint32_t BufferStateLayer::HwcSlotGenerator::getHwcCacheSlot(const client_cache_t& clientCacheId) { in getHwcCacheSlot() argument
627 auto itr = mCachedBuffers.find(clientCacheId); in getHwcCacheSlot()
629 return addCachedBuffer(clientCacheId); in getHwcCacheSlot()
636 uint32_t BufferStateLayer::HwcSlotGenerator::addCachedBuffer(const client_cache_t& clientCacheId) in addCachedBuffer() argument
[all …]
DBufferStateLayer.h72 const client_cache_t& clientCacheId) override;
172 void bufferErased(const client_cache_t& clientCacheId);
174 uint32_t getHwcCacheSlot(const client_cache_t& clientCacheId);
178 uint32_t addCachedBuffer(const client_cache_t& clientCacheId) REQUIRES(mMutex);
181 void eraseBufferLocked(const client_cache_t& clientCacheId) REQUIRES(mMutex);
184 std::size_t operator()(const client_cache_t& clientCacheId) const { in operator()
185 return std::hash<uint64_t>{}(clientCacheId.id); in operator()
DClientCache.h48 virtual void bufferErased(const client_cache_t& clientCacheId) = 0;
DLayer.h201 client_cache_t clientCacheId; member
DSurfaceFlinger.h333 void bufferErased(const client_cache_t& clientCacheId) override;
DSurfaceFlinger.cpp6282 void SurfaceFlinger::bufferErased(const client_cache_t& clientCacheId) { in bufferErased() argument
6283 getRenderEngine().unbindExternalTextureBuffer(clientCacheId.id); in bufferErased()