Skip to content

Conversation

@wouterlucas
Copy link
Contributor

Fixes #371 and various other parent/child updates with Bounds detection.

Changes:

  • children update state, whenever the branch becomes active again they will be propagated accordingly
  • Alpha and clipping now properly trigger children updates when active again
  • Larger then bound detection, for full width child nodes (one of the clipping VRT tests)
  • Ability to handle dimension-less "holder" nodes with boundary checks
  • Small child iteration loop optimizations

Small sacrifices on performance as more parts of the tree will remain active (though still 125 -> 650k ops/s) , the original 2.1.0 release was a bit too aggressive marking part of the render tree "dead" due to not being able to handle "holder" nodes who do not have dimensions and once marked inactive would discard children updates.

@wouterlucas wouterlucas added this pull request to the merge queue Sep 12, 2024
Merged via the queue into main with commit 0456b0c Sep 12, 2024
@wouterlucas wouterlucas deleted the fix/bounds_children branch September 12, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clipping is "delayed" in renderer 2.1 release

3 participants