]> Pileus Git - grits/commit
Move low level tile loading to GritsTile
authorAndy Spencer <andy753421@gmail.com>
Thu, 27 Dec 2012 03:23:01 +0000 (03:23 +0000)
committerAndy Spencer <andy753421@gmail.com>
Thu, 27 Dec 2012 03:23:01 +0000 (03:23 +0000)
commit2f0edbabb90eb0c421419433e8893521257bc614
tree54f36a5d648217a68c6da6400f9be0d2637c4921
parent618983b0bfdc9af2d6dc368570a1911b892b5166
Move low level tile loading to GritsTile

Move all the OpenGL stuff out of the plugins and into GritsTile, this
prevents needing to explicit idle callbacks in plugins, which is
extremely unstable when unloading a plugin.

Note: The tile code is _not_ thread safe and will be reworked in
subsequent changes. The plan is to use some sort of priority queue and
do all the updating and garbage collecting from the main thread directly
from the location-changed callback. The plugins can still use thread
pools for the actual downloading and loading.
src/objects/grits-tile.c
src/objects/grits-tile.h
src/plugins/elev.c
src/plugins/map.c
src/plugins/sat.c