2 ms·
The current approach without retained display lists is actually closer to the virtual-DOM diffing approach. i.e. Without retained display lists: - build up
by muizelaar 9y ago
The current approach without retained display lists is actually closer to the virtual-DOM diffing approach. i.e.
Without retained display lists:
- build up a display list of the entire scene.
- diff this display list with the previous one to see what areas have changed.
- paint the areas that have changed
With retained display lists:
- keep a list of elements that have changed
- build a display list for part of the screen that have changed elements in them
- merge the new partial display list into the old one
- diff this display list with the previous to see what areas have changed
- paint the areas that have changed