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 void 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 void 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 void ClientCache::add(const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer) { in add()
104 void ClientCache::erase(const client_cache_t& cacheId) { in erase()
130 sp<GraphicBuffer> ClientCache::get(const client_cache_t& cacheId) { in get()
142 void ClientCache::registerErasedRecipient(const client_cache_t& cacheId, in registerErasedRecipient()
154 void ClientCache::unregisterErasedRecipient(const client_cache_t& cacheId, in unregisterErasedRecipient()
168 std::vector<std::pair<sp<ErasedRecipient>, client_cache_t>> pendingErase; in removeProcess()
182 client_cache_t cacheId = {processToken, id}; in removeProcess()
DBufferStateLayer.h71 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.cpp215 nsecs_t desiredPresentTime, const client_cache_t& clientCacheId) { in setBuffer()
624 void BufferStateLayer::HwcSlotGenerator::bufferErased(const client_cache_t& clientCacheId) { in bufferErased()
633 uint32_t BufferStateLayer::HwcSlotGenerator::getHwcCacheSlot(const client_cache_t& clientCacheId) { in getHwcCacheSlot()
644 uint32_t BufferStateLayer::HwcSlotGenerator::addCachedBuffer(const client_cache_t& clientCacheId) in addCachedBuffer()
670 client_cache_t minClientCacheId = {}; in evictLeastRecentlyUsed()
683 void BufferStateLayer::HwcSlotGenerator::eraseBufferLocked(const client_cache_t& clientCacheId) in eraseBufferLocked()
DSurfaceFlinger.h395 int64_t desiredPresentTime, const client_cache_t& uncacheBuffer,
557 const client_cache_t& uncacheBuffer,
1050 int64_t desiredPresentTime, const client_cache_t& uncacheBuffer, in TransactionState()
1066 client_cache_t buffer;
DLayer.h202 client_cache_t clientCacheId;
317 const client_cache_t& /*clientCacheId*/) { in setBuffer() argument
DSurfaceFlinger.cpp3676 const client_cache_t& uncacheBuffer, in setTransactionState()
3723 const client_cache_t& uncacheBuffer, in applyTransactionState()
/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;
140 const client_cache_t& uncacheBuffer,
/frameworks/native/libs/gui/
DISurfaceComposer.cpp72 const client_cache_t& uncacheBuffer, in setTransactionState()
1037 client_cache_t uncachedBuffer; in onTransact()
DSurfaceComposerClient.cpp394 client_cache_t uncacheBuffer; in doUncacheBufferTransaction()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp564 int64_t /*desiredPresentTime*/, const client_cache_t& /*cachedBuffer*/, in setTransactionState() argument