Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--tint-dc-layer

What does --tint-dc-layer do?

Tint `SwapChainPresenter` with the following colors: - Decode swap chain: blue - VP blit: magenta - VP blit w/ staging texture: orange - MF proxy surface: green This is similar to `HKLM\Software\Microsoft\Windows\DWM` `OverlayTestMode=1` in DWM, but to help understand `SwapChainPresenter` state.

Usage

CLILaunch Chrome with --tint-dc-layer using CLI

chrome --tint-dc-layer

PuppeteerLaunch Chrome with --tint-dc-layer using Puppeteer

const browser = await puppeteer.launch({
  args: ['--tint-dc-layer']
});

PlaywrightLaunch Chrome with --tint-dc-layer using Playwright

const browser = await chromium.launch({
  args: ['--tint-dc-layer']
});

SeleniumLaunch Chrome with --tint-dc-layer using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--tint-dc-layer')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_VULKAN && \