[QGIS-trac] Re: [Quantum GIS] #2037: Enable multi-threaded rendering in QGIS

Quantum GIS qgis at qgis.org
Thu Oct 29 03:58:28 EDT 2009


#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


More information about the QGIS-trac mailing list