X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=deconvolution_sharpen_effect.h;h=293916fd52da9433d7843ff9ca26c3526a8fdc06;hp=d0987f200b5c4e0284e3d295c3ee2d540f269d23;hb=19fde87d1ba773650754dc1f9d9455107d4a7882;hpb=07f3e1e29554ef3dc559ec6c0daf08bfca983122;ds=sidebyside diff --git a/deconvolution_sharpen_effect.h b/deconvolution_sharpen_effect.h index d0987f2..293916f 100644 --- a/deconvolution_sharpen_effect.h +++ b/deconvolution_sharpen_effect.h @@ -29,6 +29,9 @@ public: virtual std::string effect_type_id() const { return "DeconvolutionSharpenEffect"; } std::string output_fragment_shader(); + // Samples a lot of times from its input. + virtual bool needs_texture_bounce() const { return true; } + virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height) { this->width = width;