X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=input.h;fp=input.h;h=08f18da927c161b4ca5c778afee98d34f49b0768;hp=7652e1793a4599d01fb726bfbf939741ac01d2aa;hb=bff07c51f937a4fdf005d31ef7e064467db67511;hpb=61e2a7671f7b22227dcdc34dd303ae4fcc802aaa diff --git a/input.h b/input.h index 7652e17..08f18da 100644 --- a/input.h +++ b/input.h @@ -24,6 +24,10 @@ public: // to activate it.) virtual bool can_output_linear_gamma() const = 0; + // Whether this input can supply mipmaps if asked to (by setting + // the "needs_mipmaps" integer parameter set to 1). + virtual bool can_supply_mipmaps() const { return true; } + virtual unsigned get_width() const = 0; virtual unsigned get_height() const = 0; virtual Colorspace get_color_space() const = 0;