blob: d5ac443e1c99392b233e0bb155fd09ae9a27b947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <mbgl/renderer/sources/render_tile_source.hpp>
#include <mbgl/renderer/tile_pyramid.hpp>
#include <mbgl/style/sources/vector_source_impl.hpp>
namespace mbgl {
class RenderVectorSource final : public RenderTileSource {
public:
explicit RenderVectorSource(Immutable<style::VectorSource::Impl>);
void update(Immutable<style::Source::Impl>,
const std::vector<Immutable<style::LayerProperties>>&,
bool needsRendering,
bool needsRelayout,
const TileParameters&) final;
private:
const style::VectorSource::Impl& impl() const;
optional<Tileset> tileset;
};
} // namespace mbgl
|