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:
Bart Louwers
2026-08-14 23:25:20 +02:00
committed by GitHub
parent 836b862984
commit 550f64be22
1970 changed files with 8931 additions and 8967 deletions

View File

@@ -16,7 +16,7 @@
#include <mbgl/map/mode.hpp>
namespace mbgl {
namespace mln {
bool operator==(const SegmentBase& lhs, const SegmentBase& rhs) {
return std::tie(lhs.vertexOffset, lhs.indexOffset, lhs.vertexLength, lhs.indexLength) ==
@@ -33,9 +33,9 @@ bool operator==(const VertexType<A1, A2>& lhs, const VertexType<A1, A2>& rhs) {
} // namespace detail
} // namespace gfx
} // namespace mbgl
} // namespace mln
using namespace mbgl;
using namespace mln;
namespace {

View File

@@ -19,9 +19,9 @@
#include <mbgl/util/mat4.hpp>
#include <mbgl/util/run_loop.hpp>
using namespace mbgl;
using namespace mbgl::style;
using namespace mbgl::platform;
using namespace mln;
using namespace mln::style;
using namespace mln::platform;
static const GLchar* vertexShaderSource = R"MBGL_SHADER(
#ifdef GL_ES

View File

@@ -6,9 +6,9 @@
#include <mbgl/gl/enum.hpp>
#include <mbgl/test/util.hpp>
using namespace mbgl;
using namespace mbgl::gfx;
using namespace mbgl::gl;
using namespace mln;
using namespace mln::gfx;
using namespace mln::gl;
TEST(GL, DrawModeType) {
ASSERT_EQ(GL_POINTS, Enum<DrawModeType>::to(DrawModeType::Points));

View File

@@ -4,7 +4,7 @@
#include <mbgl/platform/gl_functions.hpp>
using namespace mbgl::platform;
using namespace mln::platform;
TEST(GLFunctions, OpenGLES) {
/* OpenGL ES 2.0 */

View File

@@ -7,7 +7,7 @@
#include <memory>
using namespace mbgl;
using namespace mln;
namespace {

View File

@@ -8,7 +8,7 @@
#include <mbgl/gl/headless_backend.hpp>
#include <mbgl/gl/context.hpp>
using namespace mbgl;
using namespace mln;
namespace {