[prev in list] [next in list] [prev in thread] [next in thread]
List: qgis-trac
Subject: [QGIS-trac] Re: [Quantum GIS] #2037: Enable multi-threaded
From: "Quantum GIS" <qgis () qgis ! org>
Date: 2009-10-29 7:58:28
Message-ID: 044.f66202e1c76cb22a18a8ded0a5981c62 () qgis ! org
[Download RAW message or body]
[Attachment #2 (text/plain)]
#2037: Enable multi-threaded rendering in QGIS
-------------------------------------+--------------------------------------
Reporter: timlinux | Owner: nobody
Type: enhancement | Status: new
Priority: minor: annoyance | Milestone: Version 1.4.0
Component: Build/Install | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: Debian
Must_fix: No | Status_info: 0
-------------------------------------+--------------------------------------
Comment (by mhugent):
Hi Tim
Please also consider the QtConcurrent
(http://doc.trolltech.com/4.5/threads.html#qtconcurrent) framework as an
option. The advantage over inheritance from QThread is that the number of
created threads automatically adapts depending on the number of cores.
Furthermore it is more high-level and therefore simpler to use. And it
does not require api changes in QgsMapLayer.
The Qt doc about QtConcurrent is not as good as the usual Qt docs. I once
wrote an example to render a tiled raster in threads with QtConcurrent. We
may look at this next week.
cheers,
Marco
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2037#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
_______________________________________________
QGIS-trac mailing list
QGIS-trac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-trac
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic