diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-07-01 10:42:38 -0400 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-07-08 12:10:12 -0700 |
commit | b8388168dd130c67c77254565cdb576df7905915 (patch) | |
tree | cd0bbd2dd9876fa4ee8a250789719407dcd3fc10 /include | |
parent | fb230dda51721842036bb9102168e99ed2251f91 (diff) | |
download | qtlocation-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.hpp | 5 |
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); |