added: only flip when there are dirty regions, and mark the entire window as dirty...
authorbobo1on1 <bob-nospam-@xbmc.org>
Mon, 20 Jun 2011 20:00:56 +0000 (22:00 +0200)
committerbobo1on1 <bob-nospam-@xbmc.org>
Wed, 22 Jun 2011 13:30:12 +0000 (15:30 +0200)
commitf6d3e0dc8e5759b8422cbf31102bd1a2065cf248
tree318b4a72949500bd7b0209d27e62c80d6e9bf47b
parente4387fbaef9f4a3c175ed65ec11025bdfdaecb1b
added: only flip when there are dirty regions, and mark the entire window as dirty on paint events from the OS window manager, otherwise sleep, this will have cpu and gpu cycles at idle
xbmc/Application.cpp
xbmc/Application.h
xbmc/guilib/GUIWindowManager.cpp
xbmc/guilib/GUIWindowManager.h
xbmc/windowing/WinEventsSDL.cpp
xbmc/windowing/windows/WinEventsWin32.cpp