SwiftShader
A software rasterization renderer developed by Google and built into the Chromium browser. It emulates GPU graphics computation using the CPU in GPU-absent environments, ensuring correct page rendering in headless mode.
Timeline (last 90 days)
Playwright defaults to SwiftShader software rendering in headless mode, placing the entire page rendering workload on the CPU.
In headless mode, Chromium disables GPU hardware acceleration by default due to the absence of a real display output target, instead having SwiftShader simulate GPU computation on the CPU.
Under Plan A (default headless software rendering), the overall CPU usage on an 8-logical-core machine spiked to approximately 70%, equivalent to consuming more than 5 cores.
When a page contains CSS animations, Canvas, WebGL, or complex shadow and gradient effects, the overhead of CPU software rendering increases several-fold.
SwiftShader is a high-performance CPU renderer developed by Google, supporting Vulkan and WebGPU.
SwiftShader is a high-performance CPU renderer developed by Google, originally providing OpenGL ES fallback support for Android and now also supporting Vulkan and WebGPU.
CPU sandbox rendering is typically implemented via software rasterizers such as Google's SwiftShader or Mesa's llvmpipe.
All Facts (8)
SwiftShader is a high-performance CPU renderer developed by Google, supporting Vulkan and WebGPU.
70%UnverifiedWhen a page contains CSS animations, Canvas, WebGL, or complex shadow and gradient effects, the overhead of CPU software rendering increases several-fold.
50%UnverifiedPlaywright defaults to SwiftShader software rendering in headless mode, placing the entire page rendering workload on the CPU.
50%UnverifiedIn headless mode, Chromium disables GPU hardware acceleration by default due to the absence of a real display output target, instead having SwiftShader simulate GPU computation on the CPU.
50%UnverifiedUnder Plan A (default headless software rendering), the overall CPU usage on an 8-logical-core machine spiked to approximately 70%, equivalent to consuming more than 5 cores.
50%UnverifiedSwiftShader is a high-performance CPU renderer developed by Google, originally providing OpenGL ES fallback support for Android and now also supporting Vulkan and WebGPU.
50%UnverifiedCPU sandbox rendering is typically implemented via software rasterizers such as Google's SwiftShader or Mesa's llvmpipe.
50%UnverifiedSolutions to the headless browser GPU absence problem include using the virtual framebuffer Xvfb, enabling headful mode with a GPU process, or simulating GPU rendering through the software rasterizer SwiftShader.
50%