Home
last modified time | relevance | path

Searched refs:OutputLayer (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DOutputLayer.cpp23 OutputLayer::OutputLayer() = default;
24 OutputLayer::~OutputLayer() = default;
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp43 OutputLayer::~OutputLayer() = default;
59 std::unique_ptr<OutputLayer> createOutputLayer(const compositionengine::Output& output, in createOutputLayer()
61 return createOutputLayerTemplated<OutputLayer>(output, layerFE); in createOutputLayer()
64 OutputLayer::~OutputLayer() = default;
66 void OutputLayer::setHwcLayer(std::shared_ptr<HWC2::Layer> hwcLayer) { in setHwcLayer()
75 Rect OutputLayer::calculateInitialCrop() const { in calculateInitialCrop()
108 FloatRect OutputLayer::calculateOutputSourceCrop(uint32_t internalDisplayRotationFlags) const { in calculateOutputSourceCrop()
184 Rect OutputLayer::calculateOutputDisplayFrame() const { in calculateOutputDisplayFrame()
241 uint32_t OutputLayer::calculateOutputRelativeBufferTransform( in calculateOutputRelativeBufferTransform()
283 void OutputLayer::updateCompositionState( in updateCompositionState()
[all …]
DOutput.cpp400 std::unique_ptr<compositionengine::OutputLayer> Output::createOutputLayer( in createOutputLayer()
405 compositionengine::OutputLayer* Output::getOutputLayerForLayer(const sp<LayerFE>& layerFE) const { in getOutputLayerForLayer()
859 compositionengine::OutputLayer* peekThroughLayer = nullptr; in writeCompositionState()
913 compositionengine::OutputLayer* Output::findLayerRequestingBackgroundComposition() const { in findLayerRequestingBackgroundComposition()
914 compositionengine::OutputLayer* layerRequestingBgComposition = nullptr; in findLayerRequestingBackgroundComposition()
DDisplay.cpp156 std::unique_ptr<compositionengine::OutputLayer> Display::createOutputLayer( in createOutputLayer()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayer.h42 class OutputLayer : public virtual compositionengine::OutputLayer {
44 ~OutputLayer() override;
106 class OutputLayer final : public BaseOutputLayer { in createOutputLayerTemplated()
121 OutputLayer(const Output& output, const sp<LayerFE>& layerFE) in createOutputLayerTemplated()
123 ~OutputLayer() override = default; in createOutputLayerTemplated()
140 return std::make_unique<OutputLayer>(output, layerFE); in createOutputLayerTemplated()
143 std::unique_ptr<OutputLayer> createOutputLayer(const compositionengine::Output&,
DOutput.h78 compositionengine::OutputLayer* getOutputLayerForLayer(const sp<LayerFE>&) const override;
130 std::unique_ptr<compositionengine::OutputLayer> createOutputLayer(const sp<LayerFE>&) const;
157 virtual compositionengine::OutputLayer* ensureOutputLayer(std::optional<size_t>,
159 virtual compositionengine::OutputLayer* injectOutputLayerForTest(const sp<LayerFE>&) = 0;
170 compositionengine::OutputLayer* findLayerRequestingBackgroundComposition() const;
185 OutputLayer* mLayerRequestingBackgroundBlur = nullptr;
212 using OutputLayer = std::remove_pointer_t<decltype( in createOutputTemplated() local
231 OutputLayer* getOutputLayerOrderedByZByIndex(size_t index) const override { in createOutputTemplated()
243 OutputLayer* ensureOutputLayer(std::optional<size_t> prevIndex, in createOutputTemplated()
264 OutputLayer* injectOutputLayerForTest(const sp<LayerFE>& layerFE) override { in createOutputTemplated()
[all …]
DOutputLayerCompositionState.h52 class OutputLayer; variable
117 compositionengine::OutputLayer* peekThroughLayer = nullptr;
DDisplay.h93 std::unique_ptr<compositionengine::OutputLayer> createOutputLayer(const sp<LayerFE>&) const;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DPredictorTest.cpp53 void setupMocksForLayer(mock::OutputLayer& layer, mock::LayerFE& layerFE, in setupMocksForLayer()
78 mock::OutputLayer outputLayerOne; in TEST_F()
86 mock::OutputLayer outputLayerTwo; in TEST_F()
94 mock::OutputLayer outputLayerThree; in TEST_F()
109 mock::OutputLayer outputLayerOne; in TEST_F()
118 mock::OutputLayer outputLayerTwo; in TEST_F()
136 mock::OutputLayer outputLayerOne; in TEST_F()
146 mock::OutputLayer outputLayerTwo; in TEST_F()
170 mock::OutputLayer outputLayerOne; in TEST_F()
180 mock::OutputLayer outputLayerTwo; in TEST_F()
[all …]
DLayerStateTest.cpp87 void setupMocksForLayer(mock::OutputLayer& layer, mock::LayerFE& layerFE, in setupMocksForLayer()
115 mock::OutputLayer mOutputLayer;
139 mock::OutputLayer newOutputLayer; in TEST_F()
163 mock::OutputLayer newOutputLayer; in TEST_F()
178 mock::OutputLayer newOutputLayer; in TEST_F()
208 mock::OutputLayer newOutputLayer; in TEST_F()
223 mock::OutputLayer newOutputLayer; in TEST_F()
255 mock::OutputLayer newOutputLayer; in TEST_F()
273 mock::OutputLayer newOutputLayer; in TEST_F()
327 mock::OutputLayer newOutputLayer; in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DOutputLayer.h31 class OutputLayer : public compositionengine::OutputLayer {
33 OutputLayer();
34 virtual ~OutputLayer();
DOutput.h73 compositionengine::OutputLayer*(const sp<compositionengine::LayerFE>&));
76 compositionengine::OutputLayer*(const sp<compositionengine::LayerFE>&));
78 MOCK_CONST_METHOD1(getOutputLayerOrderedByZByIndex, OutputLayer*(size_t));
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DOutputLayer.h60 class OutputLayer {
62 virtual ~OutputLayer();
DOutput.h54 class OutputLayer; variable
243 virtual OutputLayer* getOutputLayerForLayer(const sp<LayerFE>&) const = 0;
249 virtual OutputLayer* injectOutputLayerForTest(const sp<LayerFE>&) = 0;
255 virtual OutputLayer* getOutputLayerOrderedByZByIndex(size_t) const = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h90 virtual ftl::Flags<LayerStateField> update(const compositionengine::OutputLayer* layer) = 0;
106 using ReadFromLayerState = std::function<T(const compositionengine::OutputLayer* layer)>;
158 ftl::Flags<LayerStateField> update(const compositionengine::OutputLayer* layer) override {
218 LayerState(compositionengine::OutputLayer* layer);
221 ftl::Flags<LayerStateField> update(compositionengine::OutputLayer*);
233 compositionengine::OutputLayer* getOutputLayer() const { return mOutputLayer; }
278 compositionengine::OutputLayer* mOutputLayer = nullptr;
281 [](const compositionengine::OutputLayer* layer) {
DCachedSet.h142 compositionengine::OutputLayer* getHolePunchLayer() const;
144 compositionengine::OutputLayer* getBlurLayer() const;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp82 StrictMock<mock::OutputLayer>* outputLayer = new StrictMock<mock::OutputLayer>();
93 StrictMock<mock::OutputLayer>* outputLayer = new StrictMock<mock::OutputLayer>();
101 virtual void injectOutputLayerForTest(std::unique_ptr<compositionengine::OutputLayer>) = 0;
123 compositionengine::OutputLayer*(size_t));
125 compositionengine::OutputLayer*(std::optional<size_t>, const sp<LayerFE>&));
129 MOCK_METHOD1(injectOutputLayerForTest, compositionengine::OutputLayer*(const sp<LayerFE>&));
130 MOCK_METHOD1(injectOutputLayerForTest, void(std::unique_ptr<OutputLayer>));
236 std::unique_ptr<compositionengine::OutputLayer>(mLayer1.outputLayer)); in DisplayWithLayersTestCommon()
238 std::unique_ptr<compositionengine::OutputLayer>(mLayer2.outputLayer)); in DisplayWithLayersTestCommon()
240 std::unique_ptr<compositionengine::OutputLayer>(mLayer3.outputLayer)); in DisplayWithLayersTestCommon()
[all …]
DOutputLayerTest.cpp86 struct OutputLayer final : public impl::OutputLayer { struct
87 OutputLayer(const compositionengine::Output& output, compositionengine::LayerFE& layerFE) in OutputLayer() function
89 ~OutputLayer() override = default;
117 OutputLayer mOutputLayer{mOutput, mLayerFE};
534 struct OutputLayerPartialMockForUpdateCompositionState : public impl::OutputLayer {
588 using OutputLayer = OutputLayerPartialMockForUpdateCompositionState; typedef
589 StrictMock<OutputLayer> mOutputLayer{mOutput, mLayerFE};
1250 OutputLayer peekThroughLayer{mOutput, *peekThroughLayerFE}; in TEST_F()
DOutputTest.cpp94 MOCK_CONST_METHOD1(getOutputLayerOrderedByZByIndex, compositionengine::OutputLayer*(size_t));
96 compositionengine::OutputLayer*(std::optional<size_t>, const sp<LayerFE>&));
101 MOCK_METHOD1(injectOutputLayerForTest, compositionengine::OutputLayer*(const sp<LayerFE>&));
102 MOCK_METHOD1(injectOutputLayerForTest, void(std::unique_ptr<OutputLayer>));
118 mock::OutputLayer* outputLayer = {new StrictMock<mock::OutputLayer>};
135 mock::OutputLayer outputLayer;
145 virtual void injectOutputLayerForTest(std::unique_ptr<compositionengine::OutputLayer>) = 0;
164 mOutput->injectOutputLayerForTest(std::unique_ptr<OutputLayer>(layer.outputLayer)); in injectOutputLayer()
168 mOutput->injectOutputLayerForTest(std::unique_ptr<OutputLayer>(nullptr)); in injectNullOutputLayer()
1183 StrictMock<mock::OutputLayer> outputLayer;
[all …]
DCompositionEngineTest.cpp148 StrictMock<mock::OutputLayer> outputLayer;
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DFlattener.cpp309 compositionengine::OutputLayer* priorBlurLayer = nullptr; in mergeWithCachedSets()
327 OutputLayer::CompositionState& state = in mergeWithCachedSets()
367 OutputLayer::CompositionState& state = in mergeWithCachedSets()
388 OutputLayer::CompositionState& state = in mergeWithCachedSets()
398 OutputLayer::CompositionState& state = in mergeWithCachedSets()
DLayerState.cpp28 LayerState::LayerState(compositionengine::OutputLayer* layer) in LayerState()
45 ftl::Flags<LayerStateField> LayerState::update(compositionengine::OutputLayer* layer) { in update()
DCachedSet.cpp360 compositionengine::OutputLayer* CachedSet::getHolePunchLayer() const { in getHolePunchLayer()
364 compositionengine::OutputLayer* CachedSet::getBlurLayer() const { in getBlurLayer()
/frameworks/native/services/surfaceflinger/CompositionEngine/
DAndroid.bp85 "src/OutputLayer.cpp",
118 "mock/OutputLayer.cpp",
/frameworks/native/services/surfaceflinger/
DLayer.h73 class OutputLayer; variable
1010 compositionengine::OutputLayer* findOutputLayerForDisplay(const DisplayDevice*) const;
1011 compositionengine::OutputLayer* findOutputLayerForDisplay(
1124 const compositionengine::OutputLayer*) const;

12