Repository navigation
Conversation
Add a WebGPU rendering backend page and show the Skia fallback in the WebGpuCanvasElement sample. Stop saying Skia can't be turned off, drop the forced-Vulkan enable sample, and correct the ToolTips and WebView2 EnableDevTools defaults. Co-Authored-By: Claude Opus 5.5 <[email protected]>
| `WebGpu` counts as a renderer feature, so listing it stops `Skia` from being implied. List both, as above, to keep SkiaSharp in the app, which the fallback described below needs. Listing `WebGpu` without `Skia` produces an app with no SkiaSharp (see [Apps without SkiaSharp](#apps-without-skiasharp)). | ||
|
|
||
| The `WebGpuCanvas` feature, which adds [`WebGpuCanvasElement`](xref:Uno.Controls.WebGpuCanvasElement), also adds the WebGPU backend. It doesn't count as a renderer feature, so `Skia` is still implied next to it. |
There was a problem hiding this comment.
I'm not sure this is a good idea. Maybe we should drop the whole "renderer feature" idea. WebGpuCanvas should not be a separate feature and WebGpuCanvasElement should be available through the WebGpu feature (but will only work if Skia is the active renderer)
|
|
MartinZikmund
left a comment
There was a problem hiding this comment.
Checked the new page against the code - WebGpuBackend.CreateGraphicsProvider(), SkiaBackend.CreateGraphicsProvider() and the GraphicsBackend(...) ordering/fallback all match. Two things though:
- Docs CI is red: cspell flags
webgpuintoc.yml(line 231). - #25938 carries this commit as-is (authorship kept), adds the cSpell entry, and updates the
WebGpuCanvasparagraph here, which becomes wrong once that feature is folded intoWebGpu. So I'd close this one in favor of #25938 rather than fix it twice.
Add a WebGPU rendering backend page and show the Skia fallback in the WebGpuCanvasElement sample. Stop saying Skia can't be turned off, drop the forced-Vulkan enable sample, and correct the ToolTips and WebView2 EnableDevTools defaults. (from unoplatform#25931)
|
@Mergifyio backport release/stable/7.0 |
🟠 Waiting for conditions to matchDetails
|
Add a WebGPU rendering backend page and show the Skia fallback in the WebGpuCanvasElement sample. Stop saying Skia can't be turned off, drop the forced-Vulkan enable sample, and correct the ToolTips and WebView2 EnableDevTools defaults. (from unoplatform#25931)
Add a WebGPU rendering backend page and show the Skia fallback in the WebGpuCanvasElement sample. Stop saying Skia can't be turned off, drop the forced-Vulkan enable sample, and correct the ToolTips and WebView2 EnableDevTools defaults. (from unoplatform#25931)
Add a WebGPU rendering backend page and show the Skia fallback in the WebGpuCanvasElement sample. Stop saying Skia can't be turned off, drop the forced-Vulkan enable sample, and correct the ToolTips and WebView2 EnableDevTools defaults. (from unoplatform#25931)
Add a WebGPU rendering backend page and show the Skia fallback in the WebGpuCanvasElement sample. Stop saying Skia can't be turned off, drop the forced-Vulkan enable sample, and correct the ToolTips and WebView2 EnableDevTools defaults. (from unoplatform#25931)
Add a WebGPU rendering backend page and show the Skia fallback in the WebGpuCanvasElement sample. Stop saying Skia can't be turned off, drop the forced-Vulkan enable sample, and correct the ToolTips and WebView2 EnableDevTools defaults. (from unoplatform#25931)
|
Tick the box to add this pull request to the merge queue (same as
|
GitHub Issue: n/a (documentation only)
PR Type:
📚 Documentation content changes
What changed? 🚀
WebGpuUnoFeature plus.GraphicsBackend(WebGpuBackend.CreateGraphicsProvider())), Skia remaining the default, fallback order (registering WebGPU alone replaces the implicit Skia default, so register.GraphicsBackend(webGpu).GraphicsBackend(skia)), which hosts are wired, SkiaSharp-free apps (WebGpuwithoutSkia), and the negotiation log line. The backend is marked experimental.WebView2.EnableDevToolsdefaults tofalsein both Debug and Release app builds, because the#if DEBUGdefault is compiled into the Release-built Uno.UI.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code