X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=dither_effect.h;h=314390752cebde884f87f8d54db798f33f310cae;hp=535b783959a4a3355d16873ddbfe27f734baede6;hb=82c71bc88157a182d739b5c763dbbcfd4b8eeef8;hpb=b10c546f579c7ccb5939161e61a71cd18a3f9bbd diff --git a/dither_effect.h b/dither_effect.h index 535b783..3143907 100644 --- a/dither_effect.h +++ b/dither_effect.h @@ -43,11 +43,19 @@ // like many LCD monitors do, but it starts to get very hairy, again, for limited gains.) // The dither is also deterministic across runs. +#include +#include + #include "effect.h" class DitherEffect : public Effect { -public: +private: + // Should not be instantiated by end users; + // call EffectChain::set_dither_bits() instead. DitherEffect(); + friend class EffectChain; + +public: ~DitherEffect(); virtual std::string effect_type_id() const { return "DitherEffect"; } std::string output_fragment_shader();