Skip to content

Commit

Permalink
Update path_fiddle to use a separate ArtboardInstance per copy
Browse files Browse the repository at this point in the history
path_fiddle used to advance and draw the same artboard multiple times per frame. This goes against our model where the renderer is allowed to hold a reference on a path and expect it to not mutate between the draw issue and flush. Update path_fiddle to use a separate ArtboardInstance per copy.

Unfortunately, advancing all these separate artboards introduces a 20% (and probably more realistic) performance hit. To get less watered-down raw rendering numbers, we can still use the "pause" feature.

Diffs=
  • Loading branch information
csmartdalton committed Jan 3, 2024
1 parent f8e6d04 commit eaab5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .rive_renderer
Original file line number Diff line number Diff line change
@@ -1 +1 @@
07bc07225ef6ee9e690b09ad8d51d66bbfcd997d
6cd02abb56a3122c8b4e9d885d81832087dca125

0 comments on commit eaab5f7

Please sign in to comment.