From c0c554e36fd43bfe57ef13fe60f9cd50b5c018fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Tue, 20 Oct 2015 12:19:11 +0200 Subject: [core] reparse tiles when new data arrives We're now reparsing tiles when they expire. We're also swapping out buckets atomically to avoid flickering data; i.e. we're displaying the old data as long as we don't have a new parsed bucket for that layer yet. The parsed buckets now live in the *TileData objects rather than in the TileWorker; only partially parsed == pending buckets will remain in the TileWorker. Once they're parsed, they're moved to the *TileData object. --- include/mbgl/storage/response.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/mbgl/storage/response.hpp') diff --git a/include/mbgl/storage/response.hpp b/include/mbgl/storage/response.hpp index 6390426030..b5973457b5 100644 --- a/include/mbgl/storage/response.hpp +++ b/include/mbgl/storage/response.hpp @@ -2,6 +2,7 @@ #define MBGL_STORAGE_RESPONSE #include +#include namespace mbgl { -- cgit v1.2.1