diff options
author | Niklas Haas <git@haasn.xyz> | 2017-07-09 08:48:29 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-07-09 08:48:29 +0200 |
commit | f4178b90c759bfcab0ea99750f99c1b3c5e91aea (patch) | |
tree | f5d63cd472f237f3bb06fde16aa485a01eb61296 /video | |
parent | 45a2e1ce0dfe8c3da73e442ce23d62af16719730 (diff) | |
download | mpv-f4178b90c759bfcab0ea99750f99c1b3c5e91aea.tar.bz2 mpv-f4178b90c759bfcab0ea99750f99c1b3c5e91aea.tar.xz |
vo_opengl: describe the remainder passes after user shaders
On optional hook points, we store to a temp FBO and then read from it
again to complete any operations that may still be left (e.g.
sigmoidization after MAIN/LINEAR).
In theory this mechanism should be reworked to avoid the temporary FBO
until the next time we actually need one - and also skip redundant
passes if we the next thing we need *is* a FBO - but both are those are
tricky. Anyway, in the meantime, at least we can label the
(semi-)redundant passes that get generated when using user shaders.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/opengl/video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index ca76af2b9b..14d66074e5 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -1356,6 +1356,7 @@ found: p->texture_w = img.w; p->texture_h = img.h; p->components = img.components; + pass_describe(p, "(remainder pass)"); } static void load_shader(struct gl_video *p, struct bstr body) |