X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=slice_effect.h;h=1c363ea7b104c19ccd31a6e82a74b50f95ec16c1;hp=3448941873aebbfef9067e682d906fafc0308805;hb=5b6ab865efa692b25590f302c111b30680fbacdd;hpb=8c7e53028a3ef4805d2608643041a5d7e6bd1b6e 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;