Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

chore: optimisation and fix for clipping and blend modes #11

Merged
merged 5 commits into from
Jun 6, 2024

Conversation

GoodBoyDigital
Copy link
Member

@GoodBoyDigital GoodBoyDigital commented Jun 6, 2024

Refactored things a bit to make them run faster and a few other bits!

  • 30% faster than the current v8 (which was faster than v7 already!)
  • uses less memory, about 25% than current v8
  • Better validation of spine updates, if the meshes / draw order remain the same then no rebuild is triggered
  • spine bone / attachment updates only happen once per state update at the point the data is needed (eg measuring or rendering). No heavy lifting if state is not updated
  • Added support for blend modes
  • Fixed clipping - so it works properly now (and is faster more memory efficient)

- only updating meshes once per state application when required (measuring or rendering)
@GoodBoyDigital GoodBoyDigital requested a review from Zyie June 6, 2024 08:21
@GoodBoyDigital
Copy link
Member Author

cc @badlogic. would be great to get your eyes on this one if you get a mo! Cheers!

@GoodBoyDigital GoodBoyDigital changed the title Chore/optimisation chore: optimisation and feature fixing Jun 6, 2024
@GoodBoyDigital GoodBoyDigital changed the title chore: optimisation and feature fixing chore: optimisation and fix for clipping and blend modes Jun 6, 2024
@Zyie Zyie merged commit a75213c into chore/attachToSlot Jun 6, 2024
2 checks passed
@Zyie Zyie deleted the chore/optimisation branch June 6, 2024 14:35
Zyie pushed a commit that referenced this pull request Jun 6, 2024
Co-authored-by: Mat Groves <[email protected]>
Co-authored-by: Zyie <[email protected]>
fix for clipping and blend modes (#11)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants