mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Fixed Session thumbnail
wait for all sources to be ready before creating the thumbnail.
This commit is contained in:
@@ -19,6 +19,7 @@ public:
|
||||
RenderView ();
|
||||
~RenderView ();
|
||||
|
||||
// render frame (in opengl context)
|
||||
void draw () override;
|
||||
bool canSelect(Source *) override { return false; }
|
||||
|
||||
@@ -28,9 +29,11 @@ public:
|
||||
void setFading(float f = 0.f);
|
||||
float fading() const;
|
||||
|
||||
// current frame
|
||||
inline FrameBuffer *frame () const { return frame_buffer_; }
|
||||
|
||||
// get a thumbnail; wait for a promise to be fullfiled
|
||||
// get a thumbnail outside of opengl context; wait for a promise to be fullfiled after draw
|
||||
void drawThumbnail();
|
||||
FrameBufferImage *thumbnail ();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user