From eb56807b414229a00cd2bee5e74beae5a01e8fb1 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 5 Sep 2015 14:03:00 +0200 Subject: 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 --- wscript_build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript_build.py') 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" ), -- cgit v1.2.3