diff options
author | wm4 <wm4@nowhere> | 2015-11-01 20:43:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-11-01 20:47:57 +0100 |
commit | 30a61064773e4fcb4c20a90787af95bc7d0e6d12 (patch) | |
tree | 8ae343f6dcfe428a54e3db5dd523870ad8b78f20 /audio/chmap.c | |
parent | f1e767b6a2539b9c4760cc63f2e8d96308153ebc (diff) | |
download | mpv-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 'audio/chmap.c')
0 files changed, 0 insertions, 0 deletions