xbmc/xbmc — pull request #500 by theuni (2011-10-19 20:08:18+00:00)
Title: Dirty Regions: New Compromise mode

This introduces a new dirty-region mode (3) for marking the entire window as dirty when there's any dirty-region, and doesn't render otherwise. I propose that we make this the default for Eden as it takes driver quirks out of the equation, and still cuts down hugely on idle cpu/gpu consumption.

As-is, current behavior and defaults are unchanged.

The remaining issue is that backbuffer contents may be undefined if we're flipping without rendering, so we'll need to enable noflip (nofliptimeout = 0 in as.xml) for this to be a suitable solution for Eden. There are some issues with frametimes and animations that will need to be worked out first. But this issue is not specific to the new d-r mode, so that's no reason why it shouldn't go in.

I'll be merging this in 2 days unless there's good cause not to.