Rather than draw out of the back buffer as it is modified,
do it from a timer, and keep track of the damaged cells in a bitset in the
backbuffer.
This way the amount of cpu used for drawing text, eg in quick scrolls,
weird character based animations etc is bounded.
If multiple observers of a backbuffer are ever done this would need to be
a list of bitsets.. maybe still be able to only modify one per damage, and
union them at draw time.
Original issue reported on code.google.com by robert.w...@gmail.com on 11 Apr 2007 at 6:03
Original issue reported on code.google.com by
robert.w...@gmail.com
on 11 Apr 2007 at 6:03