From: Steinar H. Gunderson Date: Mon, 21 Jan 2013 22:29:11 +0000 (+0100) Subject: DeconvolutionSharpenEffect needs texture bounce. X-Git-Tag: 1.0~149^2~1 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=19fde87d1ba773650754dc1f9d9455107d4a7882;hp=07f3e1e29554ef3dc559ec6c0daf08bfca983122 DeconvolutionSharpenEffect needs texture bounce. Anything else will be incredibly slow. Reported by Christophe Thommeret. --- 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;