Commit 6193797c authored by Miguel Casas's avatar Miguel Casas Committed by Commit Bot

ui/display: disable HDR on ARM CrOS temporarily

HDR on ChromeOS seems to be broken on ARM(see bug); this CL disables
it temporarily while we investigate it further.

Bug: b/168843009
Change-Id: I76ce22548333964ad3894ed80c7e12240e4f2ad4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2432606Reviewed-by: default avatarJao-ke Chin-Lee <jchinlee@chromium.org>
Reviewed-by: default avatarStéphane Marchesin <marcheu@chromium.org>
Auto-Submit: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Stéphane Marchesin <marcheu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810874}
parent 0d3b40bd
......@@ -4,13 +4,22 @@
#include "ui/display/display_features.h"
#include "build/build_config.h"
namespace display {
namespace features {
#if defined(OS_CHROMEOS)
// Enables using HDR transfer function if the monitor says it supports it.
const base::Feature kUseHDRTransferFunction{"UseHDRTransferFunction",
base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kUseHDRTransferFunction {
"UseHDRTransferFunction",
// TODO(b/168843009): Temporarily disable on ARM while investigating.
#if defined(ARCH_CPU_ARM_FAMILY)
base::FEATURE_DISABLED_BY_DEFAULT
#else
base::FEATURE_ENABLED_BY_DEFAULT
#endif
};
#endif
// This features allows listing all display modes of external displays in the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment