From e74a4d5bc0b101fbfb371942c00d3a77267dc4a6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 12 Mar 2015 21:57:54 +0100 Subject: vo_opengl: refactor shader generation (part 1) The basic idea is to use dynamically generated shaders instead of a single monolithic file + a ton of ifdefs. Instead of having to setup every aspect of it separately (like compiling shaders, setting uniforms, perfoming the actual rendering steps, the GLSL parts), we generate the GLSL on the fly, and perform the rendering at the same time. The GLSL is regenerated every frame, but the actual compiled OpenGL-level shaders are cached, which makes it fast again. Almost all logic can be in a single place. The new code is significantly more flexible, which allows us to improve the code clarity, performance and add more features easily. This commit is incomplete. It drops almost all previous code, and readds only the most important things (some of them actually buggy). The next commit will complete it - it's separate to preserve authorship information. --- .gitignore | 1 - 1 file changed, 1 deletion(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index b8ff3a8426..159e409d7d 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ /input/input_conf.h /tags /TAGS -/video/out/gl_video_shaders.h /video/out/x11_icon.inc /demux/ebml_defs.c /demux/ebml_types.h -- cgit v1.2.3