Skip to content

Skia: Add support for rendering with WGPU #8979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

tronical
Copy link
Member

@tronical tronical commented Jul 25, 2025

This enables using Skia for GUI rendering but combining it with application-provided WGPU textures, by transparently making require_wgpu_25 work also with the skia renderer.

@tronical tronical force-pushed the simon/skia-wgpu branch 12 times, most recently from 7dc024c to 4de4736 Compare July 30, 2025 15:12
@tronical tronical marked this pull request as ready for review July 30, 2025 15:22
@tronical tronical force-pushed the simon/skia-wgpu branch 7 times, most recently from 29c7df5 to a7222d3 Compare August 6, 2025 08:01
Set up the underlying graphics API with WGPU, render into the queue with
skia, present with WGPU. Opens path to importing wgpu textures, provided
that we synchronize them (i.e. pipeline barriers/transitions if needed).
... as we don't enable the Vulkan feature by default with skia on Windows, because it's not in the binaries and thus would force everyone to build skia (which is a PITA on Windows).
- For Skia, also opt out of the WGPU GL backend - we're not attempting to map it to Skia.
- For FemtoVG, avoid GL as well, because it produces artefacts.
@tronical tronical added this to the 1.13 milestone Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant