Home
last modified time | relevance | path

Searched refs:HWComposer (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.cpp22 HWComposer::~HWComposer() = default;
28 HWComposer::HWComposer() = default;
29 HWComposer::~HWComposer() = default;
DMockHWComposer.h37 class HWComposer : public android::HWComposer {
39 HWComposer();
40 ~HWComposer() override;
60 std::optional<android::HWComposer::DeviceRequestedChanges>*));
98 MOCK_CONST_METHOD1(getModes, std::vector<HWComposer::HWCDisplayMode>(PhysicalDisplayId));
DCompositionEngineTest.cpp58 android::mock::HWComposer* hwc = new StrictMock<android::mock::HWComposer>(); in TEST_F()
59 mEngine.setHwComposer(std::unique_ptr<android::HWComposer>(hwc)); in TEST_F()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp79 HWComposer::~HWComposer() = default;
83 HWComposer::HWComposer(std::unique_ptr<Hwc2::Composer> composer) in HWComposer() function in android::impl::HWComposer
89 HWComposer::HWComposer(const std::string& composerServiceName) in HWComposer() function in android::impl::HWComposer
90 : HWComposer(Hwc2::Composer::create(composerServiceName)) {} in HWComposer()
92 HWComposer::~HWComposer() { in ~HWComposer()
96 void HWComposer::setCallback(HWC2::ComposerCallback& callback) { in setCallback()
109 bool HWComposer::getDisplayIdentificationData(hal::HWDisplayId hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData()
122 bool HWComposer::hasCapability(Capability capability) const { in hasCapability()
126 bool HWComposer::hasDisplayCapability(HalDisplayId displayId, DisplayCapability capability) const { in hasDisplayCapability()
131 std::optional<DisplayIdentificationInfo> HWComposer::onHotplug(hal::HWDisplayId hwcDisplayId, in onHotplug()
[all …]
DFramebufferSurface.h37 class HWComposer; variable
43 FramebufferSurface(HWComposer& hwc, PhysicalDisplayId displayId,
104 HWComposer& mHwc;
DHWComposer.h76 class HWComposer {
109 virtual ~HWComposer();
286 static inline bool operator==(const android::HWComposer::DeviceRequestedChanges& lhs,
287 const android::HWComposer::DeviceRequestedChanges& rhs) {
295 class HWComposer final : public android::HWComposer {
297 explicit HWComposer(std::unique_ptr<Hwc2::Composer> composer);
298 explicit HWComposer(const std::string& composerServiceName);
300 ~HWComposer() override;
DVirtualDisplaySurface.h32 class HWComposer; variable
78 VirtualDisplaySurface(HWComposer&, VirtualDisplayId, const sp<IGraphicBufferProducer>& sink,
161 HWComposer& mHwc;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDisplay.h57 using DeviceRequestedChanges = android::HWComposer::DeviceRequestedChanges;
59 std::optional<android::HWComposer::DeviceRequestedChanges>*) override;
78 using ChangedTypes = android::HWComposer::DeviceRequestedChanges::ChangedTypes;
79 using DisplayRequests = android::HWComposer::DeviceRequestedChanges::DisplayRequests;
80 using LayerRequests = android::HWComposer::DeviceRequestedChanges::LayerRequests;
81 using ClientTargetProperty = android::HWComposer::DeviceRequestedChanges::ClientTargetProperty;
DCompositionEngine.h33 HWComposer& getHwComposer() const override;
34 void setHwComposer(std::unique_ptr<HWComposer>) override;
60 std::unique_ptr<HWComposer> mHwComposer;
DOutput.h123 std::optional<android::HWComposer::DeviceRequestedChanges>*);
130 using DeviceRequestedChanges = android::HWComposer::DeviceRequestedChanges;
132 std::optional<android::HWComposer::DeviceRequestedChanges>*) override { in chooseCompositionStrategy()
DOutputCompositionState.h120 std::optional<android::HWComposer::DeviceRequestedChanges> previousDeviceRequestedChanges{};
DOutputLayerCompositionState.h49 class HWComposer; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DCompositionEngine.h26 class HWComposer; variable
54 virtual HWComposer& getHwComposer() const = 0;
55 virtual void setHwComposer(std::unique_ptr<HWComposer>) = 0;
DOutput.h303 std::optional<android::HWComposer::DeviceRequestedChanges>*) = 0;
305 const std::optional<android::HWComposer::DeviceRequestedChanges>& changes) = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DCompositionEngine.h39 MOCK_CONST_METHOD0(getHwComposer, HWComposer&());
40 MOCK_METHOD1(setHwComposer, void(std::unique_ptr<HWComposer>));
DOutput.h105 bool(std::optional<android::HWComposer::DeviceRequestedChanges>*));
107 std::future<bool>(std::optional<android::HWComposer::DeviceRequestedChanges>*));
109 void(const std::optional<android::HWComposer::DeviceRequestedChanges>&));
/frameworks/native/opengl/specs/
DEGL_ANDROID_framebuffer_target.txt44 the HWComposer HAL as a framebuffer target layer.
67 EGL_FRAMEBUFFER_TARGET_ANDROID boolean whether use as a HWComposer
83 which the buffers are to be passed to HWComposer as a framebuffer
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DCompositionEngine.cpp59 HWComposer& CompositionEngine::getHwComposer() const { in getHwComposer()
63 void CompositionEngine::setHwComposer(std::unique_ptr<HWComposer> hwComposer) { in setHwComposer()
DDisplay.cpp237 std::optional<android::HWComposer::DeviceRequestedChanges>* outChanges) { in chooseCompositionStrategy()
254 std::optional<android::HWComposer::DeviceRequestedChanges> changes; in chooseCompositionStrategy()
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerFactory.h41 class HWComposer; variable
75 virtual std::unique_ptr<HWComposer> createHWComposer(const std::string& serviceName) = 0;
DDisplayDevice.h54 class HWComposer; variable
268 HWComposer& mHwComposer;
350 DisplayDeviceCreationArgs(const sp<SurfaceFlinger>&, HWComposer& hwComposer,
354 HWComposer& hwComposer;
DSurfaceFlingerDefaultFactory.cpp49 std::unique_ptr<HWComposer> DefaultFactory::createHWComposer(const std::string& serviceName) { in createHWComposer()
50 return std::make_unique<android::impl::HWComposer>(serviceName); in createHWComposer()
DSurfaceFlingerDefaultFactory.h29 std::unique_ptr<HWComposer> createHWComposer(const std::string& serviceName) override;
/frameworks/native/services/surfaceflinger/tests/unittests/
DHWComposerTest.cpp64 impl::HWComposer hwc{std::unique_ptr<Hwc2::Composer>(mHal)}; in TEST()
116 impl::HWComposer hwc{std::unique_ptr<Hwc2::Composer>(mHal)}; in TEST_F()
133 impl::HWComposer hwc{std::unique_ptr<Hwc2::Composer>(mHal)}; in TEST_F()
DTestableSurfaceFlinger.h78 std::unique_ptr<HWComposer> createHWComposer(const std::string&) override { in createHWComposer()
201 std::make_unique<impl::HWComposer>(std::move(composer))); in setupComposer()
505 return static_cast<impl::HWComposer&>(mFlinger->getHwComposer()); in getHwComposer()
565 mFlinger->mCompositionEngine->setHwComposer(std::unique_ptr<HWComposer>()); in ~TestableSurfaceFlinger()

12