Home
last modified time | relevance | path

Searched refs:Composer (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/native/cmds/flatland/
DFlatland.h31 class Composer; variable
38 Composer* (*composerFactory)();
47 class Composer {
49 virtual ~Composer() {} in ~Composer()
55 Composer* nocomp();
56 Composer* opaque();
57 Composer* opaqueShrink();
58 Composer* blend();
59 Composer* blendShrink();
DComposers.cpp112 class ComposerBase : public Composer {
137 Composer* nocomp() { in nocomp()
143 Composer* opaque() { in opaque()
166 Composer* opaqueShrink() { in opaqueShrink()
199 Composer* blend() { in blend()
237 Composer* blendShrink() { in blendShrink()
DMain.cpp371 Composer* mComposer;
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockComposer.cpp28 Composer::Composer() = default;
29 Composer::~Composer() = default;
DMockComposer.h47 class Composer : public Hwc2::Composer {
50 Composer();
51 ~Composer() override;
DMockHWC2.h85 (float, float, const Hwc2::Composer::DisplayBrightnessOptions &), (override));
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.cpp26 Composer::~Composer() = default;
28 std::unique_ptr<Composer> Composer::create(const std::string& serviceName) { in create()
DHWComposer.h68 class Composer; variable
215 const Hwc2::Composer::DisplayBrightnessOptions&) = 0;
276 virtual Hwc2::Composer* getComposer() const = 0;
325 explicit HWComposer(std::unique_ptr<Hwc2::Composer> composer);
415 const Hwc2::Composer::DisplayBrightnessOptions&) override;
479 Hwc2::Composer* getComposer() const override { return mComposer.get(); } in getComposer()
537 std::unique_ptr<android::Hwc2::Composer> mComposer;
DHWC2.h60 class Composer; variable
166 const Hwc2::Composer::DisplayBrightnessOptions& options) = 0;
195 Display(android::Hwc2::Composer&,
250 const Hwc2::Composer::DisplayBrightnessOptions& options) override;
294 android::Hwc2::Composer& mComposer;
365 Layer(android::Hwc2::Composer& composer,
412 android::Hwc2::Composer& mComposer;
DComposerHal.h92 class Composer {
94 static std::unique_ptr<Composer> create(const std::string& serviceName);
96 virtual ~Composer() = 0;
DHWC2.cpp77 Display::Display(android::Hwc2::Composer& composer, in Display()
152 return mComposer.isSupported(android::Hwc2::Composer::OptionalFeature::RefreshRateSwitching); in isVsyncPeriodSwitchSupported()
561 const Hwc2::Composer::DisplayBrightnessOptions& options) { in setDisplayBrightness()
686 Layer::Layer(android::Hwc2::Composer& composer, in Layer()
DHWComposer.cpp88 HWComposer::HWComposer(std::unique_ptr<Hwc2::Composer> composer) in HWComposer()
96 : HWComposer(Hwc2::Composer::create(composerServiceName)) {} in HWComposer()
802 const Hwc2::Composer::DisplayBrightnessOptions& options) { in setDisplayBrightness()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCommitAndCompositeTest.h35 mComposer = new Hwc2::mock::Composer(); in SetUp()
39 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in SetUp()
83 Hwc2::mock::Composer* mComposer = nullptr;
DGameModeTest.cpp61 mComposer = new Hwc2::mock::Composer(); in setupComposer()
62 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in setupComposer()
75 Hwc2::mock::Composer* mComposer = nullptr;
DCommitTest.cpp43 mFlinger.setupComposer(std::make_unique<Hwc2::mock::Composer>()); in flinger_setup()
84 impl::HWComposer hwc = impl::HWComposer(std::make_unique<Hwc2::mock::Composer>()); in TEST_F()
128 impl::HWComposer hwc = impl::HWComposer(std::make_unique<Hwc2::mock::Composer>()); in TEST_F()
DDisplayModeControllerTest.cpp87 isSupported(Hwc2::Composer::OptionalFeature::RefreshRateSwitching)) in expectModeSet()
113 Hwc2::mock::Composer* mComposerHal = new testing::StrictMock<Hwc2::mock::Composer>();
115 std::make_unique<impl::HWComposer>(std::unique_ptr<Hwc2::Composer>(mComposerHal))};
DTunnelModeEnabledReporterTest.cpp64 Hwc2::mock::Composer* mComposer = nullptr;
79 mFlinger.setupComposer(std::make_unique<Hwc2::mock::Composer>()); in TunnelModeEnabledReporterTest()
DDisplayTransactionTest.cpp92 mComposer = new Hwc2::mock::Composer(); in injectMockComposer()
93 mFlinger.setupComposer(std::unique_ptr<Hwc2::Composer>(mComposer)); in injectMockComposer()
DHWComposerTest.cpp73 Hwc2::mock::Composer* const mHal = new StrictMock<Hwc2::mock::Composer>();
74 impl::HWComposer mHwc{std::unique_ptr<Hwc2::Composer>(mHal)};
518 std::unique_ptr<Hwc2::mock::Composer> mHal{new StrictMock<Hwc2::mock::Composer>()};
DTransactionFrameTracerTest.cpp47 mFlinger.setupComposer(std::make_unique<Hwc2::mock::Composer>()); in TransactionFrameTracerTest()
DFrameRateSelectionPriorityTest.cpp75 mFlinger.setupComposer(std::make_unique<Hwc2::mock::Composer>()); in RefreshRateSelectionTest()
DTestableSurfaceFlinger.h79 class Composer; variable
191 void setupComposer(std::unique_ptr<Hwc2::Composer> composer) { in setupComposer()
788 Hwc2::Composer& composer, in HWC2Display()
857 void inject(TestableSurfaceFlinger* flinger, Hwc2::mock::Composer* composer) { in inject()
DFrameRateSelectionStrategyTest.cpp69 mFlinger.setupComposer(std::make_unique<Hwc2::mock::Composer>()); in FrameRateSelectionStrategyTest()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h89 (PhysicalDisplayId, float, float, const Hwc2::Composer::DisplayBrightnessOptions&),
131 MOCK_CONST_METHOD0(getComposer, android::Hwc2::Composer*());
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp214 Hwc2::Composer::DisplayBrightnessOptions{ in applyDisplayBrightness()

12