[core] Remove unnecessary members from UpdateParameters
This commit is contained in:
@@ -709,8 +709,6 @@ void Map::Impl::onUpdate(Update flags) {
|
||||
style->impl->getImageImpls(),
|
||||
style->impl->getSourceImpls(),
|
||||
style->impl->getLayerImpls(),
|
||||
scheduler,
|
||||
fileSource,
|
||||
annotationManager,
|
||||
prefetchZoomDelta,
|
||||
bool(stillImageRequest)
|
||||
|
||||
@@ -94,8 +94,8 @@ void Renderer::Impl::render(const UpdateParameters& updateParameters) {
|
||||
updateParameters.pixelRatio,
|
||||
updateParameters.debugOptions,
|
||||
updateParameters.transformState,
|
||||
updateParameters.scheduler,
|
||||
updateParameters.fileSource,
|
||||
scheduler,
|
||||
fileSource,
|
||||
updateParameters.mode,
|
||||
updateParameters.annotationManager,
|
||||
*imageManager,
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
|
||||
namespace mbgl {
|
||||
|
||||
class Scheduler;
|
||||
class FileSource;
|
||||
class AnnotationManager;
|
||||
|
||||
class UpdateParameters {
|
||||
@@ -34,8 +32,6 @@ public:
|
||||
const Immutable<std::vector<Immutable<style::Source::Impl>>> sources;
|
||||
const Immutable<std::vector<Immutable<style::Layer::Impl>>> layers;
|
||||
|
||||
Scheduler& scheduler;
|
||||
FileSource& fileSource;
|
||||
AnnotationManager& annotationManager;
|
||||
|
||||
const uint8_t prefetchZoomDelta;
|
||||
|
||||
Reference in New Issue
Block a user