Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp123 void HWComposer::validateChange(HWC2::Composition from, HWC2::Composition to) { in validateChange()
126 case HWC2::Composition::Client: in validateChange()
129 case HWC2::Composition::Device: in validateChange()
130 case HWC2::Composition::SolidColor: in validateChange()
131 valid = (to == HWC2::Composition::Client); in validateChange()
133 case HWC2::Composition::Cursor: in validateChange()
134 case HWC2::Composition::Sideband: in validateChange()
135 valid = (to == HWC2::Composition::Client || in validateChange()
136 to == HWC2::Composition::Device); in validateChange()
492 std::unordered_map<std::shared_ptr<HWC2::Layer>, HWC2::Composition> in prepare()
[all …]
DComposerHal.h82 std::vector<IComposerClient::Composition>* outTypes);
114 std::vector<IComposerClient::Composition> compositionTypes;
164 std::vector<IComposerClient::Composition>* outTypes);
228 IComposerClient::Composition type);
DHWComposer.h176 static void validateChange(HWC2::Composition from, HWC2::Composition to);
DHWC2.h221 std::unordered_map<std::shared_ptr<Layer>, Composition>* outTypes);
320 [[clang::warn_unused_result]] Error setCompositionType(Composition type);
DHWC2.cpp433 std::unordered_map<std::shared_ptr<Layer>, Composition>* outTypes) in getChangedCompositionTypes()
436 std::vector<Hwc2::IComposerClient::Composition> types; in getChangedCompositionTypes()
451 auto type = static_cast<Composition>(types[element]); in getChangedCompositionTypes()
877 Error Layer::setCompositionType(Composition type) in setCompositionType()
879 auto intType = static_cast<Hwc2::IComposerClient::Composition>(type); in setCompositionType()
DComposerHal.cpp298 std::vector<IComposerClient::Composition>* outTypes) in getChangedCompositionTypes()
635 IComposerClient::Composition type) in setLayerCompositionType()
898 auto type = static_cast<IComposerClient::Composition>(readSigned()); in parseSetChangedCompositionTypes()
1026 std::vector<IComposerClient::Composition>* outTypes) in takeChangedCompositionTypes()
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.h73 HWC::Composition composition_type, size_t z_roder);
84 HWC::Transform transform, HWC::Composition composition_type,
116 HWC::Composition GetCompositionType() const { return composition_type_; } in GetCompositionType()
146 HWC::Composition composition_type_ = HWC::Composition::Invalid;
147 HWC::Composition target_composition_type_ = HWC::Composition::Device;
Dhardware_composer.cpp876 display_transform_, HWC::Composition::Device, in UpdateLayerConfig()
950 composition_type_ = HWC::Composition::Invalid; in Reset()
959 HWC::Composition composition_type, size_t z_order) { in Setup()
964 composition_type_ = HWC::Composition::Invalid; in Setup()
972 HWC::Composition composition_type, size_t z_order) { in Setup()
977 composition_type_ = HWC::Composition::Invalid; in Setup()
1013 composition_type_.cast<Hwc2::IComposerClient::Composition>()); in UpdateLayerSettings()
1079 if (composition_type_ == HWC::Composition::Invalid) { in Prepare()
1080 composition_type_ = HWC::Composition::SolidColor; in Prepare()
1083 composition_type_.cast<Hwc2::IComposerClient::Composition>()); in Prepare()
[all …]
Dhwc_types.h184 struct Composition final : public Wrapper<HWC2::Composition> {
194 Composition() : Base(Invalid) {}
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp129 std::vector<IComposerClient::Composition>* types) { in GetChangedCompositionTypes()
138 case IComposerClient::Composition::SOLID_COLOR: in GetChangedCompositionTypes()
139 case IComposerClient::Composition::CURSOR: in GetChangedCompositionTypes()
140 case IComposerClient::Composition::SIDEBAND: in GetChangedCompositionTypes()
153 if (layers_[i].composition_type != IComposerClient::Composition::CLIENT) { in GetChangedCompositionTypes()
155 types->push_back(IComposerClient::Composition::CLIENT); in GetChangedCompositionTypes()
156 layers_[i].composition_type = IComposerClient::Composition::CLIENT; in GetChangedCompositionTypes()
162 if (layers_[i].composition_type != IComposerClient::Composition::DEVICE) { in GetChangedCompositionTypes()
164 types->push_back(IComposerClient::Composition::DEVICE); in GetChangedCompositionTypes()
165 layers_[i].composition_type = IComposerClient::Composition::DEVICE; in GetChangedCompositionTypes()
[all …]
Dvr_hwc.h111 using Composition = member
112 hardware::graphics::composer::V2_1::IComposerClient::Composition;
118 Composition composition_type;
141 std::vector<IComposerClient::Composition>* composition);
250 std::vector<IComposerClient::Composition>* outCompositionTypes,
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h339 const std::unordered_map<hwc2_layer_t, HWC2::Composition>&
350 HWC2::Composition type) { in addTypeChange()
362 std::unordered_map<hwc2_layer_t, HWC2::Composition>
542 HWC2::Error setCompositionType(HWC2::Composition type);
552 HWC2::Composition getCompositionType() const { in getCompositionType()
575 return (mCompositionType == HWC2::Composition::SolidColor && in hasUnsupportedBackgroundColor()
594 HWC2::Composition mCompositionType;
645 auto type = static_cast<HWC2::Composition>(intType); in setLayerCompositionTypeHook()
/frameworks/native/libs/hwc2on1adapter/
DHWC2On1Adapter.cpp1822 if (layer.getCompositionType() != Composition::Client) { in updateTypeChanges()
1823 mChanges->addTypeChange(layerId, Composition::Client); in updateTypeChanges()
1827 if (layer.getCompositionType() != Composition::Device) { in updateTypeChanges()
1828 mChanges->addTypeChange(layerId, Composition::Device); in updateTypeChanges()
1832 ALOGE_IF(layer.getCompositionType() != Composition::SolidColor, in updateTypeChanges()
1840 ALOGE_IF(layer.getCompositionType() != Composition::Sideband, in updateTypeChanges()
1845 ALOGE_IF(layer.getCompositionType() != Composition::Cursor, in updateTypeChanges()
1904 mCompositionType(Composition::Invalid),
1930 if (mCompositionType != Composition::Cursor) { in setCursorPosition()
1968 Error HWC2On1Adapter::Layer::setCompositionType(Composition type) { in setCompositionType()
[all …]
/frameworks/native/services/surfaceflinger/
DLayer.h321 void setCompositionType(int32_t hwcId, HWC2::Composition type,
323 HWC2::Composition getCompositionType(int32_t hwcId) const;
756 compositionType(HWC2::Composition::Invalid), in HWCInfo()
761 HWC2::Composition compositionType;
DLayer.cpp824 setCompositionType(hwcId, HWC2::Composition::Sideband);
839 setCompositionType(hwcId, HWC2::Composition::Client);
845 setCompositionType(hwcId, HWC2::Composition::SolidColor);
868 setCompositionType(hwcId, HWC2::Composition::Cursor);
871 setCompositionType(hwcId, HWC2::Composition::Device);
927 getCompositionType(hwcId) != HWC2::Composition::Cursor) {
1209 void Layer::setCompositionType(int32_t hwcId, HWC2::Composition type,
1232 HWC2::Composition Layer::getCompositionType(int32_t hwcId) const {
1236 return HWC2::Composition::Client;
1240 return HWC2::Composition::Invalid;
DSurfaceFlinger.cpp1871 if (layer->getCompositionType(hwcId) == HWC2::Composition::Client) { in postFramebuffer()
2597 case HWC2::Composition::Cursor: in doComposeSurfaces()
2598 case HWC2::Composition::Device: in doComposeSurfaces()
2599 case HWC2::Composition::Sideband: in doComposeSurfaces()
2600 case HWC2::Composition::SolidColor: { in doComposeSurfaces()
2611 case HWC2::Composition::Client: { in doComposeSurfaces()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestLayer.cpp42 mComposition(getCoverage(Hwc2TestPropertyName::Composition, coverage, in Hwc2TestLayer()
DHwc2TestProperties.h41 Composition, enumerator
DHwc2Test.cpp3800 {{Hwc2TestPropertyName::Composition, Hwc2TestCoverage::Complete}, in TEST_F()
3815 {{Hwc2TestPropertyName::Composition, Hwc2TestCoverage::Complete}, in TEST_F()
3832 {{Hwc2TestPropertyName::Composition, Hwc2TestCoverage::Complete}}; in TEST_F()
3846 {{Hwc2TestPropertyName::Composition, Hwc2TestCoverage::Complete}, in TEST_F()
3861 {{Hwc2TestPropertyName::Composition, Hwc2TestCoverage::Complete}, in TEST_F()
/frameworks/native/libs/vr/libdvrcommon/tests/
Dpose_test.cpp90 TYPED_TEST(PoseTest, Composition) { in TYPED_TEST() argument
/frameworks/native/opengl/specs/
DEGL_ANDROID_get_frame_timestamps.txt112 "3.13 Composition and Display Timestamps