Home
last modified time | relevance | path

Searched refs:Composition (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp925 template <IComposerClient::Composition CompositionType>
927 static constexpr HWC2::Composition TYPE = static_cast<HWC2::Composition>(CompositionType);
940 template <IComposerClient::Composition InitialCompositionType,
941 IComposerClient::Composition FinalCompositionType>
943 static constexpr HWC2::Composition TYPE = static_cast<HWC2::Composition>(FinalCompositionType);
955 SetArgPointee<2>(std::vector<IComposerClient::Composition>{ in setupHwcGetCallExpectations()
1120 KeepCompositionTypeVariant<IComposerClient::Composition::DEVICE>, in TEST_F()
1127 KeepCompositionTypeVariant<IComposerClient::Composition::DEVICE>, in TEST_F()
1134 ChangeCompositionTypeVariant<IComposerClient::Composition::DEVICE, in TEST_F()
1135 IComposerClient::Composition::CLIENT>, in TEST_F()
[all …]
DTestableSurfaceFlinger.h217 void setLayerCompositionType(sp<Layer> layer, HWC2::Composition type) { in setLayerCompositionType()
222 (*state.hwc).hwcCompositionType = static_cast<Hwc2::IComposerClient::Composition>(type); in setLayerCompositionType()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp116 void HWComposer::validateChange(HWC2::Composition from, HWC2::Composition to) { in validateChange()
119 case HWC2::Composition::Client: in validateChange()
122 case HWC2::Composition::Device: in validateChange()
123 case HWC2::Composition::SolidColor: in validateChange()
124 valid = (to == HWC2::Composition::Client); in validateChange()
126 case HWC2::Composition::Cursor: in validateChange()
127 case HWC2::Composition::Sideband: in validateChange()
128 valid = (to == HWC2::Composition::Client || in validateChange()
129 to == HWC2::Composition::Device); in validateChange()
452 std::unordered_map<HWC2::Layer*, HWC2::Composition> changedTypes; in prepare()
[all …]
DComposerHal.h106 std::vector<IComposerClient::Composition>* outTypes) = 0;
165 IComposerClient::Composition type) = 0;
232 std::vector<IComposerClient::Composition>* outTypes);
264 std::vector<IComposerClient::Composition> compositionTypes;
322 std::vector<IComposerClient::Composition>* outTypes) override;
377 IComposerClient::Composition type) override;
DHWC2.h213 std::unordered_map<Layer*, Composition>* outTypes) = 0;
283 Error getChangedCompositionTypes(std::unordered_map<Layer*, Composition>* outTypes) override;
378 [[clang::warn_unused_result]] virtual Error setCompositionType(Composition type) = 0;
416 Error setCompositionType(Composition type) override;
DHWC2.cpp370 Error Display::getChangedCompositionTypes(std::unordered_map<HWC2::Layer*, Composition>* outTypes) { in getChangedCompositionTypes()
372 std::vector<Hwc2::IComposerClient::Composition> types; in getChangedCompositionTypes()
387 auto type = static_cast<Composition>(types[element]); in getChangedCompositionTypes()
885 Error Layer::setCompositionType(Composition type) in setCompositionType()
887 auto intType = static_cast<Hwc2::IComposerClient::Composition>(type); in setCompositionType()
DHWComposer.h329 static void validateChange(HWC2::Composition from, HWC2::Composition to);
DComposerHal.cpp349 std::vector<IComposerClient::Composition>* outTypes) in getChangedCompositionTypes()
747 IComposerClient::Composition type) in setLayerCompositionType()
1265 auto type = static_cast<IComposerClient::Composition>(readSigned()); in parseSetChangedCompositionTypes()
1393 std::vector<IComposerClient::Composition>* outTypes) in takeChangedCompositionTypes()
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.h73 HWC::BlendMode blending, HWC::Composition composition_type,
87 HWC::Composition composition_type, size_t z_order);
126 HWC::Composition GetCompositionType() const { return composition_type_; } in GetCompositionType()
188 HWC::Composition composition_type_ = HWC::Composition::Invalid;
189 HWC::Composition target_composition_type_ = HWC::Composition::Device;
Dhwc_types.h189 struct Composition final : public Wrapper<HWC2::Composition> {
199 Composition() : Base(Invalid) {}
Dhardware_composer.cpp1062 HWC::Composition::Device, layer_index); in UpdateLayerConfig()
1304 composition_type_ = HWC::Composition::Invalid; in Reset()
1316 HWC::BlendMode blending, HWC::Composition composition_type, in Layer()
1329 HWC::Composition composition_type, size_t z_order) in Layer()
1486 if (composition_type_ == HWC::Composition::Invalid) { in Prepare()
1487 composition_type_ = HWC::Composition::SolidColor; in Prepare()
1490 composition_type_.cast<Hwc2::IComposerClient::Composition>()); in Prepare()
1503 composition_type_.cast<Hwc2::IComposerClient::Composition>()); in Prepare()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayerCompositionState.h74 Hwc2::IComposerClient::Composition hwcCompositionType{
75 Hwc2::IComposerClient::Composition::INVALID};
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h84 Hwc2::IComposerClient::Composition compositionType{Hwc2::IComposerClient::Composition::INVALID};
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp134 std::vector<IComposerClient::Composition>* types) { in GetChangedCompositionTypes()
144 case IComposerClient::Composition::SOLID_COLOR: in GetChangedCompositionTypes()
145 case IComposerClient::Composition::CURSOR: in GetChangedCompositionTypes()
146 case IComposerClient::Composition::SIDEBAND: in GetChangedCompositionTypes()
159 if (layers_[i].composition_type != IComposerClient::Composition::CLIENT) { in GetChangedCompositionTypes()
161 types->push_back(IComposerClient::Composition::CLIENT); in GetChangedCompositionTypes()
162 layers_[i].composition_type = IComposerClient::Composition::CLIENT; in GetChangedCompositionTypes()
168 if (layers_[i].composition_type != IComposerClient::Composition::DEVICE) { in GetChangedCompositionTypes()
170 types->push_back(IComposerClient::Composition::DEVICE); in GetChangedCompositionTypes()
171 layers_[i].composition_type = IComposerClient::Composition::DEVICE; in GetChangedCompositionTypes()
[all …]
Dvr_hwc.h113 using Composition = member
114 hardware::graphics::composer::V2_1::IComposerClient::Composition;
120 Composition composition_type;
143 std::vector<IComposerClient::Composition>* composition);
253 std::vector<IComposerClient::Composition>* outCompositionTypes,
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp297 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::SIDEBAND); in setPerFrameData()
305 layerCompositionState.compositionType = Hwc2::IComposerClient::Composition::SIDEBAND; in setPerFrameData()
312 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::CURSOR); in setPerFrameData()
315 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::DEVICE); in setPerFrameData()
337 setCompositionType(displayDevice, Hwc2::IComposerClient::Composition::CLIENT); in setPerFrameData()
DColorLayer.cpp115 setCompositionType(display, Hwc2::IComposerClient::Composition::SOLID_COLOR); in setPerFrameData()
DLayer.cpp485 Hwc2::IComposerClient::Composition::CURSOR) { in updateCursorPosition()
566 Hwc2::IComposerClient::Composition type) { in setCompositionType()
579 .hwcLayer->setCompositionType(static_cast<HWC2::Composition>(type)); in setCompositionType()
588 Hwc2::IComposerClient::Composition Layer::getCompositionType( in getCompositionType()
593 : Hwc2::IComposerClient::Composition::CLIENT; in getCompositionType()
2031 : Hwc2::IComposerClient::Composition::CLIENT); in writeToProtoCompositionState()
DLayer.h500 Hwc2::IComposerClient::Composition type);
501 Hwc2::IComposerClient::Composition getCompositionType(
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWC2.h47 MOCK_METHOD1(setCompositionType, Error(Composition));
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockComposer.h66 Error(Display, std::vector<Layer>*, std::vector<IComposerClient::Composition>*));
101 MOCK_METHOD3(setLayerCompositionType, Error(Display, Layer, IComposerClient::Composition));
DMockDisplay.h45 MOCK_METHOD1(getChangedCompositionTypes, Error(std::unordered_map<Layer*, HWC2::Composition>*));
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestLayer.cpp42 mComposition(getCoverage(Hwc2TestPropertyName::Composition, coverage, in Hwc2TestLayer()
/frameworks/native/libs/vr/libdvrcommon/tests/
Dpose_test.cpp90 TYPED_TEST(PoseTest, Composition) { in TYPED_TEST() argument
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.h98 std::vector<IComposerClient::Composition>* outCompositionTypes,

12