Krita Source Code Documentation
Loading...
Searching...
No Matches
KisAsyncAnimationCacheRenderer.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISASYNCANIMATIONCACHERENDERER_H
8#define KISASYNCANIMATIONCACHERENDERER_H
9
11
13{
14 Q_OBJECT
15public:
18
20
21protected:
22 void frameCompletedCallback(int frame, const KisRegion &requestedRegion) override;
23 void frameCancelledCallback(int frame, CancelReason cancelReason) override;
24 void clearFrameRegenerationState(bool isCancelled) override;
25
26
27Q_SIGNALS:
29
30private Q_SLOTS:
32
33private:
34 struct Private;
35 const QScopedPointer<Private> m_d;
36};
37
38#endif // KISASYNCANIMATIONCACHERENDERER_H
void setFrameCache(KisAnimationFrameCacheSP cache)
void frameCompletedCallback(int frame, const KisRegion &requestedRegion) override
frameCompletedCallback is called by the renderer when a new frame becomes ready
void frameCancelledCallback(int frame, CancelReason cancelReason) override
frameCancelledCallback is called when the rendering of the frame was cancelled.
void clearFrameRegenerationState(bool isCancelled) override
void sigCompleteRegenerationInternal(int frame)