Add and plumb empty DawnContextProvider
Prepare for Dawn as an option for compositing and raster by creating an empty implementation of the DawnContextProvider, which will use the Skia Dawn backend to create a GrContext. Compilation of DawnContextProvider and the Skia Dawn backend are enabled with the gn arg use_skia_dawn=true. The command line flag --gr-context-type=dawn will select SkiaRenderer Dawn at runtime. For now it doesn't connect with Dawn, and DawnContextProvider::Create() always returns nullptr. See crrev.com/c/1873874 for context. Bug: 1021566 Change-Id: Ifa8e17e5e8b8b3461f4177956a8e28f5bd8d27c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1896120 Commit-Queue: Sean Gilhuly <sgilhuly@chromium.org> Reviewed-by:Ken Buchanan <kenrb@chromium.org> Reviewed-by:
Jonathan Backer <backer@chromium.org> Reviewed-by:
Stephen White <senorblanco@chromium.org> Cr-Commit-Position: refs/heads/master@{#713020}
Showing
skia/features.gni
0 → 100644
Please register or sign in to comment