
For Skia contexts when ANGLE exposes the EGL_ANGLE_create_context_passthrough_shaders extension, request that shaders are passed directly to the driver, untranslated. Add a killswitch feature, AllowANGLEPassthroughShaders to revert to the previous behaviour of always translating shaders. Bug: 398857482 Change-Id: I75bd96839d6728e2ccbb2bfd934a9011bfbc8a7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6361829 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/main@{#1435517}