summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-07-01 10:42:38 -0400
committerJustin R. Miller <incanus@codesorcery.net>2015-07-08 12:10:12 -0700
commitb8388168dd130c67c77254565cdb576df7905915 (patch)
treecd0bbd2dd9876fa4ee8a250789719407dcd3fc10 /include
parentfb230dda51721842036bb9102168e99ed2251f91 (diff)
downloadqtlocation-mapboxgl-b8388168dd130c67c77254565cdb576df7905915.tar.gz
split renderSync and transition nudging to allow client view syncing
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 8178fab49c..72800a9c1d 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -64,7 +64,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);