Skip to content
Commit 8980e7b4 authored by Colin Blundell's avatar Colin Blundell Committed by Chromium LUCI CQ
Browse files

[Skia][Graphite] Enable `skia_use_dawn` for Linux

With Vulkan, Graphite-Dawn in Chrome on Linux now renders (at least with
Lavapipe, which is all I have available to test with). This CL enables
`skia_use_dawn` on Linux modulo CastOS, where there are currently build
failures (sorting out the CastOS story will be its own task).

Note: To render via Lavapipe (e.g., in Chrome Remote Desktop), you'll
need to do the following:
- Comment out the inclusion of
  wgpu::FeatureName::DawnMultiPlanarFormats in dawn_context_provider.cc,
  as that feature is not enabled on the Dawn device backed by Lavapipe
- Run with the following arguments: --use-angle-vulkan
  --ignore-gpu-blocklist --enable-skia-graphite

Bug: 1513428
Change-Id: Id5d1abb1b1ec469d90fe0c7e4cc758de3e91d400
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5136506


Reviewed-by: default avatarMichael Ludwig <michaelludwig@google.com>
Commit-Queue: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1239680}
parent 98e18035
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment