Revision 1209186

Go back to digest for 26th December 2010

Optimization in Educational

Bernhard Beschow committed changes in /trunk/KDE/kdeedu/marble/src/lib:

introduce TileScalingTextureMapper

This patch introduces an optimized code path for the case that both the tile projection and the map projection are of type Mercator.
In this very common case, the tiles can be scaled rather than reprojected, promising a significant speedup, especially on the N900. Moreover, it seems to avoid crashes in high zoom levels on the N900, too.

REVIEW: 6109

File Changes

Added 2 files
  • /trunk/KDE/kdeedu/marble/src/lib
  •   /TileScalingTextureMapper.cpp
  •   /TileScalingTextureMapper.h
Modified 4 files
  • /trunk/KDE/kdeedu/marble/src/lib
  •   /AbstractScanlineTextureMapper.cpp
  •   /AbstractScanlineTextureMapper.h
  •   /CMakeLists.txt
  •   /TextureLayer.cpp
6 files changed in total