Searched refs:client_cache_t (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
D | ClientCache.h | 39 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)
|
D | ClientCache.cpp | 32 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()
|
D | BufferStateLayer.h | 72 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 | 219 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()
|
D | SurfaceFlinger.h | 333 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;
|
D | Layer.h | 201 client_cache_t clientCacheId; 316 const client_cache_t& /*clientCacheId*/) { in setBuffer() argument
|
D | SurfaceFlinger.cpp | 3750 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/ |
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; 143 const client_cache_t& uncacheBuffer,
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 72 const client_cache_t& uncacheBuffer, in setTransactionState() 1038 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 | 690 int64_t /*desiredPresentTime*/, const client_cache_t& /*cachedBuffer*/, in setTransactionState() argument
|