4 Commits

Author SHA1 Message Date
Nyall Dawson
3b56b79f6d Don't block when canceling canvas render jobs
In some cases canceling render jobs can take a long time. Eg when
using database layers over a sloooooow connection, canceling a job
can be blocked by minutes while waiting for the first batch of feature
fetching to finish. (Since eg postgres features are fetched in batches
of 2000 with no opportunity to abort mid-way through this).

This meant that while the first render allows the GUI to remain
responsive, any subsequent render operations which occured before
the first render completes locks up the whole ui until the first
render can finish cancellation.

With this change, the render cancelation happens with blocking.
It means that you can pan and zoom around a map over of slow
connection without any ui locks.
2017-03-02 12:39:57 +10:00
Nyall Dawson
2b3805eea5 Reuse existing labeling results if cached labels were redrawn 2017-02-07 10:07:19 +10:00
Martin Dobias
2fedba0805 Doxymentation for QgsMapRendererJob + subclasses 2014-06-24 14:02:03 +07:00
Martin Dobias
436b05e0cc Move QgsRendererJob subclasses to new files (no code changes) 2014-06-22 21:58:39 +07:00