Pixels-tiny skia animation example is not smooth

When I run the program using cargo run, I see animation but it is not smooth. How do I make the animation smooth in this example?

Run the example with --release.

And maybe also don't use tiny-skia. It's great as a demonstration, but it does all of its texture blending on the CPU, which is insanely inefficient. Plain ol' wgpu can draw the same kind of scene as shown in that example, but with all of the blending happening on the GPU.

2 Likes