lp:~stellarium/stellarium/textures-cleanup
- Get this branch:
- bzr branch lp:~stellarium/stellarium/textures-cleanup
Branch merges
- Alexander Wolf: Needs Fixing
-
Diff: 576 lines (+154/-228)5 files modifiedCMakeLists.txt (+20/-4)
src/core/StelTexture.cpp (+99/-126)
src/core/StelTexture.hpp (+29/-50)
src/core/StelTextureMgr.cpp (+5/-40)
src/core/StelTextureMgr.hpp (+1/-8)
Branch information
Recent revisions
- 6270. By Guillaume Chereau
-
convert QImage to opengl compatible data in the loading threads
This might improve the fluidity of the application, even though on my machine
it is hard to tell if there is much difference. - 6268. By Guillaume Chereau
-
fix remote texture loading
The previous code was a little bit ugly, with a blocking network connection.
In fact because we can only initiate a network request from the main thread,
this was not working at all anyway. - 6267. By Guillaume Chereau
-
clean a little bit texture code
I removed the fileExtension argument to createTextureTh
read. I think it was
never used anywhere. - 6266. By Guillaume Chereau
-
use QtConcurrent module for the texture loading threads
This is simpler that the current code, and more important, much faster. Qt
will automatically use the threads pool.The code still need to be improved, to support the automatic delay we should
maybe add for network texture. - 6265. By Guillaume Chereau
-
revert my previous commit
Sorry, it was a mistake. Its make the program very slow for a second just
after loading. We need to find a proper fix for the constellation textures
rendering. - 6264. By Guillaume Chereau
-
don't lazily load constellation textures
This makes the fading look better the first time we display the constellation
art. Of course the drawback is that the textures get loaded even if we never
show them.On possible other fix would be to delay the fading until the texture is loaded.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:stellarium