-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Display-list-based invalidation #661
Copy link
Copy link
Closed
Labels
A-gfx/displaylistA-gfx/renderingI-enhancementNo impact; the issue is a missing or proposed feature.No impact; the issue is a missing or proposed feature.I-perf-slowUnnecessary performance degredation.Unnecessary performance degredation.
Description
Like Gecko does, we should do display-list based invalidation in Servo to avoid rendering more tiles than necessary.
Each layer should keep a pointer to its previous display list. (This should be done already because of the tiled rendering.) Then, when a new display list comes in, the two display lists should be diffed to determine an invalid region. Only the invalid tiles should be repainted.
The relevant Gecko bug is here: https://bugzilla.mozilla.org/show_bug.cgi?id=dlbi
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-gfx/displaylistA-gfx/renderingI-enhancementNo impact; the issue is a missing or proposed feature.No impact; the issue is a missing or proposed feature.I-perf-slowUnnecessary performance degredation.Unnecessary performance degredation.