16 #ifndef QGSMAPRENDERERPARALLELJOB_H
17 #define QGSMAPRENDERERPARALLELJOB_H
19 #include "qgis_core.h"
52 void renderLayersFinished();
54 void renderLayersSecondPassFinished();
56 void renderingFinished();
61 static void renderLayerStatic( LayerRenderJob &job )
SIP_SKIP;
65 void startPrivate()
override;
70 enum { Idle, RenderingLayers, RenderingSecondPass, RenderingLabels } mStatus
SIP_SKIP;
72 QFuture<void> mFuture;
73 QFutureWatcher<void> mFutureWatcher;
75 std::vector< LayerRenderJob > mLayerJobs;
76 LabelRenderJob mLabelJob;
78 std::vector< LayerRenderJob > mSecondPassLayerJobs;
79 QFuture<void> mSecondPassFuture;
80 QFutureWatcher<void> mSecondPassFutureWatcher;
83 std::unique_ptr< QgsLabelingEngine > mLabelingEngineV2;
84 QFuture<void> mLabelingFuture;
85 QFutureWatcher<void> mLabelingFutureWatcher;
90 #endif // QGSMAPRENDERERPARALLELJOB_H