summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2015-11-14 00:04:30 +1100
committerJames Ross-Gowan <rossymiles@gmail.com>2015-11-18 23:07:33 +1100
commite76ec2c96300c828b2a96ae71199128295f8451b (patch)
tree3648496beafc071155ba16b898c16b560b966d7a /wscript_build.py
parenta3195381d17074e95cc5367c8136363251051fe2 (diff)
downloadmpv-e76ec2c96300c828b2a96ae71199128295f8451b.tar.bz2
mpv-e76ec2c96300c828b2a96ae71199128295f8451b.tar.xz
vo_opengl: add initial ANGLE support
ANGLE is a GLES2 implementation for Windows that uses Direct3D 11 for rendering, enabling vo_opengl to work on systems with poor OpenGL drivers and bypassing some of the problems with native GL, such as VSync in fullscreen mode. Unfortunately, using GLES2 means that most of vo_opengl's advanced features will not work, however ANGLE is under rapid development and GLES3 support is supposed to be coming soon.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 76b3929c95..6829554c17 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -334,6 +334,7 @@ def build(ctx):
( "video/out/opengl/video.c", "gl" ),
( "video/out/opengl/video_shaders.c", "gl" ),
( "video/out/opengl/w32.c", "gl-win32" ),
+ ( "video/out/opengl/angle.c", "egl-angle" ),
( "video/out/opengl/wayland.c", "gl-wayland" ),
( "video/out/opengl/x11.c", "gl-x11" ),
( "video/out/opengl/x11egl.c", "egl-x11" ),