Home
last modified time | relevance | path

Searched refs:client_cache_t (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/surfaceflinger/
DClientCache.h39 bool add(const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer);
40 void erase(const client_cache_t& cacheId);
42 sp<GraphicBuffer> get(const client_cache_t& cacheId);
48 virtual void bufferErased(const client_cache_t& clientCacheId) = 0;
51 bool registerErasedRecipient(const client_cache_t& cacheId,
53 void unregisterErasedRecipient(const client_cache_t& cacheId,
74 bool getBuffer(const client_cache_t& cacheId, ClientCacheBuffer** outClientCacheBuffer)
DClientCache.cpp32 bool ClientCache::getBuffer(const client_cache_t& cacheId, in getBuffer()
58 bool ClientCache::add(const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer) { in add()
105 void ClientCache::erase(const client_cache_t& cacheId) { in erase()
131 sp<GraphicBuffer> ClientCache::get(const client_cache_t& cacheId) { in get()
143 bool ClientCache::registerErasedRecipient(const client_cache_t& cacheId, in registerErasedRecipient()
156 void ClientCache::unregisterErasedRecipient(const client_cache_t& cacheId, in unregisterErasedRecipient()
170 std::vector<std::pair<sp<ErasedRecipient>, client_cache_t>> pendingErase; in removeProcess()
184 client_cache_t cacheId = {processToken, id}; in removeProcess()
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()
191 std::unordered_map<client_cache_t,
DBufferStateLayer.cpp219 nsecs_t desiredPresentTime, const client_cache_t& clientCacheId) { in setBuffer()
616 void BufferStateLayer::HwcSlotGenerator::bufferErased(const client_cache_t& clientCacheId) { in bufferErased()
625 uint32_t BufferStateLayer::HwcSlotGenerator::getHwcCacheSlot(const client_cache_t& clientCacheId) { in getHwcCacheSlot()
636 uint32_t BufferStateLayer::HwcSlotGenerator::addCachedBuffer(const client_cache_t& clientCacheId) in addCachedBuffer()
662 client_cache_t minClientCacheId = {}; in evictLeastRecentlyUsed()
675 void BufferStateLayer::HwcSlotGenerator::eraseBufferLocked(const client_cache_t& clientCacheId) in eraseBufferLocked()
DSurfaceFlinger.h333 void bufferErased(const client_cache_t& clientCacheId) override;
408 int64_t desiredPresentTime, const client_cache_t& uncacheBuffer,
574 const client_cache_t& uncacheBuffer,
1069 int64_t desiredPresentTime, const client_cache_t& uncacheBuffer, in TransactionState()
1085 client_cache_t buffer;
DLayer.h201 client_cache_t clientCacheId;
316 const client_cache_t& /*clientCacheId*/) { in setBuffer() argument
DSurfaceFlinger.cpp3750 const client_cache_t& uncacheBuffer, in setTransactionState()
3797 const client_cache_t& uncacheBuffer, in applyTransactionState()
6282 void SurfaceFlinger::bufferErased(const client_cache_t& clientCacheId) { in bufferErased()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCachingTest.cpp38 client_cache_t id; in TEST_F()
45 client_cache_t id; in TEST_F()
51 client_cache_t idB; in TEST_F()
66 std::vector<client_cache_t> ids; in TEST_F()
70 client_cache_t id; in TEST_F()
85 client_cache_t id; in TEST_F()
/frameworks/native/libs/gui/include/gui/
DLayerState.h43 struct client_cache_t { struct
47 bool operator==(const client_cache_t& other) const { return id == other.id; } argument
DISurfaceComposer.h47 struct client_cache_t;
143 const client_cache_t& uncacheBuffer,
/frameworks/native/libs/gui/
DISurfaceComposer.cpp72 const client_cache_t& uncacheBuffer, in setTransactionState()
1038 client_cache_t uncachedBuffer; in onTransact()
DSurfaceComposerClient.cpp394 client_cache_t uncacheBuffer; in doUncacheBufferTransaction()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp690 int64_t /*desiredPresentTime*/, const client_cache_t& /*cachedBuffer*/, in setTransactionState() argument