Skip to content

Goodbye tiny-skia, Hello vello_cpu#3306

Open
hecrj wants to merge 21 commits into
masterfrom
vello_cpu
Open

Goodbye tiny-skia, Hello vello_cpu#3306
hecrj wants to merge 21 commits into
masterfrom
vello_cpu

Conversation

@hecrj
Copy link
Copy Markdown
Member

@hecrj hecrj commented Apr 15, 2026

This PR replaces our software renderer—the tiny-skia backend—with a brand new one on top of vello_cpu.

Why? It's quite faster. I haven't written any benches yet, but I will get to that soon.

I have also removed the damage tracking logic for now. It was always a bit glitchy, so we may re-introduce that at a later time.

@hecrj hecrj added this to the 0.15 milestone Apr 15, 2026
@hecrj
Copy link
Copy Markdown
Member Author

hecrj commented Apr 16, 2026

Added a couple of cpu rendering benchmarks:

  • A bunch of lore ipsum text.
  • A basic application layout.

Results on my MacBook M4 Max without multithreading:

ipsum

image

application

image

@hecrj hecrj changed the title Hello vello_cpu, Goodbye tiny-skia Goodbye tiny-skia, Hello vello_cpu Apr 16, 2026
@nicoburns
Copy link
Copy Markdown
Contributor

You may also be interested in rust-windowing/softbuffer#329, which makes a huge different to the "present" performance of softbuffer on macOS in my testing (taking it from 10s of ms down to a couple of hundred microseconds).

@zxhd863943427
Copy link
Copy Markdown

But strangely, I tried to use this branch to compile the example tour, and it felt like it was a lot more stuttering than tina-skia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants