summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2015-07-20 21:19:36 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2015-07-20 21:59:13 +0300
commit784eb355122bb0e4a01dff29da88aa6a76e2b85b (patch)
tree166adbc25848cf66dce4d9b6c1ec683bad0ab755 /include
parentfad241f8cf5f84add544887a04d4ce1108031aa1 (diff)
downloadqtlocation-mapboxgl-784eb355122bb0e4a01dff29da88aa6a76e2b85b.tar.gz
Revert "Revert "split renderSync and transition nudging to allow client view syncing""
This reverts commit 263f9fad308873077b9287dd8aeab089fc415b10.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index d31d6a2757..82aef65b65 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -67,7 +67,10 @@ public:
void renderStill(StillImageCallback callback);
// Triggers a synchronous or asynchronous render.
- void renderSync();
+ bool renderSync();
+
+ // Nudges transitions one step, possibly notifying of the need for a rerender.
+ void nudgeTransitions(bool forceRerender);
// Notifies the Map thread that the state has changed and an update might be necessary.
void update(Update update = Update::Nothing);