Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b12cb8e authored by Sally Qi's avatar Sally Qi Committed by Android (Google) Code Review
Browse files

Merge "[Debugging] Dump display's hdr luminance info." into main

parents 62d4c246 ba308f5f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -392,6 +392,10 @@ void DisplayColorProfile::dump(std::string& out) const {
    dumpVal(out, "dv", hasDolbyVisionSupport());
    dumpVal(out, "metadata", getSupportedPerFrameMetadata());

    out.append("\n   Hdr Luminance Info:");
    dumpVal(out, "desiredMinLuminance", mHdrCapabilities.getDesiredMinLuminance());
    dumpVal(out, "desiredMaxLuminance", mHdrCapabilities.getDesiredMaxLuminance());
    dumpVal(out, "desiredMaxAverageLuminance", mHdrCapabilities.getDesiredMaxAverageLuminance());
    out.append("\n");
}