Skip to content

Tags: nongio/layers

Tags

v1.12.0

Toggle v1.12.0's commit message
chore: bump version to 1.12.0

v1.11.0

Toggle v1.11.0's commit message
Release v1.11.0: occlusion-aware damage aggregation

v1.10.0

Toggle v1.10.0's commit message
Release v1.10.0: partial damage channel + content cache fix

v1.9.0

Toggle v1.9.0's commit message
chore: bump version to 1.9.0

v1.8.0

Toggle v1.8.0's commit message
chore: release v1.8.0

v1.7.0

Toggle v1.7.0's commit message
chore: version bump

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Rendering optimizations and error propagation (#14)

* feat: propagate layer errors instead of panicking

Add LayerError::StaleNode returned from append_layer, prepend_layer,
add_layer_to_positioned, add_sublayer, prepend_sublayer instead of
panicking via catch_unwind or hitting indextree directly.

- New src/layers/error.rs with LayerError enum
- Engine::append_layer and prepend_layer check both child and parent
  node liveness before mutating the scene tree
- LayersEngine wrapper methods return Result<(), LayerError>
- Layer::add_sublayer / prepend_sublayer return Result<(), LayerError>
- build_layer_tree logs a warning on reattach failure instead of panicking

Callers can now handle stale handles gracefully (log, skip, recover)
rather than crashing with an indextree freed-node panic.

pushgithub

Toggle pushgithub's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Rendering optimizations and error propagation (#14)

* feat: propagate layer errors instead of panicking

Add LayerError::StaleNode returned from append_layer, prepend_layer,
add_layer_to_positioned, add_sublayer, prepend_sublayer instead of
panicking via catch_unwind or hitting indextree directly.

- New src/layers/error.rs with LayerError enum
- Engine::append_layer and prepend_layer check both child and parent
  node liveness before mutating the scene tree
- LayersEngine wrapper methods return Result<(), LayerError>
- Layer::add_sublayer / prepend_sublayer return Result<(), LayerError>
- build_layer_tree logs a warning on reattach failure instead of panicking

Callers can now handle stale handles gracefully (log, skip, recover)
rather than crashing with an indextree freed-node panic.

v1.5.0

Toggle v1.5.0's commit message
chore(version): 1.5.0

v1.4.3

Toggle v1.4.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: clean up stale layer handles on removal (#12)