virtual bool needs_srgb_primaries() const { return false; }
virtual unsigned num_inputs() const { return 2; }
+ // TODO: In the common case where a+b=1, it would be useful to be able to set
+ // alpha_handling() to INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK. However, right now
+ // we have no way of knowing that at instantiation time.
+
private:
float strength_first, strength_second;
};