X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=slice_effect.h;h=17202d77c97577e720cf023426c8c28f095ab8c5;hp=6380c1665279078623a802c9ccf2f7db4f17574d;hb=e9f0fb5e6ae193a5a853ac5aef82927b6a81267a;hpb=849e2cd0910a468c1aa7b11cd855c685421781ae diff --git a/slice_effect.h b/slice_effect.h index 6380c16..17202d7 100644 --- a/slice_effect.h +++ b/slice_effect.h @@ -29,10 +29,12 @@ public: unsigned *virtual_width, unsigned *virtual_height) const; void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num); + virtual void inform_added(EffectChain *chain) { this->chain = chain; } enum Direction { HORIZONTAL = 0, VERTICAL = 1 }; private: + EffectChain *chain; int input_width, input_height; int input_slice_size, output_slice_size; Direction direction;