DioxusLabs / blitz

A radically modular HTML/CSS rendering engine
Apache License 2.0
2.14k stars 45 forks source link

Invalidation #31

Closed ealmloff closed 8 months ago

ealmloff commented 1 year ago

Browsers generally keep track of what regions of the screen have been invalidated and re-render only those regions of the screen. This PR changes Blitz to use nodes that have been invalidated and rerender only those parts of the screen (along with any layers touching those regions)

Untitled-2023-04-18-1053

ealmloff commented 1 year ago

It appears this may be blocked until Vello has a incremental scene API: https://github.com/linebender/vello/pull/243#issuecomment-1423391870