Skip to content

Commit

Permalink
Editor + Runtime Feathers!
Browse files Browse the repository at this point in the history
Adds feathering support to the runtime and editor.

A few important changes:
- Runtime now deals in RawPaths via ShapePaintPath. We no longer store a bunch of RenderPaths that we don't always end up using. Instead we use a light wrapper around RawPath (ShapePaintPath) to track intention of space (local, world, etc) and fill rule for the path so the runtime can pass that around and further mutate it or upgrade it to an immutable RenderPath only when it wants to actually draw it.
- Stroke effects like Dash and Trim now build on the update instead of render!

Diffs=
1b51fe394e Editor + Runtime Feathers! (#8891)
60a2eec998 Fix the notorious pnglibconf.h error for v2 (#8905)
24d9162103 Propagate layout's display to children in runtime (#8908)
90da85fbb4 editor+runtime: fix slow hit-testing (#8907)
b03d365c93 Fix more bit rotting in webgpu_player (#8906)
77a886e285 Work around Android GL driver bugs that surfaced with the feather change (#8901)
52c045aaf7 Require Android NDK r27c from premake (#8900)
d5a774b4b4 Add an android_api option for premake (#8892)
5328d573c7 Converter inspectors Part 1 (#8882)
7ed60faf76 Vector feathering v1! (#8799)
e042c0af4c Update the atan2 definition in shaders (#8883)
2240d091f8 Nnnn add extra functionality to string converter (#8876)
5574d9e34e add atan2 (#8878)
61e927c9cf Fix layout animation repeat (#8875)
5b9b388fe9 initial work for testing data binding in the editor (#8873)
88d24b0cd4 only reset state change on new frame (#8863)
ac230e44d0 export data enum names (#8870)
21c7498489 Vulkan Support ! (#8851)
f33a5984e2 use triggers per state machine layer (#8853)
20d09e2a84 More Android GL fixes (#8868)
9324024cc9 add more arithmetic operations (#8862)
b153a81b61 Fix premake tag (#8865)
8c9dc78dbd Android BrowserStack fixups (#8856)
eca00184b8 Runtime fix for image scale with mesh (#8840)
7c018ff174 editor+runtime: fix text hit-testing on a locally transformed text (#8860)
8e792d564f Reduce the number of GradientSpans (#8847)
2db9a9bd5c Update webgpu/glsl permutation #defines to "true" (#8845)
792049458c Delete the simple gradient texture transfer (#8844)

Co-authored-by: Alex Gibson <[email protected]>
Co-authored-by: Luigi Rosso <[email protected]>
Co-authored-by: Luigi Rosso <[email protected]>
Co-authored-by: hernan <[email protected]>
  • Loading branch information
5 people committed Jan 24, 2025
1 parent 63e42a1 commit 5159b80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5893a123773ecccb37dd35568030a4c18a041fa7
1b51fe394e81445b8e6c990780ed104ee582fde4
1 change: 1 addition & 0 deletions premake5_rive_plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ do
files({
source .. '/src/renderer.cpp',
source .. '/src/math/mat2d.cpp',
source .. '/src/math/vec2d.cpp',
source .. '/src/math/raw_path.cpp',
source .. '/src/text/font_hb.cpp',
source .. '/src/text/line_breaker.cpp',
Expand Down

0 comments on commit 5159b80

Please sign in to comment.