Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DClientCache.h56 const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer);
58 sp<GraphicBuffer> erase(const client_cache_t& cacheId);
60 std::shared_ptr<renderengine::ExternalTexture> get(const client_cache_t& cacheId);
70 virtual void bufferErased(const client_cache_t& clientCacheId) = 0;
73 bool registerErasedRecipient(const client_cache_t& cacheId,
75 void unregisterErasedRecipient(const client_cache_t& cacheId,
100 bool getBuffer(const client_cache_t& cacheId, ClientCacheBuffer** outClientCacheBuffer)
DClientCache.cpp36 bool ClientCache::getBuffer(const client_cache_t& cacheId, in getBuffer()
63 ClientCache::add(const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer) { in add()
121 sp<GraphicBuffer> ClientCache::erase(const client_cache_t& cacheId) { in erase()
151 std::shared_ptr<renderengine::ExternalTexture> ClientCache::get(const client_cache_t& cacheId) { in get()
163 bool ClientCache::registerErasedRecipient(const client_cache_t& cacheId, in registerErasedRecipient()
176 void ClientCache::unregisterErasedRecipient(const client_cache_t& cacheId, in unregisterErasedRecipient()
190 std::vector<std::pair<sp<ErasedRecipient>, client_cache_t>> pendingErase; in removeProcess()
204 client_cache_t cacheId = {processToken, id}; in removeProcess()
DSurfaceFlinger.h528 bool isAutoTimestamp, const std::vector<client_cache_t>& uncacheBuffers,
DSurfaceFlinger.cpp4502 const std::vector<client_cache_t>& uncacheBuffers, bool hasListenerCallbacks, in setTransactionState()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h59 struct client_cache_t;
118 bool isAutoTimestamp, const std::vector<client_cache_t>& uncacheBuffer,
DLayerState.h62 struct client_cache_t { struct
66 bool operator==(const client_cache_t& other) const { return id == other.id; } argument
128 client_cache_t cachedBuffer;
DSurfaceComposerClient.h433 std::vector<client_cache_t> mUncacheBuffers;
/frameworks/native/libs/gui/
DISurfaceComposer.cpp66 const std::vector<client_cache_t>& uncacheBuffers, bool hasListenerCallbacks, in setTransactionState()
90 for (const client_cache_t& uncacheBuffer : uncacheBuffers) { in setTransactionState()
169 std::vector<client_cache_t> uncacheBuffers(count); in onTransact()
DSurfaceComposerClient.cpp638 std::optional<client_cache_t>& outUncacheBuffer) { in cache()
660 client_cache_t findLeastRecentlyUsedBuffer() REQUIRES(mMutex) { in findLeastRecentlyUsedBuffer()
822 std::vector<client_cache_t> uncacheBuffers(count); in readFromParcel()
908 for (const client_cache_t& uncacheBuffer : mUncacheBuffers) { in writeToParcel()
1046 client_cache_t uncacheBuffer; in doUncacheBufferTransaction()
1091 std::optional<client_cache_t> uncacheBuffer; in cacheBuffers()
/frameworks/native/services/surfaceflinger/tests/unittests/
DGameModeTest.cpp76 client_cache_t mClientCache;
DTestableSurfaceFlinger.h508 bool isAutoTimestamp, const std::vector<client_cache_t>& uncacheBuffers, in setTransactionState()
DTransactionApplicationTest.cpp74 std::vector<client_cache_t> uncacheBuffers;
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_fuzzers_utils.h748 bool isAutoTimestamp, const std::vector<client_cache_t>& uncacheBuffers, in setTransactionState()
/frameworks/native/libs/gui/tests/
DSurface_test.cpp707 const std::vector<client_cache_t>& /*cachedBuffer*/, bool /*hasListenerCallbacks*/, in setTransactionState() argument