From 7c3d78fd82d4d1e1a0b15284386d39b4014cb7d1 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Thu, 21 Apr 2016 01:33:13 +0200 Subject: vo_opengl: support external user hooks This allows users to add their own near-arbitrary hooks to the vo_opengl processing pipeline, greatly enhancing the flexibility of user shaders. This enables, among other things, user shaders such as CrossBilateral, SuperRes, LumaSharpen and many more. To make parsing the user shaders easier, shaders are now loaded as bstrs, and the hooks are set up during video reconfig instead of on every single frame. --- 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 87713ff5f6..22ec75ce19 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -356,6 +356,7 @@ def build(ctx): ( "video/out/opengl/nnedi3.c", "gl" ), ( "video/out/opengl/osd.c", "gl" ), ( "video/out/opengl/superxbr.c", "gl" ), + ( "video/out/opengl/user_shaders.c", "gl" ), ( "video/out/opengl/utils.c", "gl" ), ( "video/out/opengl/video.c", "gl" ), ( "video/out/opengl/video_shaders.c", "gl" ), -- cgit v1.2.3