diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-02 11:30:07 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-04 09:59:56 -0700 |
commit | e7d2796762c3ba05e824177969c501ab2370336f (patch) | |
tree | 22caa9990d87f94c68b346993b5956b6792b5dbe /src/mbgl/tile | |
parent | 89f1ffc6d29d5631dfd322834397ec2247c5c9d7 (diff) | |
download | qtlocation-mapboxgl-e7d2796762c3ba05e824177969c501ab2370336f.tar.gz |
[core] Omnibus Style::update method
Combine Style::cascade, recalculate, relayout, and updateTiles into a single method. This allows multiple loops over sources and layers to be consolidated and prepares for additional Style-Map decoupling: rather than tracking pending updates via a set of Update flags held by the Map and passed to the Style, the Style can use its own data to determine what to update.
Diffstat (limited to 'src/mbgl/tile')
-rw-r--r-- | src/mbgl/tile/geometry_tile_worker.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mbgl/tile/geometry_tile_worker.cpp b/src/mbgl/tile/geometry_tile_worker.cpp index a2d1f15906..616a0bba1f 100644 --- a/src/mbgl/tile/geometry_tile_worker.cpp +++ b/src/mbgl/tile/geometry_tile_worker.cpp @@ -256,10 +256,7 @@ static std::vector<std::unique_ptr<RenderLayer>> toRenderLayers(const std::vecto }); renderLayers.back()->evaluate(PropertyEvaluationParameters { - zoom, - Clock::time_point::max(), - ZoomHistory(), - Duration(0) + zoom }); } return renderLayers; |