X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=blur_effect.h;h=788d337b3de6d9af4556656022f50486974acfa2;hp=9bacd535efb69ffdbf39192f8b678c00fec472c8;hb=fdad0932f08649e69e824ee73a787671a5bc93a5;hpb=3d1f6c11c53cd9d3d5c1fb60f4accf050b7f135e 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; }