|
Krita Source Code Documentation
|
#include <kis_animation_cache_populator.h>
Inheritance diagram for KisAnimationCachePopulator:Classes | |
| struct | Private |
Public Slots | |
| void | slotRequestRegeneration () |
Public Member Functions | |
| KisAnimationCachePopulator (KisPart *part) | |
| bool | regenerate (KisAnimationFrameCacheSP cache, int frame) |
| void | requestRegenerationWithPriorityFrame (KisImageSP image, int frameIndex) |
| ~KisAnimationCachePopulator () override | |
Private Slots | |
| void | slotConfigChanged () |
| void | slotRegeneratorFrameCancelled () |
| void | slotRegeneratorFrameReady () |
| void | slotTimer () |
Private Attributes | |
| QScopedPointer< Private > | m_d |
Definition at line 15 of file kis_animation_cache_populator.h.
| KisAnimationCachePopulator::KisAnimationCachePopulator | ( | KisPart * | part | ) |
Definition at line 336 of file kis_animation_cache_populator.cpp.
References connect(), KisConfigNotifier::instance(), m_d, slotConfigChanged(), slotRegeneratorFrameCancelled(), slotRegeneratorFrameReady(), and slotTimer().
|
override |
Definition at line 348 of file kis_animation_cache_populator.cpp.
References m_d.
| bool KisAnimationCachePopulator::regenerate | ( | KisAnimationFrameCacheSP | cache, |
| int | frame ) |
Request generation of given frame. The request will be ignored if the populator is already requesting a frame.
Definition at line 353 of file kis_animation_cache_populator.cpp.
References m_d.
| void KisAnimationCachePopulator::requestRegenerationWithPriorityFrame | ( | KisImageSP | image, |
| int | frameIndex ) |
Definition at line 358 of file kis_animation_cache_populator.cpp.
References KisImage::animationInterface(), KisAnimationFrameCache::cacheForImage(), KisImageAnimationInterface::hasAnimation(), m_d, and KisAnimationCachePopulator::Private::NotWaitingForAnything.
|
privateslot |
Definition at line 395 of file kis_animation_cache_populator.cpp.
References KisConfig::calculateAnimationCacheInBackground(), m_d, and slotRequestRegeneration().
|
privateslot |
Definition at line 384 of file kis_animation_cache_populator.cpp.
References KIS_ASSERT_RECOVER_RETURN, m_d, KisAnimationCachePopulator::Private::NotWaitingForAnything, and KisAnimationCachePopulator::Private::WaitingForFrame.
|
privateslot |
Definition at line 390 of file kis_animation_cache_populator.cpp.
References KisAnimationCachePopulator::Private::BetweenFrames, and m_d.
|
slot |
Definition at line 376 of file kis_animation_cache_populator.cpp.
References m_d, and KisAnimationCachePopulator::Private::WaitingForIdle.
|
privateslot |
Definition at line 371 of file kis_animation_cache_populator.cpp.
References m_d.
|
private |
Definition at line 44 of file kis_animation_cache_populator.h.