From 19fde87d1ba773650754dc1f9d9455107d4a7882 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 21 Jan 2013 23:29:11 +0100 Subject: [PATCH 1/1] DeconvolutionSharpenEffect needs texture bounce. Anything else will be incredibly slow. Reported by Christophe Thommeret. --- deconvolution_sharpen_effect.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2