]> git.sesse.net Git - movit/blobdiff - resize_effect.h
Give the alpha enums somewhat better/more consistent names, and shuffle them around...
[movit] / resize_effect.h
index 54c2b31bcca6e20b7cdc409bd69a344e3d1ae22c..c11f4bc9ea6dd9fd4e52241e5e16b8c46b73da21 100644 (file)
@@ -10,6 +10,7 @@
 class ResizeEffect : public Effect {
 public:
        ResizeEffect();
+       virtual std::string effect_type_id() const { return "ResizeEffect"; }
        std::string output_fragment_shader();
 
        // We want processing done pre-filtering and mipmapped,
@@ -18,7 +19,7 @@ public:
        virtual bool needs_mipmaps() const { return true; }
 
        virtual bool changes_output_size() const { return true; }
-       virtual void get_output_size(unsigned *width, unsigned *height) const;
+       virtual void get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const;
 
 private:
        int width, height;