summaryrefslogtreecommitdiffstats
path: root/libvo/vo_direct3d.c
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-11-08 01:34:40 +0100
committerUoti Urpala <uau@mplayer2.org>2011-11-25 23:59:49 +0200
commitb65ee1f5ac0b8634b6b79c81deeea86ef39c4069 (patch)
tree073155324e285c764ae07532f5ab34a0bb25e5bc /libvo/vo_direct3d.c
parent8d6fc26bb982c5ecb7dbe4c20d51dec47f82abbf (diff)
downloadmpv-b65ee1f5ac0b8634b6b79c81deeea86ef39c4069.tar.bz2
mpv-b65ee1f5ac0b8634b6b79c81deeea86ef39c4069.tar.xz
vo_gl: make shader code generation easier to deal with
The shader code was generated from very long strings with lots of format specifiers with snprintf calls. It was almost impossible to quickly tell what variables were inserted where in the shader. Make this more readable by implementing a kind of simple variable substitution, which allows replacing the format specifiers in the code templates with with variable names.
Diffstat (limited to 'libvo/vo_direct3d.c')
0 files changed, 0 insertions, 0 deletions