diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-03-19 15:55:06 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-03-20 18:47:15 +0200 |
commit | 3122df7e5075bb05c99d7033fceb9e561e795874 (patch) | |
tree | 5ab1ef8a85225b63f09922dd3b014d4eadbe7841 /src/mbgl/renderer/renderer_impl.hpp | |
parent | f86cc81680dd64f135f4f7b813c6cbb1e7e822d8 (diff) | |
download | qtlocation-mapboxgl-3122df7e5075bb05c99d7033fceb9e561e795874.tar.gz |
[core] Expose a way of flushing the graphics pipeline
Useful for apps before going to background that are
restricted by the OS of performing any operation.
Diffstat (limited to 'src/mbgl/renderer/renderer_impl.hpp')
-rw-r--r-- | src/mbgl/renderer/renderer_impl.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/renderer/renderer_impl.hpp b/src/mbgl/renderer/renderer_impl.hpp index 05bf2e9b2b..a036bfc7ff 100644 --- a/src/mbgl/renderer/renderer_impl.hpp +++ b/src/mbgl/renderer/renderer_impl.hpp @@ -48,6 +48,8 @@ public: void render(const UpdateParameters&); + void flush(); + std::vector<Feature> queryRenderedFeatures(const ScreenLineString&, const RenderedQueryOptions&) const; std::vector<Feature> querySourceFeatures(const std::string& sourceID, const SourceQueryOptions&) const; std::vector<Feature> queryShapeAnnotations(const ScreenLineString&) const; |