]> git.sesse.net Git - movit/blobdiff - resize_effect.h
Support multi-texture FBOs in ResourcePool.
[movit] / resize_effect.h
index 774f510de592aedc4e0ae1991916629d62c64842..77dfdd48e1932c63bdb99110045e8b4263b6a290 100644 (file)
@@ -9,6 +9,8 @@
 
 #include "effect.h"
 
+namespace movit {
+
 class ResizeEffect : public Effect {
 public:
        ResizeEffect();
@@ -22,10 +24,13 @@ public:
        virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; }
 
        virtual bool changes_output_size() const { return true; }
+       virtual bool sets_virtual_output_size() const { return false; }
        virtual void get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const;
 
 private:
        int width, height;
 };
 
+}  // namespace movit
+
 #endif // !defined(_MOVIT_RESIZE_EFFECT_H)