- virtual bool needs_texture_bounce() const { return true; }
- virtual bool needs_mipmaps() const { return true; }
- virtual bool needs_srgb_primaries() const { return false; }
- virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; }
+ // We want this for the same reason as ResizeEffect; we could end up scaling
+ // down quite a lot.
+ bool needs_texture_bounce() const override { return true; }
+ MipmapRequirements needs_mipmaps() const override { return NEEDS_MIPMAPS; }
+ bool needs_srgb_primaries() const override { return false; }
+ AlphaHandling alpha_handling() const override { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; }