diff options
author | Niklas Haas <git@nand.wakku.to> | 2016-04-19 20:45:40 +0200 |
---|---|---|
committer | Niklas Haas <git@nand.wakku.to> | 2016-05-15 20:42:02 +0200 |
commit | d53142f9bac1d8b17d3eeed258625b6739d34487 (patch) | |
tree | 9ddcbce3e02145a72d56fd6413b26fe01d5cfcdb /DOCS/waf-buildsystem.rst | |
parent | 070edd73000ca273289d1538c5513509b1b034b7 (diff) | |
download | mpv-d53142f9bac1d8b17d3eeed258625b6739d34487.tar.bz2 mpv-d53142f9bac1d8b17d3eeed258625b6739d34487.tar.xz |
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 'DOCS/waf-buildsystem.rst')
0 files changed, 0 insertions, 0 deletions