summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeocameratiles_p.h
diff options
context:
space:
mode:
authorThomas Lowe <thomas.lowe@nokia.com>2012-05-08 15:40:12 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-16 09:23:55 +0200
commitf9377591312f3c426e8d4bfa45f7554ad7e3e966 (patch)
tree3817480012dd575861dbf1c57d518af75af739e0 /src/location/maps/qgeocameratiles_p.h
parent321e37cb2b04cf075b85399fd97ea77b25f371c1 (diff)
downloadqtlocation-f9377591312f3c426e8d4bfa45f7554ad7e3e966.tar.gz
Simple prefetch scheme
Prefetches larger set of tiles when camera is stopped QTBUG-25136 Prefetch implementation including zoom-level prefetching Two prefetching options- pan buffer, or pan buffer for two nearest zoom levels Code simplified by removing all three visibleTiles lists, so they can't go out of sync Textures not promoted up the cache if they aren't visible when retrieved from server Also: Prefetch on map initialize + optimisation This ensures that the prefetch is called at the end of initialisation Useful if the location is not already in disk cache. And makes no difference if it is already in disk cache. QTBUG-25786 Change-Id: Ife7c1d103f83695659f4534880268fa5afd8f7c7 Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
Diffstat (limited to 'src/location/maps/qgeocameratiles_p.h')
-rw-r--r--src/location/maps/qgeocameratiles_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/maps/qgeocameratiles_p.h b/src/location/maps/qgeocameratiles_p.h
index dfc8cdf3..30571f72 100644
--- a/src/location/maps/qgeocameratiles_p.h
+++ b/src/location/maps/qgeocameratiles_p.h
@@ -82,6 +82,7 @@ public:
void setMapType(const QGeoMapType &mapType);
QSet<QGeoTileSpec> tiles() const;
+ void findPrefetchTiles();
private:
QGeoCameraTilesPrivate *d_ptr;