diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-08-21 18:48:09 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-08-23 10:56:05 +0300 |
commit | ef3d04dee5f4bc23a9fa88a07805c3d5c489db0b (patch) | |
tree | 3b21767ffabdf00f454e339d70a02625de199369 /include | |
parent | 7b25cb10921c7711cf5ba997e674bea5a1da31ca (diff) | |
download | qtlocation-mapboxgl-ef3d04dee5f4bc23a9fa88a07805c3d5c489db0b.tar.gz |
[core] Export symbol placement update status from MapObserver
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map_observer.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/renderer/renderer_observer.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/mbgl/map/map_observer.hpp b/include/mbgl/map/map_observer.hpp index a79f5ac82d..7de6a3fa84 100644 --- a/include/mbgl/map/map_observer.hpp +++ b/include/mbgl/map/map_observer.hpp @@ -41,7 +41,7 @@ public: virtual void onDidFinishLoadingMap() {} virtual void onDidFailLoadingMap(MapLoadError, const std::string&) {} virtual void onWillStartRenderingFrame() {} - virtual void onDidFinishRenderingFrame(RenderMode) {} + virtual void onDidFinishRenderingFrame(RenderMode, bool /*placementChanged*/) {} virtual void onWillStartRenderingMap() {} virtual void onDidFinishRenderingMap(RenderMode) {} virtual void onDidFinishLoadingStyle() {} diff --git a/include/mbgl/renderer/renderer_observer.hpp b/include/mbgl/renderer/renderer_observer.hpp index 4d21a0aaee..e0fc84215e 100644 --- a/include/mbgl/renderer/renderer_observer.hpp +++ b/include/mbgl/renderer/renderer_observer.hpp @@ -26,8 +26,8 @@ public: // Start of frame, initial is the first frame for this map virtual void onWillStartRenderingFrame() {} - // End of frame, boolean flags that a repaint is required - virtual void onDidFinishRenderingFrame(RenderMode, bool) {} + // End of frame, booleans flags that a repaint is required and that placement changed. + virtual void onDidFinishRenderingFrame(RenderMode, bool /*repaint*/, bool /*placementChanged*/) {} // Final frame virtual void onDidFinishRenderingMap() {} |