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

Commit 12baa2e6 authored by Alec Mouri's avatar Alec Mouri Committed by Android (Google) Code Review
Browse files

Merge "Disable HDR screenshots" into udc-dev

parents f9820448 2964072d
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -6992,7 +6992,8 @@ ui::Dataspace pickBestDataspace(ui::Dataspace requestedDataspace, const DisplayD


    const auto dataspaceForColorMode = ui::pickDataspaceFor(state.colorMode);
    const auto dataspaceForColorMode = ui::pickDataspaceFor(state.colorMode);


    if (capturingHdrLayers && !hintForSeamlessTransition) {
    // TODO: Enable once HDR screenshots are ready.
    if constexpr (/* DISABLES CODE */ (false)) {
        // For now since we only support 8-bit screenshots, just use HLG and
        // For now since we only support 8-bit screenshots, just use HLG and
        // assume that 1.0 >= display max luminance. This isn't quite as future
        // assume that 1.0 >= display max luminance. This isn't quite as future
        // proof as PQ is, but is good enough.
        // proof as PQ is, but is good enough.