theuni/xbmc — comment on commit 2daa4f49bc92bb44f954f9444d7f62d0967b26d0
File:  line 0
By topfs2:

@theuni My point is that what needs to be done is simply age the regions only on flip, not on render (as we do now which is wrong). Thats the only thing you need to alter to get the effect your after (unless I'm missing something?). So the logic should simply be, if flip cleanmarkedregions (could rename this to something less confusing, for example AgeAndCleanMarkedRegions(), or RotateBuffers()?).

If solved regions size is 0 we either don't flip or we skip render but flip, in the first event we simply don't age as we haven't rotated buffers and in the second we clean as we have rotated buffers.

I'll try to be online on IRC ASAP, been hectic at school.