mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Improvement: reuse FBO for Thumbnailing
Avoid create and delete a new FBO for each thumbnail, as they are often the same size.
This commit is contained in:
@@ -40,6 +40,7 @@ protected:
|
||||
// get a thumbnail outside of opengl context; wait for a promise to be fullfiled after draw
|
||||
void drawThumbnail();
|
||||
FrameBufferImage *thumbnail ();
|
||||
FrameBuffer *frame_thumbnail_;
|
||||
};
|
||||
|
||||
#endif // RENDERVIEW_H
|
||||
|
||||
Reference in New Issue
Block a user