[core] Rationalize naming for style-related code

This commit is contained in:
John Firebaugh
2016-04-26 16:39:56 -07:00
parent 18149cbcc2
commit c902f9098b
156 changed files with 1079 additions and 805 deletions

View File

@@ -0,0 +1,28 @@
#include <mbgl/style/layers/raster_layer_impl.hpp>
#include <mbgl/renderer/bucket.hpp>
namespace mbgl {
namespace style {
void RasterLayer::Impl::parsePaints(const JSValue& layer) {
paint.parse(layer);
}
void RasterLayer::Impl::cascade(const CascadeParameters& parameters) {
paint.cascade(parameters);
}
bool RasterLayer::Impl::recalculate(const CalculationParameters& parameters) {
bool hasTransitions = paint.recalculate(parameters);
passes = paint.rasterOpacity > 0 ? RenderPass::Translucent : RenderPass::None;
return hasTransitions;
}
std::unique_ptr<Bucket> RasterLayer::Impl::createBucket(BucketParameters&) const {
return nullptr;
}
} // namespace style
} // namespace mbgl