Convert velato to use anyrender instead than vello#92
Convert velato to use anyrender instead than vello#92nicoburns wants to merge 4 commits intolinebender:mainfrom
velato to use anyrender instead than vello#92Conversation
e00d252 to
c559133
Compare
nuzzles
left a comment
There was a problem hiding this comment.
I personally like this change but one snag I don't really love is that it seems like anyrender_vello needs to be updated prior to velato? No longer just Vello, we would have a new obstacle in the middle.
Unless I'm misunderstanding.
Correct, but that should be quick. I have an AnyRender update for Vello 0.7 ready to go once the Sparse Strips variants of Vello drop (should be tomorrow). The upside is that if the version of |
|
I think this might need a broader discussion. Please wait before landing. |
waywardmonkeys
left a comment
There was a problem hiding this comment.
Want a broader discussion.
There was some prior discussion in #74 (comment) |
Signed-off-by: Nico Burns <nico@nicoburns.com>
Signed-off-by: Nico Burns <nico@nicoburns.com>
Signed-off-by: Nico Burns <nico@nicoburns.com>
Signed-off-by: Nico Burns <nico@nicoburns.com>
|
Closing in favour of #95 |
Motivation
Allows
velatoto be used with Vello CPU, Vello Hybrid, and Skia in addition to Vello. It also allow people to "bring their own renderer" if they have a custom rendering setup they want to support.Changes made
kurboandpenikodirectly rather than throughvellovellodependency. Addanyrenderdependency.render.rs: replacevello::Scenewithimpl anyrender::PaintSceneexamples/scenes/src/lottie.rs: useanyrender_vello::VelloScenePainterto bridge betweenvello::Sceneandanyrender::PaintScene