Improve performance when being forced to double buffer #488

Manually merged
dnkl merged 12 commits from double-buffering into master 9 months ago

12 Commits

Author SHA1 Message Date
Daniel Eklöf 07d0acbabf
changelog: improved performance when double buffering 9 months ago
Daniel Eklöf dc4f60fd4f
render: always do a full repaint if last buffer’s dimension doesn’t match 9 months ago
Daniel Eklöf 51dec651f4
render: add margins to buffer’s dirty region when rendering margins 9 months ago
Daniel Eklöf 945a346596
shm: clear buffer’s dirty region before returning a cached buffer 9 months ago
Daniel Eklöf 37bbf44f6d
shm: set ‘age’ in newly allocated buffers to something large 9 months ago
Daniel Eklöf 0433ba8477
shm: free scroll damage before returning cached buffer 9 months ago
Daniel Eklöf 9b339a35f0
render: warn if we’re forced to double buffer at least 5 times 9 months ago
Daniel Eklöf 34becf0df0
render: code cleanup, log double buffering time 9 months ago
Daniel Eklöf a1d2044d75
render: subtract current frame’s damage when there’s no scroll damage 9 months ago
Daniel Eklöf 15bfeea745
render: wip: re-apply last frame’s damage when forced to double buffer 9 months ago
Daniel Eklöf 434c9c3a34
shm: add damage tracking to buffer 9 months ago
Daniel Eklöf c8b342ae51
shm: track busy buffers’ age, and add compile-time option to force double buffering 9 months ago