Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DClientCache.h40 bool add(const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer);
41 void erase(const client_cache_t& cacheId);
43 std::shared_ptr<renderengine::ExternalTexture> get(const client_cache_t& cacheId);
53 virtual void bufferErased(const client_cache_t& clientCacheId) = 0;
56 bool registerErasedRecipient(const client_cache_t& cacheId,
58 void unregisterErasedRecipient(const client_cache_t& cacheId,
83 bool getBuffer(const client_cache_t& cacheId, ClientCacheBuffer** outClientCacheBuffer)
DClientCache.cpp34 bool ClientCache::getBuffer(const client_cache_t& cacheId, in getBuffer()
60 bool ClientCache::add(const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer) { in add()
114 void ClientCache::erase(const client_cache_t& cacheId) { in erase()
140 std::shared_ptr<renderengine::ExternalTexture> ClientCache::get(const client_cache_t& cacheId) { in get()
152 bool ClientCache::registerErasedRecipient(const client_cache_t& cacheId, in registerErasedRecipient()
165 void ClientCache::unregisterErasedRecipient(const client_cache_t& cacheId, in unregisterErasedRecipient()
179 std::vector<std::pair<sp<ErasedRecipient>, client_cache_t>> pendingErase; in removeProcess()
193 client_cache_t cacheId = {processToken, id}; in removeProcess()
DBufferStateLayer.h60 bool isAutoTimestamp, const client_cache_t& clientCacheId, uint64_t frameNumber,
185 void bufferErased(const client_cache_t& clientCacheId);
187 uint32_t getHwcCacheSlot(const client_cache_t& clientCacheId);
191 uint32_t addCachedBuffer(const client_cache_t& clientCacheId) REQUIRES(mMutex);
194 void eraseBufferLocked(const client_cache_t& clientCacheId) REQUIRES(mMutex);
197 std::size_t operator()(const client_cache_t& clientCacheId) const { in operator()
204 std::unordered_map<client_cache_t,
DBufferStateLayer.cpp421 const client_cache_t& clientCacheId, uint64_t frameNumber, in setBuffer()
813 void BufferStateLayer::HwcSlotGenerator::bufferErased(const client_cache_t& clientCacheId) { in bufferErased()
822 uint32_t BufferStateLayer::HwcSlotGenerator::getHwcCacheSlot(const client_cache_t& clientCacheId) { in getHwcCacheSlot()
833 uint32_t BufferStateLayer::HwcSlotGenerator::addCachedBuffer(const client_cache_t& clientCacheId) in addCachedBuffer()
859 client_cache_t minClientCacheId = {}; in evictLeastRecentlyUsed()
872 void BufferStateLayer::HwcSlotGenerator::eraseBufferLocked(const client_cache_t& clientCacheId) in eraseBufferLocked()
DSurfaceFlinger.h527 bool isAutoTimestamp, const client_cache_t& uncacheBuffer, in TransactionState()
558 client_cache_t buffer;
624 const client_cache_t& uncacheBuffer, bool hasListenerCallbacks,
835 const client_cache_t& uncacheBuffer, const int64_t postTime,
DLayer.h207 client_cache_t clientCacheId;
417 const client_cache_t& /*clientCacheId*/, uint64_t /* frameNumber */, in setBuffer() argument
DSurfaceFlinger.cpp3704 bool isAutoTimestamp, const client_cache_t& uncacheBuffer, bool hasListenerCallbacks, in setTransactionState()
3756 const client_cache_t& uncacheBuffer, in applyTransactionState()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCachingTest.cpp44 client_cache_t id; in TEST_F()
51 client_cache_t id; in TEST_F()
57 client_cache_t idB; in TEST_F()
72 std::vector<client_cache_t> ids; in TEST_F()
76 client_cache_t id; in TEST_F()
91 client_cache_t id; in TEST_F()
DTransactionFrameTracerTest.cpp98 client_cache_t mClientCache;
DGameModeTest.cpp102 client_cache_t mClientCache;
DTransactionApplicationTest.cpp100 client_cache_t uncacheBuffer;
DTransactionSurfaceFrameTest.cpp98 client_cache_t mClientCache;
DTestableSurfaceFlinger.h377 bool isAutoTimestamp, const client_cache_t& uncacheBuffer, bool hasListenerCallbacks, in setTransactionState()
/frameworks/native/libs/gui/include/gui/
DLayerState.h52 struct client_cache_t { struct
56 bool operator==(const client_cache_t& other) const { return id == other.id; } argument
DISurfaceComposer.h53 struct client_cache_t;
165 bool isAutoTimestamp, const client_cache_t& uncacheBuffer, bool hasListenerCallbacks,
/frameworks/native/libs/gui/
DISurfaceComposer.cpp72 const client_cache_t& uncacheBuffer, bool hasListenerCallbacks, in setTransactionState()
1287 client_cache_t uncachedBuffer; in onTransact()
DSurfaceComposerClient.cpp765 client_cache_t uncacheBuffer; in doUncacheBufferTransaction()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp704 const client_cache_t& /*cachedBuffer*/, in setTransactionState() argument