Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h
Show All 34 Lines | |||||
35 | * The class handles a lot of boilerplate code for you and optimizes regeneration of | 35 | * The class handles a lot of boilerplate code for you and optimizes regeneration of | ||
36 | * the frames using multithreading, according to the user's settings. The responsibilities | 36 | * the frames using multithreading, according to the user's settings. The responsibilities | ||
37 | * of the class are the following: | 37 | * of the class are the following: | ||
38 | * | 38 | * | ||
39 | * Rendering itself: | 39 | * Rendering itself: | ||
40 | * - fetch the list of dirtly frames using calcDirtyFrames() | 40 | * - fetch the list of dirtly frames using calcDirtyFrames() | ||
41 | * - create some clones of the image according to the user's settings | 41 | * - create some clones of the image according to the user's settings | ||
42 | * to facilitate multithreaded rendering and processing of the frames | 42 | * to facilitate multithreaded rendering and processing of the frames | ||
43 | * - if the user doesn't have anough RAM, the clones will not be created | 43 | * - if the user doesn't have enough RAM, the clones will not be created | ||
44 | * (the memory overhead is calculated using "projections" metric of the | 44 | * (the memory overhead is calculated using "projections" metric of the | ||
45 | * statistics server). | 45 | * statistics server). | ||
46 | * - feed the images/threads with dirty frames until the all the frames | 46 | * - feed the images/threads with dirty frames until the all the frames | ||
47 | * are done | 47 | * are done | ||
48 | * | 48 | * | ||
49 | * Progress reporting: | 49 | * Progress reporting: | ||
50 | * - if batchMode() is false, the user will see a progress dialog showing | 50 | * - if batchMode() is false, the user will see a progress dialog showing | ||
51 | * the current progress with estimate about total processing timer | 51 | * the current progress with estimate about total processing timer | ||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |