X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=slice_effect.h;fp=slice_effect.h;h=1c363ea7b104c19ccd31a6e82a74b50f95ec16c1;hp=3448941873aebbfef9067e682d906fafc0308805;hb=15daf781e6ce00ec37ca806a16e490d59dcb4e24;hpb=56ff92c5828a143595eeb7a1906418cc30668f9d diff --git a/slice_effect.h b/slice_effect.h index 3448941..1c363ea 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;