Changes needed to get rive-bevy working with bevy 0.13.0 and vello 0.1.0
This PR is the bare minimum needed to get rive-bevy working with bevy 0.13.0 and vello 0.1.0.
Note that I haven't been able to get the standalone examples in this repo working because of what appears to be an upstream issue with vello+winit, but I haven't dug deeply into that.
Also, there are probably a lot of improvements to be made by folks who know this space better than I -- I was just trying to knock together something that would allow me to evaluate Rive for my bevy project.
You're very welcome @dragostis, happy to try to help! That totally makes sense regarding why you have been waiting to upgrade -- good news: the vello PR you were waiting for https://github.com/linebender/vello/pull/496 seems to have merged! Of course, the meh news is that it's not at all clear when the Vello project will push another version to Cargo, which would mean tracking Vello by commit hash to get that update rather than a "published" version. Not a big deal, but obviously using a published version can be easier.
I have just started a new job, so I don't know when I'll loop back around to this, so of course please feel free to take this and run with it if you want. Otherwise, I'll try to push it forward hopefully next week
@bcolloran I tried updating to the newest version of Vello and testing it on Linux with Vulkan (Nvidia driver) with mixed results: it seems to run fine but ends up hanging when rendering more than just a few copies with the example app.
After a bit of digging, the culprit seems to be this issue in wgpu, but I'm not completely sure this is the case. Do you happen to have a similar device to test on? I could also ask directly on Vello about it.
hi @dragostis! :-) Yes I have a Linux+Nvidia machine I can test on. Feel free to push your changes + test scene to this branch or send me a link to your branch and I'll test it out.