renderer/cm: add more monitor cm options (#11861)

Adds more cm options for monitors: DCIP3, Apple P3, Adobe
This commit is contained in:
UjinT34 2025-09-29 15:22:42 +03:00 committed by GitHub
parent 4d82cc5957
commit 0959672591
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 0 deletions

View file

@ -2263,6 +2263,12 @@ bool CMonitorRuleParser::parseCM(const std::string& value) {
m_rule.cmType = CM_HDR;
else if (value == "hdredid")
m_rule.cmType = CM_HDR_EDID;
else if (value == "dcip3")
m_rule.cmType = CM_DCIP3;
else if (value == "dp3")
m_rule.cmType = CM_DP3;
else if (value == "adobe")
m_rule.cmType = CM_ADOBE;
else {
m_error += "invalid cm ";
return false;