Lines Matching refs:HWC2
535 HWC2::BlendMode::Premultiplied : HWC2::BlendMode::Coverage;
537 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set blend mode %s:"
594 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set display frame "
602 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set source crop "
609 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set plane alpha %.3f: "
614 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set Z %u: %s (%d)",
661 auto transform = static_cast<HWC2::Transform>(orientation);
663 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set transform %s: "
698 if (error != HWC2::Error::None) {
705 if (error != HWC2::Error::None) {
713 setCompositionType(hwcId, HWC2::Composition::Sideband);
716 if (error != HWC2::Error::None) {
728 setCompositionType(hwcId, HWC2::Composition::Client);
734 setCompositionType(hwcId, HWC2::Composition::SolidColor);
738 if (error != HWC2::Error::None) {
745 error = hwcLayer->setTransform(HWC2::Transform::None);
746 if (error != HWC2::Error::None) {
757 setCompositionType(hwcId, HWC2::Composition::Cursor);
760 setCompositionType(hwcId, HWC2::Composition::Device);
765 if (error != HWC2::Error::None) {
799 getCompositionType(hwcId) != HWC2::Composition::Cursor) {
824 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set cursor position "
1057 void Layer::setCompositionType(int32_t hwcId, HWC2::Composition type,
1072 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set "
1080 HWC2::Composition Layer::getCompositionType(int32_t hwcId) const {
1084 return HWC2::Composition::Client;
1088 return HWC2::Composition::Invalid;
2263 HWC2::Composition::Client : true;