BUGS
author Ryan C. Gordon <icculus@icculus.org>
Wed, 06 Mar 2019 03:08:45 -0500
changeset 103 685c0014eda1
parent 44 071ea2306704
permissions -rw-r--r--
Optimize dirty rectangle rendering.

Only push the video surface to a texture immediately when the app does
SDL_Flip() or SDL_UpdateRect(0,0,0,0). If it looks like dirty rectangle
rendering, only push when we're in a PumpEvents that's close to 60Hz, under
the assumption that the app isn't in the middle of rendering if they're
pumping the event queue, and that updates to the texture faster than the
refresh rate aren't seen anyhow.

This lets things that render a little in response to every mouse event, like
TuxPaint, run at reasonable speeds and still look correct.

This probably needs to not hardcode for 60Hz, but get the actual refresh rate
from SDL2.
     1 
     2 Bugs are now managed in the SDL bug tracker, here:
     3 
     4     https://bugzilla.libsdl.org/
     5 
     6 You may report bugs there, and search to see if a given issue has already
     7  been reported, discussed, and maybe even fixed.
     8 
     9 
    10 
    11 You may also find help at the SDL forums:
    12 
    13     https://discourse.libsdl.org/
    14 
    15 Bug reports are welcome here, but we really appreciate if you use Bugzilla, as
    16  bugs discussed on the mailing list may be forgotten or missed.
    17 
    18