X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=input.h;h=e0febb1712895876758c9bffe9459b4c32feb8c7;hp=da5b1fb287d599b204c32540835322677678b122;hb=f8e636666b3d36f97b125bc1a0f0f582c5026c7f;hpb=5b1ec775a021f215307fc63e8df54bb1109aeb58 diff --git a/input.h b/input.h index da5b1fb..e0febb1 100644 --- a/input.h +++ b/input.h @@ -7,9 +7,7 @@ #include "image_format.h" // An input is a degenerate case of an effect; it represents the picture data -// that comes from the user. As such, it has zero “inputs” itself. Also, it -// has an extra operation called finalize(), which runs when the effect chain -// is finalized. +// that comes from the user. As such, it has zero “inputs” itself. // // An input is, like any other effect, required to be able to output a GLSL // fragment giving a RGBA value (although that GLSL fragment will have zero @@ -19,11 +17,6 @@ class Input : public Effect { public: virtual unsigned num_inputs() const { return 0; } - // Create the texture itself. We cannot do this in the constructor, - // because we don't necessarily know all the settings (sRGB texture, - // mipmap generation) at that point. - virtual void finalize() = 0; - // Whether this input can deliver linear gamma directly if it's // asked to. (If so, set the parameter “output_linear_gamma” // to activate it.)