[core] Move renderer/* files into sub-folders (#8983)

Move renderer/* files into sub-folders
This commit is contained in:
Asheem Mamoowala
2017-05-12 17:07:48 -07:00
committed by GitHub
parent 83d9226e4f
commit 84e39611a0
54 changed files with 123 additions and 117 deletions

View File

@@ -0,0 +1,28 @@
#include <mbgl/renderer/layers/render_custom_layer.hpp>
#include <mbgl/style/layers/custom_layer_impl.hpp>
#include <mbgl/renderer/bucket.hpp>
namespace mbgl {
RenderCustomLayer::RenderCustomLayer(Immutable<style::CustomLayer::Impl> _impl)
: RenderLayer(style::LayerType::Custom, _impl) {
}
const style::CustomLayer::Impl& RenderCustomLayer::impl() const {
return static_cast<const style::CustomLayer::Impl&>(*baseImpl);
}
void RenderCustomLayer::evaluate(const PropertyEvaluationParameters&) {
passes = RenderPass::Translucent;
}
bool RenderCustomLayer::hasTransition() const {
return false;
}
std::unique_ptr<Bucket> RenderCustomLayer::createBucket(const BucketParameters&, const std::vector<const RenderLayer*>&) const {
assert(false);
return nullptr;
}
} // namespace mbgl