/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 925 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 …]
|
D | TestableSurfaceFlinger.h | 217 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/ |
D | HWComposer.cpp | 116 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 …]
|
D | ComposerHal.h | 106 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;
|
D | HWC2.h | 213 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;
|
D | HWC2.cpp | 370 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()
|
D | HWComposer.h | 329 static void validateChange(HWC2::Composition from, HWC2::Composition to);
|
D | ComposerHal.cpp | 349 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/ |
D | hardware_composer.h | 73 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;
|
D | hwc_types.h | 189 struct Composition final : public Wrapper<HWC2::Composition> { 199 Composition() : Base(Invalid) {}
|
D | hardware_composer.cpp | 1062 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/ |
D | OutputLayerCompositionState.h | 74 Hwc2::IComposerClient::Composition hwcCompositionType{ 75 Hwc2::IComposerClient::Composition::INVALID};
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFECompositionState.h | 84 Hwc2::IComposerClient::Composition compositionType{Hwc2::IComposerClient::Composition::INVALID};
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.cpp | 134 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 …]
|
D | vr_hwc.h | 113 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/ |
D | BufferLayer.cpp | 297 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()
|
D | ColorLayer.cpp | 115 setCompositionType(display, Hwc2::IComposerClient::Composition::SOLID_COLOR); in setPerFrameData()
|
D | Layer.cpp | 485 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()
|
D | Layer.h | 500 Hwc2::IComposerClient::Composition type); 501 Hwc2::IComposerClient::Composition getCompositionType(
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockHWC2.h | 47 MOCK_METHOD1(setCompositionType, Error(Composition));
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockComposer.h | 66 Error(Display, std::vector<Layer>*, std::vector<IComposerClient::Composition>*)); 101 MOCK_METHOD3(setLayerCompositionType, Error(Display, Layer, IComposerClient::Composition));
|
D | MockDisplay.h | 45 MOCK_METHOD1(getChangedCompositionTypes, Error(std::unordered_map<Layer*, HWC2::Composition>*));
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestLayer.cpp | 42 mComposition(getCoverage(Hwc2TestPropertyName::Composition, coverage, in Hwc2TestLayer()
|
/frameworks/native/libs/vr/libdvrcommon/tests/ |
D | pose_test.cpp | 90 TYPED_TEST(PoseTest, Composition) { in TYPED_TEST() argument
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerClient.h | 98 std::vector<IComposerClient::Composition>* outCompositionTypes,
|