Home
last modified time | relevance | path

Searched refs:CachedSet (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
H A DCachedSetTest.cpp40 using impl::planner::CachedSet;
133 void expectEqual(const CachedSet& cachedSet, const CachedSet::Layer& layer) { in expectEqual()
164 CachedSet cachedSet(layer); in TEST_F()
180 CachedSet cachedSet(layer1); in TEST_F()
202 CachedSet cachedSet(layer1); in TEST_F()
227 CachedSet cachedSet(layer); in TEST_F()
237 CachedSet cachedSet(layer); in TEST_F()
250 CachedSet cachedSet(layer1); in TEST_F()
262 CachedSet cachedSet(layer1); in TEST_F()
303 CachedSet cachedSet(layer); in TEST_F()
[all …]
H A DFlattenerTest.cpp31 using impl::planner::CachedSet;
52 const std::optional<CachedSet>& getNewCachedSetForTesting() const { return mNewCachedSet; } in getNewCachedSetForTesting()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
H A DFlattener.h129 std::vector<CachedSet>::const_iterator mStart;
131 const CachedSet* mHolePunchCandidate = nullptr;
132 const CachedSet* mBlurringLayer = nullptr;
151 void setBlurringLayer(const CachedSet* blurringLayer) { in setBlurringLayer()
180 Run(std::vector<CachedSet>::const_iterator start, size_t length, in Run()
181 const CachedSet* holePunchCandidate, const CachedSet* blurringLayer) in Run()
186 const std::vector<CachedSet>::const_iterator mStart;
188 const CachedSet* const mHolePunchCandidate;
189 const CachedSet* const mBlurringLayer;
207 std::optional<CachedSet> mNewCachedSet;
[all …]
H A DCachedSet.h35 class CachedSet {
59 CachedSet(const LayerState*, std::chrono::steady_clock::time_point lastUpdate);
60 CachedSet(Layer layer);
92 std::vector<CachedSet> decompose() const;
97 void append(const CachedSet& other) { in append()
137 void addHolePunchLayerIfFeasible(const CachedSet&, bool isFirstLayer);
139 void addBackgroundBlurLayer(const CachedSet&);
151 CachedSet() = default;
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
H A DCachedSet.cpp34 const bool CachedSet::sDebugHighlighLayers =
60 CachedSet::CachedSet(const LayerState* layer, std::chrono::steady_clock::time_point lastUpdate) in CachedSet() function in android::compositionengine::impl::planner::CachedSet
65 CachedSet::CachedSet(Layer layer) in CachedSet() function in android::compositionengine::impl::planner::CachedSet
123 size_t CachedSet::getDisplayCost() const { in getDisplayCost()
127 bool CachedSet::hasBufferUpdate() const { in hasBufferUpdate()
136 bool CachedSet::hasReadyBuffer() const { in hasReadyBuffer()
140 std::vector<CachedSet> CachedSet::decompose() const { in decompose()
141 std::vector<CachedSet> layers; in decompose()
320 bool CachedSet::hasBlurBehind() const { in hasBlurBehind()
332 void CachedSet::addHolePunchLayerIfFeasible(const CachedSet& holePunchLayer, bool isFirstLayer) { in addHolePunchLayerIfFeasible()
[all …]
H A DFlattener.cpp38 const std::vector<CachedSet>& cachedSets) { in isSameStack()
144 for (const CachedSet& layer : mLayers) { in dumpLayers()
234 for (const CachedSet& cachedSet : mLayers) { in resetActivities()
261 std::vector<CachedSet> merged; in mergeWithCachedSets()
280 for (const CachedSet& layer : mLayers) { in mergeWithCachedSets()
371 for (CachedSet& layer : currentLayerIter->decompose()) { in mergeWithCachedSets()
395 for (const CachedSet& layer : merged) { in mergeWithCachedSets()
488 for (const CachedSet& layer : mLayers) { in buildCachedSets()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/
H A DAndroid.bp55 "src/planner/CachedSet.cpp",