/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | Output.h | 29 namespace android::compositionengine::mock { 31 class Output : public virtual compositionengine::Output { 49 MOCK_METHOD(bool, includesLayer, (const sp<compositionengine::LayerFE>&), (const)); 51 MOCK_METHOD1(setColorTransform, void(const compositionengine::CompositionRefreshArgs&)); 60 MOCK_CONST_METHOD0(getDisplayColorProfile, compositionengine::DisplayColorProfile*()); 62 void(std::unique_ptr<compositionengine::DisplayColorProfile>)); 64 MOCK_CONST_METHOD0(getRenderSurface, compositionengine::RenderSurface*()); 65 MOCK_METHOD1(setRenderSurface, void(std::unique_ptr<compositionengine::RenderSurface>)); 73 compositionengine::OutputLayer*(const sp<compositionengine::LayerFE>&)); 76 compositionengine::OutputLayer*(const sp<compositionengine::LayerFE>&)); [all …]
|
D | LayerFE.h | 25 namespace android::compositionengine::mock { 29 class LayerFE : public compositionengine::LayerFE { 50 std::optional<compositionengine::LayerFE::LayerSettings>( 51 compositionengine::LayerFE::ClientCompositionTargetSettings&));
|
D | OutputLayer.h | 29 namespace android::compositionengine::mock { 31 class OutputLayer : public compositionengine::OutputLayer { 40 MOCK_CONST_METHOD0(getOutput, const compositionengine::Output&()); 41 MOCK_CONST_METHOD0(getLayerFE, compositionengine::LayerFE&());
|
D | Display.h | 27 namespace android::compositionengine::mock { 29 class Display : public compositionengine::mock::Output, public compositionengine::Display {
|
D | CompositionEngine.h | 28 namespace android::compositionengine::mock { 30 class CompositionEngine : public compositionengine::CompositionEngine { 37 std::unique_ptr<compositionengine::LayerFECompositionState>());
|
D | DisplaySurface.h | 24 namespace android::compositionengine::mock { 26 class DisplaySurface : public compositionengine::DisplaySurface {
|
D | DisplayColorProfile.h | 23 namespace android::compositionengine::mock { 25 class DisplayColorProfile : public compositionengine::DisplayColorProfile {
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | Output.h | 35 namespace android::compositionengine::impl { 39 class Output : public virtual compositionengine::Output { 57 void setColorTransform(const compositionengine::CompositionRefreshArgs&) override; 67 compositionengine::DisplayColorProfile* getDisplayColorProfile() const override; 68 void setDisplayColorProfile(std::unique_ptr<compositionengine::DisplayColorProfile>) override; 70 compositionengine::RenderSurface* getRenderSurface() const override; 71 void setRenderSurface(std::unique_ptr<compositionengine::RenderSurface>) override; 78 compositionengine::OutputLayer* getOutputLayerForLayer(const sp<LayerFE>&) const override; 90 compositionengine::Output::CoverageState&) override; 91 void ensureOutputLayerIfVisible(sp<compositionengine::LayerFE>&, [all …]
|
D | Display.h | 35 namespace android::compositionengine { 43 class Display : public compositionengine::impl::Output, public virtual compositionengine::Display { 51 using compositionengine::impl::Output::setReleasedLayers; 62 compositionengine::Output::FrameFences presentFrame() override; 74 const compositionengine::DisplayColorProfileCreationArgs&) override; 75 void createRenderSurface(const compositionengine::RenderSurfaceCreationArgs&) override; 92 virtual void setConfiguration(const compositionengine::DisplayCreationArgs&); 93 std::unique_ptr<compositionengine::OutputLayer> createOutputLayer(const sp<LayerFE>&) const; 113 const compositionengine::DisplayCreationArgs& args) { in createDisplayTemplated() 121 std::shared_ptr<Display> createDisplay(const compositionengine::CompositionEngine&, [all …]
|
D | RenderSurface.h | 33 namespace compositionengine { 43 class RenderSurface : public compositionengine::RenderSurface { 45 RenderSurface(const CompositionEngine&, compositionengine::Display&, 46 const compositionengine::RenderSurfaceCreationArgs&); 76 const compositionengine::CompositionEngine& mCompositionEngine; 77 const compositionengine::Display& mDisplay; 91 std::unique_ptr<compositionengine::RenderSurface> createRenderSurface( 92 const compositionengine::CompositionEngine&, compositionengine::Display&, 93 const compositionengine::RenderSurfaceCreationArgs&);
|
D | CompositionEngine.h | 21 namespace android::compositionengine::impl { 23 class CompositionEngine : public compositionengine::CompositionEngine { 28 std::shared_ptr<compositionengine::Display> createDisplay( 29 const compositionengine::DisplayCreationArgs&) override; 30 std::unique_ptr<compositionengine::LayerFECompositionState> createLayerFECompositionState() 69 std::unique_ptr<compositionengine::CompositionEngine> createCompositionEngine();
|
D | DisplayColorProfile.h | 27 namespace android::compositionengine { 34 class DisplayColorProfile : public compositionengine::DisplayColorProfile { 92 std::unique_ptr<compositionengine::DisplayColorProfile> createDisplayColorProfile(
|
D | OutputLayerCompositionState.h | 51 namespace compositionengine { 55 namespace compositionengine::impl { 117 compositionengine::OutputLayer* peekThroughLayer = nullptr;
|
/frameworks/native/services/surfaceflinger/ |
D | LayerFE.h | 36 class LayerFE : public virtual RefBase, public virtual compositionengine::LayerFE { 42 const compositionengine::LayerFECompositionState* getCompositionState() const override; 51 std::optional<compositionengine::LayerFE::LayerSettings> prepareClientComposition( 52 compositionengine::LayerFE::ClientCompositionTargetSettings&) const; 61 std::optional<compositionengine::LayerFE::LayerSettings> prepareClientCompositionInternal( 62 compositionengine::LayerFE::ClientCompositionTargetSettings&) const; 69 compositionengine::LayerFE::LayerSettings&, 70 compositionengine::LayerFE::ClientCompositionTargetSettings&) const; 72 compositionengine::LayerFE::LayerSettings&, 73 compositionengine::LayerFE::ClientCompositionTargetSettings&) const;
|
D | ScreenCaptureOutput.h | 29 const compositionengine::CompositionEngine& compositionEngine; 30 const compositionengine::Output::ColorProfile& colorProfile; 49 class ScreenCaptureOutput : public compositionengine::impl::Output { 52 const compositionengine::Output::ColorProfile& colorProfile, 56 void updateColorProfile(const compositionengine::CompositionRefreshArgs&) override; 58 std::vector<compositionengine::LayerFE::LayerSettings> generateClientCompositionRequests( 60 std::vector<compositionengine::LayerFE*>& outLayerFEs) override; 69 const compositionengine::Output::ColorProfile& mColorProfile;
|
D | ScreenCaptureOutput.cpp | 29 std::shared_ptr<ScreenCaptureOutput> output = compositionengine::impl::createOutputTemplated< in createScreenCaptureOutput() 30 ScreenCaptureOutput, compositionengine::CompositionEngine, const RenderArea&, in createScreenCaptureOutput() 31 const compositionengine::Output::ColorProfile&, in createScreenCaptureOutput() 43 output->setDisplayColorProfile(std::make_unique<compositionengine::impl::DisplayColorProfile>( in createScreenCaptureOutput() 44 compositionengine::DisplayColorProfileCreationArgsBuilder() in createScreenCaptureOutput() 65 const RenderArea& renderArea, const compositionengine::Output::ColorProfile& colorProfile, in ScreenCaptureOutput() 74 void ScreenCaptureOutput::updateColorProfile(const compositionengine::CompositionRefreshArgs&) { in updateColorProfile() 83 compositionengine::impl::Output::generateClientCompositionDisplaySettings(buffer); in generateClientCompositionDisplaySettings() 101 std::vector<compositionengine::LayerFE::LayerSettings> 104 std::vector<compositionengine::LayerFE*>& outLayerFEs) { in generateClientCompositionRequests() [all …]
|
D | LayerFE.cpp | 94 const compositionengine::LayerFECompositionState* LayerFE::getCompositionState() const { in getCompositionState() 102 std::optional<compositionengine::LayerFE::LayerSettings> LayerFE::prepareClientComposition( in prepareClientComposition() 103 compositionengine::LayerFE::ClientCompositionTargetSettings& targetSettings) const { in prepareClientComposition() 104 std::optional<compositionengine::LayerFE::LayerSettings> layerSettings = in prepareClientComposition() 123 std::optional<compositionengine::LayerFE::LayerSettings> LayerFE::prepareClientCompositionInternal( in prepareClientCompositionInternal() 124 compositionengine::LayerFE::ClientCompositionTargetSettings& targetSettings) const { in prepareClientCompositionInternal() 126 compositionengine::LayerFE::LayerSettings layerSettings; in prepareClientCompositionInternal() 203 compositionengine::LayerFE::LayerSettings& layerSettings, in prepareEffectsClientComposition() 204 compositionengine::LayerFE::ClientCompositionTargetSettings& targetSettings) const { in prepareEffectsClientComposition() 215 compositionengine::LayerFE::LayerSettings& layerSettings, in prepareBufferStateClientComposition() [all …]
|
D | DisplayDevice.h | 65 namespace compositionengine { 85 std::shared_ptr<compositionengine::Display> getCompositionDisplay() const { in getCompositionDisplay() 225 const std::shared_ptr<compositionengine::Display> mCompositionDisplay; 300 std::shared_ptr<compositionengine::Display>); 304 const std::shared_ptr<compositionengine::Display> compositionDisplay; 311 sp<compositionengine::DisplaySurface> displaySurface;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CommitTest.cpp | 79 compositionengine::mock::CompositionEngine* mCompositionEngine = in TEST_F() 80 new compositionengine::mock::CompositionEngine(); in TEST_F() 83 compositionengine::FeatureFlags flags; in TEST_F() 87 EXPECT_THAT(flags.test(compositionengine::Feature::kSnapshotLayerMetadata), false); in TEST_F() 92 std::unique_ptr<compositionengine::CompositionEngine>(mCompositionEngine)); in TEST_F() 122 compositionengine::mock::CompositionEngine* mCompositionEngine = in TEST_F() 123 new compositionengine::mock::CompositionEngine(); in TEST_F() 126 compositionengine::FeatureFlags flags; in TEST_F() 127 flags |= compositionengine::Feature::kSnapshotLayerMetadata; in TEST_F() 131 EXPECT_THAT(flags.test(compositionengine::Feature::kSnapshotLayerMetadata), true); in TEST_F() [all …]
|
D | CommitAndCompositeTest.h | 47 compositionengine::DisplayCreationArgsBuilder() in SetUp() 54 compositionengine::impl::createDisplay(mFlinger.getCompositionEngine(), in SetUp() 78 sp<compositionengine::mock::DisplaySurface> mDisplaySurface = 79 sp<compositionengine::mock::DisplaySurface>::make();
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | Planner.h | 36 namespace compositionengine::impl::planner { 57 compositionengine::Output::OutputLayersEnumerator<compositionengine::Output>&& layers); 62 compositionengine::Output::OutputLayersEnumerator<compositionengine::Output>&& layers);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | CompositionEngine.cpp | 37 namespace android::compositionengine { namespace 43 std::unique_ptr<compositionengine::CompositionEngine> createCompositionEngine() { in createCompositionEngine() 50 std::shared_ptr<compositionengine::Display> CompositionEngine::createDisplay( in createDisplay() 52 return compositionengine::impl::createDisplay(*this, args); in createDisplay() 55 std::unique_ptr<compositionengine::LayerFECompositionState> 57 return std::make_unique<compositionengine::LayerFECompositionState>(); in createLayerFECompositionState() 98 ui::PhysicalDisplayVector<compositionengine::Output*> outputsToOffload; in offloadOutputs() 124 for (compositionengine::Output* output : outputsToOffload) { in offloadOutputs()
|
D | Display.cpp | 46 namespace android::compositionengine::impl { namespace 49 const compositionengine::CompositionEngine& compositionEngine, in createDisplay() 50 const compositionengine::DisplayCreationArgs& args) { in createDisplay() 56 void Display::setConfiguration(const compositionengine::DisplayCreationArgs& args) { in setConfiguration() 101 void Display::setColorTransform(const compositionengine::CompositionRefreshArgs& args) { in setColorTransform() 144 setDisplayColorProfile(compositionengine::impl::createDisplayColorProfile(args)); in createDisplayColorProfile() 149 compositionengine::impl::createRenderSurface(getCompositionEngine(), *this, args)); in createRenderSurface() 156 std::unique_ptr<compositionengine::OutputLayer> Display::createOutputLayer( in createOutputLayer() 157 const sp<compositionengine::LayerFE>& layerFE) const { in createOutputLayer() 171 void Display::setReleasedLayers(const compositionengine::CompositionRefreshArgs& refreshArgs) { in setReleasedLayers() [all …]
|
D | Output.cpp | 62 namespace android::compositionengine { namespace 104 const compositionengine::CompositionEngine& compositionEngine) { in createOutput() 256 void Output::setColorTransform(const compositionengine::CompositionRefreshArgs& args) { in setColorTransform() 343 compositionengine::DisplayColorProfile* Output::getDisplayColorProfile() const { in getDisplayColorProfile() 347 void Output::setDisplayColorProfile(std::unique_ptr<compositionengine::DisplayColorProfile> mode) { in setDisplayColorProfile() 356 std::unique_ptr<compositionengine::DisplayColorProfile> mode) { in setDisplayColorProfileForTest() 360 compositionengine::RenderSurface* Output::getRenderSurface() const { in getRenderSurface() 364 void Output::setRenderSurface(std::unique_ptr<compositionengine::RenderSurface> surface) { in setRenderSurface() 382 void Output::setRenderSurfaceForTest(std::unique_ptr<compositionengine::RenderSurface> surface) { in setRenderSurfaceForTest() 400 std::unique_ptr<compositionengine::OutputLayer> Output::createOutputLayer( in createOutputLayer() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | CompositionRefreshArgs.h | 32 namespace android::compositionengine { 34 using Layers = std::vector<sp<compositionengine::LayerFE>>; 35 using Outputs = std::vector<std::shared_ptr<compositionengine::Output>>;
|