summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/render_orchestrator.hpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-01-15 16:30:34 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-01-22 14:30:26 +0200
commitd24c1d625af61328b8ada2d005ab3f9e659a2c69 (patch)
tree90be4d179a0177833b1322fc8f913e48592ab44d /src/mbgl/renderer/render_orchestrator.hpp
parent5af128f205a404128e804f5c82ecf748a52dac9c (diff)
downloadqtlocation-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.hpp2
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;