diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-05-22 15:56:05 +0200 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-06-26 10:32:06 -0700 |
commit | 84e2ea886dc55917a1d6b665337fff6d3862984a (patch) | |
tree | 75d7411f09f48aa8b35be9348bc3687cb4efb1f8 /include/mbgl/android | |
parent | 740281cc89e99fbbedf07fcf62253ada84f60776 (diff) | |
download | qtlocation-mapboxgl-84e2ea886dc55917a1d6b665337fff6d3862984a.tar.gz |
drive map rendering from main thread
Diffstat (limited to 'include/mbgl/android')
-rw-r--r-- | include/mbgl/android/native_map_view.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/android/native_map_view.hpp b/include/mbgl/android/native_map_view.hpp index fae239e070..8c632fb1fe 100644 --- a/include/mbgl/android/native_map_view.hpp +++ b/include/mbgl/android/native_map_view.hpp @@ -23,7 +23,8 @@ public: void activate() override; void deactivate() override; void notify() override; - void invalidate(std::function<void()> render) override; + void invalidate() override; + void swap() override; void notifyMapChange(mbgl::MapChange change, Duration delay = Duration::zero()) override; |