lp:~stellarium/stellarium/gz_landscapePreload
Created by
gzotti
and last modified
Originally I wanted to allow preloading several landscapes to enable faster switching between them. This is useful mostly for larger installations and automatic scripted shows.
However, it turns out that we can introduce a complete caching behaviour here. Loading a big landscape may well take several seconds, no need to wait every time. We can "park" landscapes in a cache now. Cache size is configurable: config.
- Get this branch:
- bzr branch lp:~stellarium/stellarium/gz_landscapePreload
Members of
Stellarium
can upload to this branch. Log in for directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Alexander Wolf: Approve
-
Diff: 724 lines (+230/-61)6 files modifiedsrc/core/StelTexture.hpp (+4/-1)
src/core/StelTextureMgr.hpp (+1/-1)
src/core/modules/Landscape.cpp (+66/-36)
src/core/modules/Landscape.hpp (+17/-0)
src/core/modules/LandscapeMgr.cpp (+100/-16)
src/core/modules/LandscapeMgr.hpp (+42/-7)
Branch information
Recent revisions
- 9105. By gzotti
-
Preloading works great! Loading large landscapes take a few seconds. Now switching goes instantly :-)
- 9102. By Alexander Wolf
-
Removed code for automatic tuning star scales of the view through ocular/CCD
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:stellarium