Add raster side dark mode switch and initial functionality.
This patch adds enable-raster-side-dark-mode-for-images switch to
enable raster side dark mode for images and initial functionality
to enable RSDM for bitmap images. PaintFlags will carry the
|use_dark_mode_for_image_| bit for specifying whether the
compositor should use a dark mode filter when rasterizing images.
Bug: 1094005
Change-Id: I424c9397235733fb07df4f1cad7bb758399fded9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2445890
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Khushal <khushalsagar@chromium.org>
Commit-Queue: Prashant Nevase <prashant.n@samsung.com>
Cr-Commit-Position: refs/heads/master@{#814106}
This commit is contained in:

committed by
Commit Bot

parent
198b6770b0
commit
6cb7c14c7e
cc/paint
chrome/browser/chromeos/login
content/browser/renderer_host
third_party/blink
@@ -3423,6 +3423,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
|
||||
blink::switches::kEnableLowResTiling,
|
||||
blink::switches::kEnablePreferCompositingToLCDText,
|
||||
blink::switches::kEnableRGBA4444Textures,
|
||||
blink::switches::kEnableRasterSideDarkModeForImages,
|
||||
blink::switches::kMinHeightForGpuRasterTile,
|
||||
blink::switches::kMaxUntiledLayerWidth,
|
||||
blink::switches::kMaxUntiledLayerHeight,
|
||||
|
Reference in New Issue
Block a user