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;
59 Fps, std::optional<android::HWComposer::DeviceRequestedChanges>*));
100 std::vector<HWComposer::HWCDisplayMode>(PhysicalDisplayId, int32_t));
DCompositionEngineTest.cpp66 android::mock::HWComposer* hwc = new StrictMock<android::mock::HWComposer>(); in TEST_F()
67 mEngine.setHwComposer(std::unique_ptr<android::HWComposer>(hwc)); in TEST_F()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp84 HWComposer::~HWComposer() = default;
88 HWComposer::HWComposer(std::unique_ptr<Hwc2::Composer> composer) in HWComposer() function in android::impl::HWComposer
95 HWComposer::HWComposer(const std::string& composerServiceName) in HWComposer() function in android::impl::HWComposer
96 : HWComposer(Hwc2::Composer::create(composerServiceName)) {} in HWComposer()
98 HWComposer::~HWComposer() { in ~HWComposer()
102 void HWComposer::setCallback(HWC2::ComposerCallback& callback) { in setCallback()
117 bool HWComposer::getDisplayIdentificationData(hal::HWDisplayId hwcDisplayId, uint8_t* outPort, in getDisplayIdentificationData()
130 bool HWComposer::hasCapability(Capability capability) const { in hasCapability()
134 bool HWComposer::hasDisplayCapability(HalDisplayId displayId, DisplayCapability capability) const { in hasDisplayCapability()
139 std::optional<DisplayIdentificationInfo> HWComposer::onHotplug(hal::HWDisplayId hwcDisplayId, in onHotplug()
[all …]
DFramebufferSurface.h37 class HWComposer; variable
43 FramebufferSurface(HWComposer& hwc, PhysicalDisplayId displayId,
98 HWComposer& mHwc;
DHWComposer.h82 class HWComposer {
117 virtual ~HWComposer();
314 static inline bool operator==(const android::HWComposer::DeviceRequestedChanges& lhs,
315 const android::HWComposer::DeviceRequestedChanges& rhs) {
323 class HWComposer final : public android::HWComposer {
325 explicit HWComposer(std::unique_ptr<Hwc2::Composer> composer);
326 explicit HWComposer(const std::string& composerServiceName);
328 ~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;
81 using ChangedTypes = android::HWComposer::DeviceRequestedChanges::ChangedTypes;
82 using DisplayRequests = android::HWComposer::DeviceRequestedChanges::DisplayRequests;
83 using LayerRequests = android::HWComposer::DeviceRequestedChanges::LayerRequests;
84 using ClientTargetProperty = android::HWComposer::DeviceRequestedChanges::ClientTargetProperty;
DCompositionEngine.h33 HWComposer& getHwComposer() const override;
34 void setHwComposer(std::unique_ptr<HWComposer>) override;
62 std::unique_ptr<HWComposer> mHwComposer;
DOutput.h124 std::optional<android::HWComposer::DeviceRequestedChanges>*);
133 using DeviceRequestedChanges = android::HWComposer::DeviceRequestedChanges;
135 std::optional<android::HWComposer::DeviceRequestedChanges>*) override { in chooseCompositionStrategy()
DOutputCompositionState.h121 std::optional<android::HWComposer::DeviceRequestedChanges> previousDeviceRequestedChanges{};
DOutputLayerCompositionState.h49 class HWComposer; variable
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DCompositionEngine.h27 class HWComposer; variable
55 virtual HWComposer& getHwComposer() const = 0;
56 virtual void setHwComposer(std::unique_ptr<HWComposer>) = 0;
DOutput.h312 std::optional<android::HWComposer::DeviceRequestedChanges>*) = 0;
314 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.h108 bool(std::optional<android::HWComposer::DeviceRequestedChanges>*));
110 std::future<bool>(std::optional<android::HWComposer::DeviceRequestedChanges>*));
112 void(const std::optional<android::HWComposer::DeviceRequestedChanges>&));
/frameworks/native/services/surfaceflinger/tests/unittests/
DCommitTest.cpp84 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.cpp114 const std::unique_ptr<HWComposer> mComposer{
115 std::make_unique<impl::HWComposer>(std::unique_ptr<Hwc2::Composer>(mComposerHal))};
/frameworks/native/services/surfaceflinger/Display/
DDisplayModeController.h38 class HWComposer; variable
51 void setHwComposer(HWComposer* composerPtr) { mComposerPtr = composerPtr; } in setHwComposer()
132 HWComposer* mComposerPtr = nullptr;
/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/
DSurfaceFlingerFactory.h37 class HWComposer; variable
69 virtual std::unique_ptr<HWComposer> createHWComposer(const std::string& serviceName) = 0;
DDisplayDevice.h55 class HWComposer; variable
221 HWComposer& mHwComposer;
298 DisplayDeviceCreationArgs(const sp<SurfaceFlinger>&, HWComposer& hwComposer,
302 HWComposer& hwComposer;
DSurfaceFlingerDefaultFactory.cpp42 std::unique_ptr<HWComposer> DefaultFactory::createHWComposer(const std::string& serviceName) { in createHWComposer()
43 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/CompositionEngine/src/
DCompositionEngine.cpp60 HWComposer& CompositionEngine::getHwComposer() const { in getHwComposer()
64 void CompositionEngine::setHwComposer(std::unique_ptr<HWComposer> hwComposer) { in setHwComposer()

12