summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2016-07-11 22:23:00 +1000
committerJames Ross-Gowan <rossymiles@gmail.com>2016-07-12 20:26:41 +1000
commit43e811cb4ba57758281b8f21c5a09a965e3a2f5d (patch)
treec6698be4594aa30c64f11f3bcaa7b8e5c8e1cda7 /osdep
parent2d44dfaba9d5fe47c35ab6b5d552a25f02bd0bd5 (diff)
downloadmpv-43e811cb4ba57758281b8f21c5a09a965e3a2f5d.tar.bz2
mpv-43e811cb4ba57758281b8f21c5a09a965e3a2f5d.tar.xz
vo_opengl: angle: use WARP if there are no hw adapters
This should get mpv working on Windows 7 machines without hardware accelerated graphics adapters. It already worked on Windows 8 and up because those systems would silently fall back to WARP if there was no graphics hardware installed. The normal MPGL_CAP_SW flag is not set, so unlike other opengl backends, this will choose a software adapter even if opengl:sw is not specified. The reason for this is, unlike on Linux, where vo_xv and vo_x11 can be used, mpv on Windows does not have any VO to fall back on when hardware acceleration isn't available, so if software adapters are rejected, the user won't see any video output when using the default settings. WARP seems to perform quite well, so it should be used in this case.
Diffstat (limited to 'osdep')
0 files changed, 0 insertions, 0 deletions