Lines Matching refs:error

621     auto error = hwcLayer->setBlendMode(blendMode);
622 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set blend mode %s:"
624 to_string(error).c_str(), static_cast<int32_t>(error));
679 error = hwcLayer->setDisplayFrame(transformedFrame);
680 if (error != HWC2::Error::None) {
684 to_string(error).c_str(), static_cast<int32_t>(error));
690 error = hwcLayer->setSourceCrop(sourceCrop);
691 if (error != HWC2::Error::None) {
694 sourceCrop.right, sourceCrop.bottom, to_string(error).c_str(),
695 static_cast<int32_t>(error));
701 error = hwcLayer->setPlaneAlpha(alpha);
702 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set plane alpha %.3f: "
703 "%s (%d)", mName.string(), alpha, to_string(error).c_str(),
704 static_cast<int32_t>(error));
706 error = hwcLayer->setZOrder(z);
707 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set Z %u: %s (%d)",
708 mName.string(), z, to_string(error).c_str(),
709 static_cast<int32_t>(error));
720 error = hwcLayer->setInfo(type, appId);
721 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set info (%d)",
722 mName.string(), static_cast<int32_t>(error));
774 auto error = hwcLayer->setTransform(transform);
775 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set transform %s: "
777 to_string(error).c_str(), static_cast<int32_t>(error));
808 auto error = hwcLayer->setVisibleRegion(visible);
809 if (error != HWC2::Error::None) {
811 to_string(error).c_str(), static_cast<int32_t>(error));
815 error = hwcLayer->setSurfaceDamage(surfaceDamageRegion);
816 if (error != HWC2::Error::None) {
818 to_string(error).c_str(), static_cast<int32_t>(error));
826 error = hwcLayer->setSidebandStream(mSidebandStream->handle());
827 if (error != HWC2::Error::None) {
830 to_string(error).c_str(), static_cast<int32_t>(error));
848 error = hwcLayer->setColor({0, 0, 0, 255});
849 if (error != HWC2::Error::None) {
851 to_string(error).c_str(), static_cast<int32_t>(error));
856 error = hwcLayer->setTransform(HWC2::Transform::None);
857 if (error != HWC2::Error::None) {
859 to_string(error).c_str(), static_cast<int32_t>(error));
875 error = hwcLayer->setDataspace(mCurrentState.dataSpace);
876 if (error != HWC2::Error::None) {
878 mCurrentState.dataSpace, to_string(error).c_str(),
879 static_cast<int32_t>(error));
888 error = hwcLayer->setBuffer(hwcSlot, hwcBuffer, acquireFence);
889 if (error != HWC2::Error::None) {
891 mActiveBuffer->handle, to_string(error).c_str(),
892 static_cast<int32_t>(error));
950 auto error = mHwcLayers[hwcId].layer->setCursorPosition(position.left,
952 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set cursor position "
954 position.top, to_string(error).c_str(),
955 static_cast<int32_t>(error));
1223 auto error = hwcLayer->setCompositionType(type);
1224 ALOGE_IF(error != HWC2::Error::None, "[%s] Failed to set "
1226 to_string(type).c_str(), to_string(error).c_str(),
1227 static_cast<int32_t>(error));
2739 #error "don't include gl/gl.h in this file"
2743 #error "don't include gl2/gl2.h in this file"