Bug 1882659 - remove BitsPerColor check in gfx.supports_hdr logic r=bradwerth,gfx...
commit0d32810dd0e5337d29abfd330afe8b206489a835
authorAshley Hale <ahale@mozilla.com>
Fri, 1 Mar 2024 01:06:37 +0000 (1 01:06 +0000)
committerAshley Hale <ahale@mozilla.com>
Fri, 1 Mar 2024 01:06:37 +0000 (1 01:06 +0000)
tree414942df7f1856d2f75d0a338dd2c8b9371af993
parent5c6387f299aa54379bafe9d08a6aa49e6d2ec1f7
Bug 1882659 - remove BitsPerColor check in gfx.supports_hdr logic r=bradwerth,gfx-reviewers

Telemetry reporting of gfx.supports_hdr is missing some HDR monitors that are operating in 8bpc modes (e.g. due to cable bandwidth limits on high refresh rate monitors, where the dithering works quite okay).  So this replaces the logic and adds an extensive comment block to explain the rationale.

Differential Revision: https://phabricator.services.mozilla.com/D203076
gfx/thebes/gfxWindowsPlatform.cpp