summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-09-05 14:03:00 +0200
committerwm4 <wm4@nowhere>2015-09-09 18:17:44 +0200
commiteb56807b414229a00cd2bee5e74beae5a01e8fb1 (patch)
tree7d2c22371b50208e989c35932b511e5271a83946 /wscript_build.py
parent7929e36e9329c842790193389000e968f5a57426 (diff)
downloadmpv-eb56807b414229a00cd2bee5e74beae5a01e8fb1.tar.bz2
mpv-eb56807b414229a00cd2bee5e74beae5a01e8fb1.tar.xz
vo_opengl: move self-contained shader routines to a separate file
This is mostly to cut down somewhat on the amount of code bloat in video.c by moving out helper functions (including scaler kernels and color management routines) to a separate file. It would certainly be possible to move out more functions (eg. dithering or CMS code) with some extra effort/refactoring, but this is a start. Signed-off-by: wm4 <wm4@nowhere>
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 57b43d64a3..9a998fe6ee 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -330,6 +330,7 @@ def build(ctx):
( "video/out/opengl/osd.c", "gl" ),
( "video/out/opengl/utils.c", "gl" ),
( "video/out/opengl/video.c", "gl" ),
+ ( "video/out/opengl/video_shaders.c", "gl" ),
( "video/out/opengl/w32.c", "gl-win32" ),
( "video/out/opengl/wayland.c", "gl-wayland" ),
( "video/out/opengl/x11.c", "gl-x11" ),