X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=blur_effect.h;h=788d337b3de6d9af4556656022f50486974acfa2;hp=9bacd535efb69ffdbf39192f8b678c00fec472c8;hb=f99ad333a7acbb6c8c995dbb036484ae8940c490;hpb=4ccde687b09ebc58d51fcec695bdfc1a35279c2f diff --git a/blur_effect.h b/blur_effect.h index 9bacd53..788d337 100644 --- a/blur_effect.h +++ b/blur_effect.h @@ -17,6 +17,8 @@ class BlurEffect : public Effect { public: BlurEffect(); + virtual std::string effect_type_id() const { return "BlurEffect"; } + // We want this for the same reason as ResizeEffect; we could end up scaling // down quite a lot. virtual bool needs_texture_bounce() const { return true; } @@ -43,6 +45,8 @@ private: class SingleBlurPassEffect : public Effect { public: SingleBlurPassEffect(); + virtual std::string effect_type_id() const { return "SingleBlurPassEffect"; } + std::string output_fragment_shader(); virtual bool needs_texture_bounce() const { return true; }