While support for WebGPU like CanvasKit.MakeGPUDeviceContext() was added in 0.35.0, if you look at the actual build of canvaskit.js, the MakeGPUDeviceContext function cannot be found. It is present in index.d.ts though.
Does anyone happen to know about this issue?
Reference: 0.35.0 changelog - https://github.com/google/skia/blob/main/modules/canvaskit/CHANGELOG.md#0350---2022-06-30
Reference 2: The canvaskit.js file distributed on npm can be seen here, https://www.npmjs.com/package/canvaskit-wasm/v/0.39.1?activeTab=code
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/35bbd01a-76f2-4d70-a6f2-89c8e603d7c0n%40googlegroups.com.
> Once Graphite is a more stable/mature API, we would ideally like to go back to CanvasKit and add Graphite support, but since Graphite is currently in active development, we aren't yet looking at building CanvasKit integrations for it. (To be fully transparent, there isn't anyone currently assigned to work on CanvasKit features full-time, but priorities shift all the time.)
Then, could working on adding Graphite support to CanvasKit be considered a good contribution to CanvasKit? I'm getting a bit interested in it. Although I don't have enough time myself, even if it's not me, it would be good if this is shared with the community as a good challenge.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/cd8b8c82-7a46-4272-a0fa-0fe5c0ed9ae6n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/CANBPXuAYwFjvRCvLu%2BjztzHxgacLFNbH6S%2BMLK9GddM-eGiwhw%40mail.gmail.com.