Skip to content

scene: No need to repaint everything every time

Aleix Pol Gonzalez requested to merge work/repaint-what-is-needed into master

Here repaint_region is the region that we are rendering to, this statement will mark the whole display as part of the dirtyArea to repaint, which is not necessary. painted_region instead is the accummulation of the reported damaged regions + prePaintScreen() paint region, which is what we want.

Merge request reports

Loading