Skip to content

Commit

Permalink
Move curve softening math for feathers to the GPU
Browse files Browse the repository at this point in the history
We still segment the feathered curves on the CPU, which is super slow, but this is step 1 toward having all this work on the GPU.

This PR also fixes cracks in the feather join tessellation!!!

CPU benchmark results:

DrawCustomFeathers: 906.9 => 226.1 ms (4x)
DrawFeatheredPaths_paper: 246.5 => 81.2 ms (3x)

Diffs=
82449bcb3f Move curve softening math for feathers to the GPU (#9064)
  • Loading branch information
csmartdalton committed Feb 27, 2025
1 parent 8f22fd8 commit 5601f68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d7ff8f13723ed319bb586792f5bc47c755fb0f85
82449bcb3f0fb97ccd49a04c98728809453c3b16

0 comments on commit 5601f68

Please sign in to comment.