requests regeneration of a frame. The regeneration should be requested after switching the KisImage t...
This class maintains queues of dirty frames sorted in the order of proximity to the last changed fram...
QVector< int > m_changedFramesQueue
QVector< int > m_affectedFramesQueue
void slotFrameRegenerationCancelled(int frame)
Emits sigFrameCancelled(int) and schedules the next frame for regeneration.
void renderNextFrame()
Renders the next frame, either from affected or changed queue. Changed queue is given preference....
void sigFrameCancelled(int frame)
void slotFrameRegenerationCompleted(int frame, KisPaintDeviceSP contents)
Emits sigFrameCompleted(int,KisPaintDeviceSP) if the regeneration was complete and calls regeneration...
void sigFrameCompleted(int frame, KisPaintDeviceSP dev)
void sortAffectedFrameQueue()
Sorts the m_affectedFramesQueue based on proximity to the last changed frame.
KisStoryboardThumbnailRenderScheduler(QObject *parent)
void cancelFrameRendering(int frame)
Cancel rendering of a single frame.
KisAsyncStoryboardThumbnailRenderer * m_renderer
void scheduleFrameForRegeneration(int frame, bool affected)
Adds the frame to the list of "to be regenerated" frames.
void cancelAllFrameRendering()
Cancels all frame rendering. Empties all queues and cancels the current rendering,...
void setImage(KisImageSP image)
Sets an image, the class takes an image, clones it and calls frame regeneration on the clone so do no...