Searched refs:client_cache_t (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
D | ClientCache.h | 39 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)
|
D | ClientCache.cpp | 32 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()
|
D | BufferStateLayer.h | 71 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,
|
D | BufferStateLayer.cpp | 215 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()
|
D | SurfaceFlinger.h | 395 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;
|
D | Layer.h | 202 client_cache_t clientCacheId; 317 const client_cache_t& /*clientCacheId*/) { in setBuffer() argument
|
D | SurfaceFlinger.cpp | 3676 const client_cache_t& uncacheBuffer, in setTransactionState() 3723 const client_cache_t& uncacheBuffer, in applyTransactionState()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CachingTest.cpp | 38 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/ |
D | LayerState.h | 43 struct client_cache_t { struct 47 bool operator==(const client_cache_t& other) const { return id == other.id; } argument
|
D | ISurfaceComposer.h | 47 struct client_cache_t; 140 const client_cache_t& uncacheBuffer,
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 72 const client_cache_t& uncacheBuffer, in setTransactionState() 1037 client_cache_t uncachedBuffer; in onTransact()
|
D | SurfaceComposerClient.cpp | 394 client_cache_t uncacheBuffer; in doUncacheBufferTransaction()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 564 int64_t /*desiredPresentTime*/, const client_cache_t& /*cachedBuffer*/, in setTransactionState() argument
|