Commit Graph

10 Commits

Author SHA1 Message Date
philter
9dc67e3515 Remove files to unblock downstream iOS push
Diffs=
cf89553e9 Remove files to unblock downstream iOS push (#7500)
1adf3dbf4 disable fallback font during artboard rendering (#7480)
6f29a9c0c Miscellaneous Layout UX Fixes (#7491)
09ccc9ebb Add yoga to thumbnail generator build (#7494)
aa390d5dc change how viewmodel instances target their viewmodel (#7468)
e66e242c6 Xxxx databinding add boolean (#7456)
9cd8759a0 Xxxx data binding data context (#7454)
31f5ee5c4 Animation for Layouts (#7426)
a4439ee42 Renames for Yoga and libjpeg (#7446)
97578005c Update LayoutComponentStyle bitfields to be compatible with older C++ versions (#7436)
75823467d databinding (#7341)
ef9ef9fd1 Ios golden test (#7413)

Co-authored-by: Jonathon Copeland <jcopela4@gmail.com>
Co-authored-by: Philip Chung <philterdesign@gmail.com>
2024-06-28 21:33:34 +00:00
csmartdalton
3da243cb69 Remove the Queue from Metal PLS
Always require the client to supply and commit their own external command buffer.

Diffs=
e0e55a59e Remove the Queue from Metal PLS (#6852)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2024-03-15 19:38:14 +00:00
csmartdalton
8bca3c7bf8 Implement PLS atomic mode in Metal
Automatically fall back on atomic mode when running on non-Apple Silicon and on the iOS simulator.

Diffs=
c7e5ab376 Implement PLS atomic mode in Metal (#6610)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2024-02-15 03:17:45 +00:00
csmartdalton
5fe7e33549 Automatically trim PLSRenderContext resources
Rather that requiring clients to initiate this, we can just trim our resources internally every 5 seconds during flush. If a client wants resources released in any other way, they can just delete all of them with resetGPUResources().

Diffs=
418be7208 Automatically trim PLSRenderContext resources (#6603)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2024-02-14 08:41:38 +00:00
luigi-rosso
27de5abf4b Ios out of band
few bits to sort out
- [x] make our mix of simulator/emulator consistent, settling on emulator
- [x] passing the factory in works great for just in time asset decoding, but its not amazing when you want to decode ahead of time.
- [x] couple of places left to pass this function signature through. (Question) is there a neater way to get this done, feels a bit like we are going back to parameter explosion a bit?
- [x] should do a few examples, i think the complexity grows quite a bit in this one as you add caching, or callbacks
- [x] should get the cached images/fonts to draw on init as well, either warming up cache, or jitting
- [x] examples loading assets from the bundle (also there seem to be actual asset things too? should we use those?!)
- [x] add test
- [x] re-add "preview" project & rev the preview project once this has been deployed. (do this after new ios deploy)
- [x] fix up race condition (see comment)

https://github.com/rive-app/rive/assets/1216025/2c14330f-e8a4-481b-bc27-4807cabe3b82

(simple example, both swift ui and standard)

![CleanShot 2023-11-20 at 16 54 59](https://github.com/rive-app/rive/assets/1216025/a71e207c-30ad-44dd-9e4b-ad7431b22186)

Diffs=
fabb7f97f Ios out of band (#6232)

Co-authored-by: Gordon Hayes <pggordonhayes@gmail.com>
Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com>
2023-12-05 21:23:08 +00:00
csmartdalton
2a2bd160c0 Don't crash the iOS simulator when requesting Rive Renderer
Instead, fall back on Skia with a warning.

Diffs=
e0c21beec Don't crash the iOS simulator when requesting Rive Renderer (#6110)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2023-10-20 20:27:16 +00:00
csmartdalton
1bc4d19efe Fission the CG and Skia renderers
Diffs=
c63346b93 Fission the CG and Skia renderers (#6071)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2023-10-12 08:20:27 +00:00
csmartdalton
a795c2fe60 Add a CG render context to the iOS runtime
Diffs=
42f393436 Add a CG render context to the iOS runtime (#5998)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2023-09-15 23:41:26 +00:00
csmartdalton
1dbf44304b Fix ios builds when PLS is not present
Diffs=
ea5593879 Fix ios builds when PLS is not present (#5959)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2023-09-08 19:24:39 +00:00
csmartdalton
b1f11bf828 Integrate the Rive renderer into iOS
Diffs=
afc961233 Integrate the Rive renderer into iOS (#5952)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
Co-authored-by: Luigi Rosso <luigi.rosso@gmail.com>
2023-09-08 18:30:17 +00:00