summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-01 20:43:46 +0100
committerwm4 <wm4@nowhere>2015-11-01 20:47:57 +0100
commit30a61064773e4fcb4c20a90787af95bc7d0e6d12 (patch)
tree8ae343f6dcfe428a54e3db5dd523870ad8b78f20 /common
parentf1e767b6a2539b9c4760cc63f2e8d96308153ebc (diff)
downloadmpv-30a61064773e4fcb4c20a90787af95bc7d0e6d12.tar.bz2
mpv-30a61064773e4fcb4c20a90787af95bc7d0e6d12.tar.xz
vo_opengl: win32: try to enable DwmFlush by default
Enable it by default, but not unconditionally. Add an "auto" mode, which disable DwmFlush if the compositor is (probably) inactive. Let's see how this goes. Since I accidentally enabled DwmFlush always by default (more or less) in a previous commit touching this code, this is probably mostly just cargo-culting, and it's uncertain whether it does anything. Note that I still got bad vsync behavior when fullscreening mpv, and making another window visible on the same screen. This happens even if forcing DWM.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions