diff options
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 5e77704..e3b218d 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -459,6 +459,10 @@ namespace Rotor { return i; } virtual Image *output(const Frame_spec &frame)=0; + void clear_output(int w,int h){ + image.setup(w,h); + image.clear(); + } Image image; float get_time_used(){ float t=time_taken; @@ -467,6 +471,7 @@ namespace Rotor { for (auto i:image_inputs) t-=i->get_time_taken(); return t; } + private: float image_time; //? could be used to detect image reuse? |
