core: rename mbgl namespace to mln (#4487)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class Context;
|
||||
@@ -89,4 +89,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <mbgl/util/containers.hpp>
|
||||
#include <mbgl/vulkan/renderer_backend.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace gfx {
|
||||
class Renderable;
|
||||
} // namespace gfx
|
||||
@@ -43,4 +43,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
|
||||
class ProgramParameters;
|
||||
class RenderStaticData;
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
const std::string_view vertex,
|
||||
const std::string_view fragment,
|
||||
const ProgramParameters& programParameters,
|
||||
const mbgl::unordered_map<std::string, std::string>& additionalDefines);
|
||||
const mln::unordered_map<std::string, std::string>& additionalDefines);
|
||||
|
||||
/// Called at the end of a frame.
|
||||
void performCleanup() override;
|
||||
@@ -220,4 +220,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <span>
|
||||
#include <queue>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class CommandEncoder;
|
||||
@@ -101,4 +101,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
|
||||
namespace gfx {
|
||||
|
||||
@@ -70,4 +70,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <mbgl/gfx/drawable_builder.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
/**
|
||||
@@ -25,4 +25,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#define DYNAMIC_TEXTURE_VULKAN_MULTITHREADED_UPLOAD 0
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class Context;
|
||||
@@ -41,4 +41,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <mbgl/gfx/index_buffer.hpp>
|
||||
#include <mbgl/vulkan/buffer_resource.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class IndexBufferResource : public gfx::IndexBufferResource {
|
||||
@@ -25,4 +25,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <mbgl/renderer/layer_group.hpp>
|
||||
#include <mbgl/vulkan/uniform_buffer.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
|
||||
class PaintParameters;
|
||||
|
||||
@@ -14,7 +14,7 @@ class Context;
|
||||
/**
|
||||
A layer group for non-tile-based drawables
|
||||
*/
|
||||
class LayerGroup : public mbgl::LayerGroup {
|
||||
class LayerGroup : public mln::LayerGroup {
|
||||
public:
|
||||
LayerGroup(int32_t layerIndex, std::size_t initialCapacity, std::string name);
|
||||
~LayerGroup() override {}
|
||||
@@ -30,4 +30,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <mbgl/gfx/offscreen_texture.hpp>
|
||||
#include <mbgl/gfx/types.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class Context;
|
||||
@@ -20,4 +20,4 @@ public:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <mbgl/gfx/stencil_mode.hpp>
|
||||
#include <mbgl/gfx/scissor_rect.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class PipelineInfo final {
|
||||
@@ -95,4 +95,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class BufferResource;
|
||||
@@ -35,4 +35,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <mbgl/vulkan/renderer_backend.hpp>
|
||||
#include <mbgl/vulkan/texture2d.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class Context;
|
||||
@@ -120,4 +120,4 @@ public:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
// #define ENABLE_VMA_DEBUG
|
||||
#endif
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
|
||||
class ProgramParameters;
|
||||
|
||||
@@ -130,4 +130,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class Context;
|
||||
@@ -143,4 +143,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <optional>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
|
||||
class PaintParameters;
|
||||
|
||||
@@ -16,7 +16,7 @@ class RenderPass;
|
||||
/**
|
||||
A layer group for tile-based drawables
|
||||
*/
|
||||
class TileLayerGroup : public mbgl::TileLayerGroup {
|
||||
class TileLayerGroup : public mln::TileLayerGroup {
|
||||
public:
|
||||
TileLayerGroup(int32_t layerIndex, std::size_t initialCapacity, std::string name);
|
||||
~TileLayerGroup() override {}
|
||||
@@ -32,4 +32,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <mbgl/vulkan/buffer_resource.hpp>
|
||||
#include <mbgl/vulkan/descriptor_set.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class UniformBuffer final : public gfx::UniformBuffer {
|
||||
@@ -85,4 +85,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace gfx {
|
||||
|
||||
class CommandEncoder;
|
||||
@@ -80,4 +80,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <mbgl/gfx/types.hpp>
|
||||
#include <mbgl/gfx/vertex_attribute.hpp>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace gfx {
|
||||
class VertexBufferResource;
|
||||
} // namespace gfx
|
||||
@@ -55,4 +55,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace mbgl {
|
||||
namespace mln {
|
||||
namespace vulkan {
|
||||
|
||||
class VertexBufferResource : public gfx::VertexBufferResource {
|
||||
@@ -32,4 +32,4 @@ protected:
|
||||
using UniqueVertexBufferResource = std::unique_ptr<VertexBufferResource>;
|
||||
|
||||
} // namespace vulkan
|
||||
} // namespace mbgl
|
||||
} // namespace mln
|
||||
|
||||
Reference in New Issue
Block a user