Home
last modified time | relevance | path

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

123

/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.h83 HWC2::Error SetLayerCompositionType(HWC2::Composition type);
99 HWC2::Composition GetClientRequestedCompositionType() { return client_requested_; } in GetClientRequestedCompositionType()
100 HWC2::Composition GetOrigClientRequestedCompositionType() { return client_requested_orig_; } in GetOrigClientRequestedCompositionType()
101 void UpdateClientCompositionType(HWC2::Composition type) { client_requested_ = type; } in UpdateClientCompositionType()
102 HWC2::Composition GetDeviceSelectedCompositionType() { return device_selected_; } in GetDeviceSelectedCompositionType()
147 HWC2::Composition client_requested_orig_ = HWC2::Composition::Device;
149 HWC2::Composition client_requested_ = HWC2::Composition::Device;
151 HWC2::Composition device_selected_ = HWC2::Composition::Device;
Dhwc_layers.cpp235 if (client_requested_ == HWC2::Composition::Device || in SetLayerBuffer()
236 client_requested_ == HWC2::Composition::Cursor) { in SetLayerBuffer()
369 if (client_requested_ != HWC2::Composition::SolidColor) { in SetLayerColor()
386 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
394 case HWC2::Composition::Client: in SetLayerCompositionType()
396 case HWC2::Composition::Device: in SetLayerCompositionType()
399 case HWC2::Composition::SolidColor: in SetLayerCompositionType()
401 case HWC2::Composition::Cursor: in SetLayerCompositionType()
403 case HWC2::Composition::Invalid: in SetLayerCompositionType()
927 if (client_requested_ != HWC2::Composition::Device && in IsDataSpaceSupported()
[all …]
Dhwc_display.cpp671 if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Client || in BuildLayerStack()
674 } else if (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::SolidColor) { in BuildLayerStack()
744 (hwc_layer->GetClientRequestedCompositionType() == HWC2::Composition::Cursor)) { in BuildLayerStack()
791 if ((hwc_layer->GetDeviceSelectedCompositionType() != HWC2::Composition::Device) || in BuildLayerStack()
792 (hwc_layer->GetClientRequestedCompositionType() != HWC2::Composition::Device) || in BuildLayerStack()
1563 HWC2::Composition requested_composition = hwc_layer->GetClientRequestedCompositionType(); in PrepareLayerStack()
1566 HWC2::Composition device_composition = hwc_layer->GetDeviceSelectedCompositionType(); in PrepareLayerStack()
1567 if (device_composition == HWC2::Composition::Client) { in PrepareLayerStack()
1571 if (requested_composition == HWC2::Composition::Client) { in PrepareLayerStack()
2157 if (hwc_layer->GetDeviceSelectedCompositionType() != HWC2::Composition::Cursor) { in SetCursorPosition()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.h67 HWC2::Error SetLayerCompositionType(HWC2::Composition type);
77 HWC2::Composition GetClientRequestedCompositionType() { return client_requested_; } in GetClientRequestedCompositionType()
78 void UpdateClientCompositionType(HWC2::Composition type) { client_requested_ = type; } in UpdateClientCompositionType()
79 HWC2::Composition GetDeviceSelectedCompositionType() { return device_selected_; } in GetDeviceSelectedCompositionType()
104 HWC2::Composition client_requested_ = HWC2::Composition::Device;
106 HWC2::Composition device_selected_ = HWC2::Composition::Device;
Dhwc_layers.cpp194 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
201 case HWC2::Composition::Client: in SetLayerCompositionType()
203 case HWC2::Composition::Device: in SetLayerCompositionType()
206 case HWC2::Composition::SolidColor: in SetLayerCompositionType()
208 case HWC2::Composition::Cursor: in SetLayerCompositionType()
210 case HWC2::Composition::Invalid: in SetLayerCompositionType()
609 auto hwc_composition = HWC2::Composition::Invalid; in SetComposition()
612 hwc_composition = HWC2::Composition::Client; in SetComposition()
615 hwc_composition = HWC2::Composition::Cursor; in SetComposition()
618 hwc_composition = HWC2::Composition::Device; in SetComposition()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.h69 HWC2::Error SetLayerCompositionType(HWC2::Composition type);
80 HWC2::Composition GetClientRequestedCompositionType() { return client_requested_; } in GetClientRequestedCompositionType()
81 void UpdateClientCompositionType(HWC2::Composition type) { client_requested_ = type; } in UpdateClientCompositionType()
82 HWC2::Composition GetDeviceSelectedCompositionType() { return device_selected_; } in GetDeviceSelectedCompositionType()
106 HWC2::Composition client_requested_ = HWC2::Composition::Device;
108 HWC2::Composition device_selected_ = HWC2::Composition::Device;
Dhwc_layers.cpp213 if (client_requested_ != HWC2::Composition::SolidColor) { in SetLayerColor()
223 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
226 case HWC2::Composition::Client: in SetLayerCompositionType()
228 case HWC2::Composition::Device: in SetLayerCompositionType()
231 case HWC2::Composition::SolidColor: in SetLayerCompositionType()
233 case HWC2::Composition::Cursor: in SetLayerCompositionType()
235 case HWC2::Composition::Invalid: in SetLayerCompositionType()
745 auto hwc_composition = HWC2::Composition::Invalid; in SetComposition()
748 hwc_composition = HWC2::Composition::Client; in SetComposition()
751 hwc_composition = HWC2::Composition::Cursor; in SetComposition()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.h73 HWC2::Error SetLayerCompositionType(HWC2::Composition type);
83 HWC2::Composition GetClientRequestedCompositionType() { return client_requested_; } in GetClientRequestedCompositionType()
84 void UpdateClientCompositionType(HWC2::Composition type) { client_requested_ = type; } in UpdateClientCompositionType()
85 HWC2::Composition GetDeviceSelectedCompositionType() { return device_selected_; } in GetDeviceSelectedCompositionType()
113 HWC2::Composition client_requested_ = HWC2::Composition::Device;
115 HWC2::Composition device_selected_ = HWC2::Composition::Device;
Dhwc_layers.cpp199 if (client_requested_ == HWC2::Composition::Device || in SetLayerBuffer()
200 client_requested_ == HWC2::Composition::Cursor) { in SetLayerBuffer()
336 if (client_requested_ != HWC2::Composition::SolidColor) { in SetLayerColor()
346 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
353 case HWC2::Composition::Client: in SetLayerCompositionType()
355 case HWC2::Composition::Device: in SetLayerCompositionType()
358 case HWC2::Composition::SolidColor: in SetLayerCompositionType()
360 case HWC2::Composition::Cursor: in SetLayerCompositionType()
362 case HWC2::Composition::Invalid: in SetLayerCompositionType()
743 if (client_requested_ != HWC2::Composition::Device && in ValidateAndSetCSC()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.h73 HWC2::Error SetLayerCompositionType(HWC2::Composition type);
84 HWC2::Composition GetClientRequestedCompositionType() { return client_requested_; } in GetClientRequestedCompositionType()
85 void UpdateClientCompositionType(HWC2::Composition type) { client_requested_ = type; } in UpdateClientCompositionType()
86 HWC2::Composition GetDeviceSelectedCompositionType() { return device_selected_; } in GetDeviceSelectedCompositionType()
112 HWC2::Composition client_requested_ = HWC2::Composition::Device;
114 HWC2::Composition device_selected_ = HWC2::Composition::Device;
Dhwc_layers.cpp312 if (client_requested_ != HWC2::Composition::SolidColor) { in SetLayerColor()
322 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
325 case HWC2::Composition::Client: in SetLayerCompositionType()
327 case HWC2::Composition::Device: in SetLayerCompositionType()
330 case HWC2::Composition::SolidColor: in SetLayerCompositionType()
332 case HWC2::Composition::Cursor: in SetLayerCompositionType()
334 case HWC2::Composition::Invalid: in SetLayerCompositionType()
745 if (client_requested_ != HWC2::Composition::Device && in ValidateAndSetCSC()
746 client_requested_ != HWC2::Composition::Cursor) { in ValidateAndSetCSC()
803 auto hwc_composition = HWC2::Composition::Invalid; in SetComposition()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.h82 HWC2::Error SetLayerCompositionType(HWC2::Composition type);
96 HWC2::Composition GetClientRequestedCompositionType() { return client_requested_; } in GetClientRequestedCompositionType()
97 void UpdateClientCompositionType(HWC2::Composition type) { client_requested_ = type; } in UpdateClientCompositionType()
98 HWC2::Composition GetDeviceSelectedCompositionType() { return device_selected_; } in GetDeviceSelectedCompositionType()
139 HWC2::Composition client_requested_ = HWC2::Composition::Device;
141 HWC2::Composition device_selected_ = HWC2::Composition::Device;
Dhwc_layers.cpp211 if (client_requested_ == HWC2::Composition::Device || in SetLayerBuffer()
212 client_requested_ == HWC2::Composition::Cursor) { in SetLayerBuffer()
345 if (client_requested_ != HWC2::Composition::SolidColor) { in SetLayerColor()
355 HWC2::Error HWCLayer::SetLayerCompositionType(HWC2::Composition type) { in SetLayerCompositionType()
362 case HWC2::Composition::Client: in SetLayerCompositionType()
364 case HWC2::Composition::Device: in SetLayerCompositionType()
367 case HWC2::Composition::SolidColor: in SetLayerCompositionType()
369 case HWC2::Composition::Cursor: in SetLayerCompositionType()
371 case HWC2::Composition::Invalid: in SetLayerCompositionType()
910 if (client_requested_ != HWC2::Composition::Device && in ValidateAndSetCSC()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/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()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h114 IComposerClient::Composition composition = IComposerClient::Composition::DEVICE);
139 IComposerClient::Composition mComposition;
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h299 const std::unordered_map<hwc2_layer_t, HWC2::Composition>&
318 HWC2::Composition type) { in addTypeChange()
330 std::unordered_map<hwc2_layer_t, HWC2::Composition>
519 HWC2::Error setCompositionType(HWC2::Composition type);
529 HWC2::Composition getCompositionType() const { in getCompositionType()
565 LatchedState<HWC2::Composition> mCompositionType;
612 auto type = static_cast<HWC2::Composition>(intType); in setLayerCompositionTypeHook()
DHWC2On1Adapter.cpp1899 if (layer.getCompositionType() != Composition::Client) { in updateTypeChanges()
1900 mChanges->addTypeChange(layerId, Composition::Client); in updateTypeChanges()
1904 if (layer.getCompositionType() != Composition::Device) { in updateTypeChanges()
1905 mChanges->addTypeChange(layerId, Composition::Device); in updateTypeChanges()
1909 ALOGE_IF(layer.getCompositionType() != Composition::SolidColor, in updateTypeChanges()
1917 ALOGE_IF(layer.getCompositionType() != Composition::Sideband, in updateTypeChanges()
1922 ALOGE_IF(layer.getCompositionType() != Composition::Cursor, in updateTypeChanges()
1983 mCompositionType(*this, Composition::Invalid),
2013 if (mCompositionType.getValue() != Composition::Cursor) { in setCursorPosition()
2048 Error HWC2On1Adapter::Layer::setCompositionType(Composition type) in setCompositionType()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp1830 if (layer.getCompositionType() != Composition::Client) { in updateTypeChanges()
1831 mChanges->addTypeChange(layerId, Composition::Client); in updateTypeChanges()
1835 if (layer.getCompositionType() != Composition::Device) { in updateTypeChanges()
1836 mChanges->addTypeChange(layerId, Composition::Device); in updateTypeChanges()
1840 ALOGE_IF(layer.getCompositionType() != Composition::SolidColor, in updateTypeChanges()
1848 ALOGE_IF(layer.getCompositionType() != Composition::Sideband, in updateTypeChanges()
1853 ALOGE_IF(layer.getCompositionType() != Composition::Cursor, in updateTypeChanges()
1912 mCompositionType(Composition::Invalid),
1938 if (mCompositionType != Composition::Cursor) { in setCursorPosition()
1976 Error HWC2On1Adapter::Layer::setCompositionType(Composition type) { in setCompositionType()
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/
DHwcHal.h333 IComposerClient::Composition* outCompositionTypes) override { in getChangedCompositionTypes()
359 mCompositionTypesCache[display].push_back(IComposerClient::Composition::CLIENT); in getChangedCompositionTypes()
398 display, layer, static_cast<int32_t>(IComposerClient::Composition::CLIENT)); in onBeforeValidateDisplay()
429 std::map<Display, std::vector<IComposerClient::Composition>> mCompositionTypesCache;
/hardware/interfaces/graphics/composer/2.1/
DIComposerClient.hal55 * layers are not marked as Composition::CLIENT or the given display
133 enum Composition : int32_t {
656 * vec<Composition> types);
779 * composition. Layers marked as Composition::CLIENT must be composited
781 * marked as Composition::CLIENT must be composited with this buffer by
799 * as Composition::CLIENT. If no layers are so marked, then it is not
843 * Composition above.
883 * Prior to validateDisplay, a layer may be marked as Composition::CURSOR.
921 * layer with a composition type of Composition::SOLID_COLOR (because it
922 * has no buffer) or Composition::SIDEBAND or Composition::CLIENT (because
[all …]
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp793 mWriter->setLayerCompositionType(IComposerClient::Composition::DEVICE); in TEST_P()
841 mWriter->setLayerCompositionType(IComposerClient::Composition::CURSOR); in TEST_P()
945 mWriter->setLayerCompositionType(IComposerClient::Composition::CLIENT); in TEST_P()
946 mWriter->setLayerCompositionType(IComposerClient::Composition::DEVICE); in TEST_P()
947 mWriter->setLayerCompositionType(IComposerClient::Composition::SOLID_COLOR); in TEST_P()
948 mWriter->setLayerCompositionType(IComposerClient::Composition::CURSOR); in TEST_P()
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp245 writer->setLayerCompositionType(IComposerClient::Composition::SOLID_COLOR); in write()
262 IComposerClient::Composition composition) in TestBufferLayer()
347 writer->setLayerCompositionType(IComposerClient::Composition::CLIENT); in setToClientComposition()
/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/
DComposerCommandEngine.h54 std::vector<IComposerClient::Composition> compositionTypes; in executeValidateDisplayInternal()
DComposerHal.h78 std::vector<IComposerClient::Composition>* outCompositionTypes,
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h328 std::vector<IComposerClient::Composition>* outCompositionTypes, in validateDisplay()
346 std::vector<IComposerClient::Composition> compositionTypes(typesCount); in validateDisplay()
583 IComposerClient::Composition* outCompositionTypes) { in getChangedCompositionTypes()
610 IComposerClient::Composition* outCompositionTypes) { in getChangedCompositionTypesInternal()
613 reinterpret_cast<std::underlying_type<IComposerClient::Composition>::type*>( in getChangedCompositionTypesInternal()

123