diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-05-25 20:28:18 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-05-25 21:51:25 +0200 |
commit | 6f1477f2d4aee46f41215d16dcc0a2755e4ae721 (patch) | |
tree | d8109233c1c585799f158833a4506346e13a1327 /src/mbgl/tile/vector_tile_data.hpp | |
parent | c91e4ee1f4c9e7150090a8c40a49966a2e169c26 (diff) | |
download | qtlocation-mapboxgl-6f1477f2d4aee46f41215d16dcc0a2755e4ae721.tar.gz |
[core] split TileData::State::obsolete into its own thing
Diffstat (limited to 'src/mbgl/tile/vector_tile_data.hpp')
-rw-r--r-- | src/mbgl/tile/vector_tile_data.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/tile/vector_tile_data.hpp b/src/mbgl/tile/vector_tile_data.hpp index b38fe3828b..2545df801b 100644 --- a/src/mbgl/tile/vector_tile_data.hpp +++ b/src/mbgl/tile/vector_tile_data.hpp @@ -64,6 +64,9 @@ private: // Stores the placement configuration of how the text should be placed. This isn't necessarily // the one that is being displayed. PlacementConfig targetConfig; + + // Used to signal the worker that it should abandon parsing this tile as soon as possible. + std::atomic<bool> obsolete { false }; }; } // namespace mbgl |