Conversation
|
Really great job on this! Excited for this to be a headline feature for the next release :) |
30e7234 to
f4a1144
Compare
CI Testing Notes
# Testing Swiftshader on cloudtop
/opt/google/chrome/chrome --enable-unsafe-swiftshader --use-gl=angle --use-angle=swiftshader-webgl
Rendering artifacts around chevrons
Half finished lines
Options for testing WebGL path in the CI
LLVMPipeLLVMPipe is a software rasterizer, that actually performs better than our canvas2d fallback, and more importantly, seems to be much more compliant and works with our fragment shaders without artifacts. We can use this in headless mode on our CI using EGL, but we need to install a few more packages in the container. Chrome typically blocklists LLVMPipe as a GPU driver, so we must pass # Testing LLVMPipe on cloudtop:
/opt/google/chrome/chrome --ignore-gpu-blocklist |
ede32c8 to
7355940
Compare
|
So what's the plan in that case? Do we want to enable llvmpipe on the CI and then land this? |
I think that makes the most sense. I'm attempting to update the CI container now. |
- Add relevant packages to sandbox container - Confiure integration tests to use llvmpipe Test llvmpipe in chrome (again)


This PR simply flips the WebGL rendering flag on by default. If WebGL is not supported, we silently fallback to the canvas renderer, which is what's used when the flag is off anyway.