diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-01-15 16:30:34 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-01-22 14:30:26 +0200 |
commit | d24c1d625af61328b8ada2d005ab3f9e659a2c69 (patch) | |
tree | 90be4d179a0177833b1322fc8f913e48592ab44d /src/mbgl/renderer/render_orchestrator.hpp | |
parent | 5af128f205a404128e804f5c82ecf748a52dac9c (diff) | |
download | qtlocation-mapboxgl-d24c1d625af61328b8ada2d005ab3f9e659a2c69.tar.gz |
[core] Pass std::shared_ptr<UpdateParameters> to the render orchestrator
So that it can retain ownership of the given parameters.
Diffstat (limited to 'src/mbgl/renderer/render_orchestrator.hpp')
-rw-r--r-- | src/mbgl/renderer/render_orchestrator.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/render_orchestrator.hpp b/src/mbgl/renderer/render_orchestrator.hpp index c2b44c2792..4983538749 100644 --- a/src/mbgl/renderer/render_orchestrator.hpp +++ b/src/mbgl/renderer/render_orchestrator.hpp @@ -52,7 +52,7 @@ public: // TODO: Introduce RenderOrchestratorObserver. void setObserver(RendererObserver*); - std::unique_ptr<RenderTree> createRenderTree(const UpdateParameters&); + std::unique_ptr<RenderTree> createRenderTree(const std::shared_ptr<UpdateParameters>&); std::vector<Feature> queryRenderedFeatures(const ScreenLineString&, const RenderedQueryOptions&) const; std::vector<Feature> querySourceFeatures(const std::string& sourceID, const SourceQueryOptions&) const; |