Skip to content

Conversation

@nicoburns
Copy link
Contributor

@nicoburns nicoburns commented Jan 13, 2026

Motivation

Allows velato to 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

  • Depend on and import kurbo and peniko directly rather than through vello
  • Remove vello dependency. Add anyrender dependency.
  • In render.rs: replace vello::Scene with impl anyrender::PaintScene
  • In examples/scenes/src/lottie.rs: use anyrender_vello::VelloScenePainter to bridge between vello::Scene and anyrender::PaintScene

@nicoburns nicoburns requested a review from nuzzles January 13, 2026 21:02
@nicoburns nicoburns force-pushed the anyrender branch 2 times, most recently from e00d252 to c559133 Compare January 13, 2026 21:14
Copy link
Member

@nuzzles nuzzles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Member

@nuzzles nuzzles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs change log update

@nicoburns
Copy link
Contributor Author

nicoburns commented Jan 13, 2026

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.

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 vello uses the same peniko version as the previous version of vello then velato wouldn't need to updated at all (we'd put out a new version of anyrender_vello that depends on the same version of anyrender, and as velato would only depend on anyrender it would work with the new anyrender_vello automatically)

@waywardmonkeys
Copy link
Contributor

I think this might need a broader discussion. Please wait before landing.

Copy link
Contributor

@waywardmonkeys waywardmonkeys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want a broader discussion.

@nuzzles
Copy link
Member

nuzzles commented Jan 14, 2026

Want a broader discussion.

There was some prior discussion in #74 (comment)

@nicoburns
Copy link
Contributor Author

Closing in favour of #95

@nicoburns nicoburns closed this Jan 14, 2026
github-merge-queue bot pushed a commit that referenced this pull request Jan 15, 2026
…95)

Supercedes #92 as there was pushback about the use of AnyRender

---------

Signed-off-by: Nico Burns <[email protected]>
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.

Use velato independently of vello

3 participants