[core] Use style::LayerProperties in render layers, buckets and layouts.

This commit is contained in:
Mikhail Pozdnyakov
2019-04-01 11:29:28 +03:00
parent 1a66a02097
commit 4b21560cf5
59 changed files with 384 additions and 458 deletions

View File

@@ -10,8 +10,9 @@ namespace mbgl {
using namespace style;
RenderLayer::RenderLayer(Immutable<style::Layer::Impl> baseImpl_)
: baseImpl(std::move(baseImpl_)) {
RenderLayer::RenderLayer(Immutable<style::LayerProperties> properties)
: evaluatedProperties(std::move(properties)),
baseImpl(evaluatedProperties->baseImpl) {
}
void RenderLayer::setImpl(Immutable<style::Layer::Impl> impl) {