16 #ifndef QGSMAPRENDERERPARALLELJOB_H
17 #define QGSMAPRENDERERPARALLELJOB_H
19 #include "qgis_core.h"
39 void start()
override;
53 void renderLayersFinished();
55 void renderLayersSecondPassFinished();
57 void renderingFinished();
62 static void renderLayerStatic( LayerRenderJob &job )
SIP_SKIP;
69 enum { Idle, RenderingLayers, RenderingSecondPass, RenderingLabels } mStatus
SIP_SKIP;
71 QFuture<void> mFuture;
72 QFutureWatcher<void> mFutureWatcher;
74 LayerRenderJobs mLayerJobs;
75 LabelRenderJob mLabelJob;
77 LayerRenderJobs mSecondPassLayerJobs;
78 QFuture<void> mSecondPassFuture;
79 QFutureWatcher<void> mSecondPassFutureWatcher;
82 std::unique_ptr< QgsLabelingEngine > mLabelingEngineV2;
83 QFuture<void> mLabelingFuture;
84 QFutureWatcher<void> mLabelingFutureWatcher;
89 #endif // QGSMAPRENDERERPARALLELJOB_H