Permalink
Browse files

d-r: enable dirty-regions by default

This enables the all-or-nothing mode, which means that we repaint the entire
screen if there's a single dirty region.

Also, nofliptimeout=0 is set to ensure that we never flip without rendering.

With these combined, this should be universally safe (and within spec) for all
gfx cards/drivers.

The main possible side-effect is the slow-motion effect brought about on slower
cpus that can't keep up at times and produce wild timestamps. With our improved
decoding and caching, this is now quite rare.
  • Loading branch information...
1 parent aaf9804 commit 735e49e62dc07cbe94cb75e9069a01b1b985f70f Cory Fields committed Sep 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/settings/AdvancedSettings.cpp
@@ -306,8 +306,8 @@ void CAdvancedSettings::Initialize()
m_canWindowed = true;
m_guiVisualizeDirtyRegions = false;
- m_guiAlgorithmDirtyRegions = 0;
- m_guiDirtyRegionNoFlipTimeout = -1;
+ m_guiAlgorithmDirtyRegions = 3;
+ m_guiDirtyRegionNoFlipTimeout = 0;
m_logEnableAirtunes = false;
m_airTunesPort = 36666;
m_airPlayPort = 36667;

0 comments on commit 735e49e

Please sign in to comment.