Skip to content

Commit

Permalink
Improve batching for interior triangulation draws
Browse files Browse the repository at this point in the history
Interior triangulation draws take 2 passes: outer cubics followed by the interior triangles.

Improve batching and reduce the number of barriers by allowing other non-overlapping draws to be sorted in between the two passes.

We implement this by adding RiveRenderPathDraw::subpassCount(), and then sorting a unique indirectDraw for each subpass into the list.

Diffs=
0f805654cf Improve batching for interior triangulation draws (#8327)
  • Loading branch information
csmartdalton committed Oct 12, 2024
1 parent b3a0f6e commit 492c7ba
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 @@
4e8c555722ce4804349a4d82dfd2d74605c14dae
0f805654cfd333d978a98a4375a6d99d0d5c8107

0 comments on commit 492c7ba

Please sign in to comment.