Revision 0c95235...

Go back to digest for 15th May 2011

Features in Educational

Bernhard Beschow committed changes in [marble] /lib:

use multiple threads for scanline-based texture mapping

This patch changes the scanline texture mappers to render textures using multiple threads, where the number of threads is determined
using QThread::idealThreadCount().

Almost all rendering logic has been moved into QRunnable implementations, which are recreated for every frame. Since each QRunnable
instantiates its own ScanlineTextureMapperContext, the contexts are recreated for every frame as well.

REVIEW: 101378

File Changes

Modified 8 files
  • /lib
  •   src/EquirectScanlineTextureMapper.cpp
  •   src/EquirectScanlineTextureMapper.h
  •   src/MercatorScanlineTextureMapper.cpp
  •   src/MercatorScanlineTextureMapper.h
  •   src/SphericalScanlineTextureMapper.cpp
  •   src/SphericalScanlineTextureMapper.h
  •   src/StackedTileLoader.cpp
  •   src/TileLoader.cpp
8 files changed in total