Bug 1764201 Part 1: Make widget::Screen track if the screen is HDR capable. r=geckovi...
commit5813f8a090c77b1a9cafd8739d1bbd452e98911d
authorBrad Werth <bwerth@mozilla.com>
Tue, 19 Mar 2024 13:52:31 +0000 (19 13:52 +0000)
committerBrad Werth <bwerth@mozilla.com>
Tue, 19 Mar 2024 13:52:31 +0000 (19 13:52 +0000)
treec259f63ab73c9f303162b85b2c24661ebe86d1f1
parent8b50c5538710e8add74479721e430d63747ebcc4
Bug 1764201 Part 1: Make widget::Screen track if the screen is HDR capable. r=geckoview-reviewers,ahale,m_kato

This duplicates existing HDR checks in gfxPlatformMac and
gfxWindowsPlatform. A later part of this patch series will remove that
redundant code, as it replaces calls to gfxPlatform functions with calls
to ScreenManager functions.

Differential Revision: https://phabricator.services.mozilla.com/D203670
dom/ipc/DOMTypes.ipdlh
widget/Screen.cpp
widget/Screen.h
widget/ScreenManager.cpp
widget/android/ScreenHelperAndroid.cpp
widget/cocoa/ScreenHelperCocoa.mm
widget/gtk/ScreenHelperGTK.cpp
widget/headless/HeadlessScreenHelper.cpp
widget/windows/ScreenHelperWin.cpp