path: root/
diff options
authorNiklas Haas <>2016-04-19 20:45:40 +0200
committerNiklas Haas <>2016-05-15 20:42:02 +0200
commitd53142f9bac1d8b17d3eeed258625b6739d34487 (patch)
tree9ddcbce3e02145a72d56fd6413b26fe01d5cfcdb /
parent070edd73000ca273289d1538c5513509b1b034b7 (diff)
vo_opengl: add optional hook points
These are "sequence points" where the image could be rendered out to an FBO, hooked, and re-loaded if any such hook exists. This is perfect for things like the current user shaders system, as well as optional effects like unsharp masking. Note that since we have to pick *some* FBO to store the optionally hooked texture, we just store it in an array indexed by an increasing counter. Since we only ever store as many as MAX_TEXTURE_HOOKS + all internal hook points entries, this is guaranteed to be enough space. This commit also removes some of the now unused FBOs.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions