--enable-gpu-rasterization
What does --enable-gpu-rasterization do?
Allow heuristics to determine when a layer tile should be drawn with the Skia GPU backend. Only valid with GPU accelerated compositing.
Usage
CLILaunch Chrome with --enable-gpu-rasterization using CLI
chrome --enable-gpu-rasterizationPuppeteerLaunch Chrome with --enable-gpu-rasterization using Puppeteer
const browser = await puppeteer.launch({
args: ['--enable-gpu-rasterization']
});PlaywrightLaunch Chrome with --enable-gpu-rasterization using Playwright
const browser = await chromium.launch({
args: ['--enable-gpu-rasterization']
});SeleniumLaunch Chrome with --enable-gpu-rasterization using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--enable-gpu-rasterization')
driver = webdriver.Chrome(options=options)