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

@@ -4,7 +4,7 @@
#include <GLES3/gl3.h>
namespace mbgl {
namespace mln {
namespace platform {
/* OpenGL ES 2.0 */
@@ -279,4 +279,4 @@ void (*const glTexStorage3D)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei)
void (*const glGetInternalformativ)(GLenum, GLenum, GLenum, GLsizei, GLint*) = ::glGetInternalformativ;
} // namespace platform
} // namespace mbgl
} // namespace mln

View File

@@ -9,7 +9,7 @@
#include <memory>
#include <sstream>
namespace mbgl {
namespace mln {
namespace gl {
// This class provides a singleton that contains information about the
@@ -34,8 +34,8 @@ public:
}
if (!eglBindAPI(EGL_OPENGL_ES_API)) {
mbgl::Log::Error(mbgl::Event::OpenGL,
"eglBindAPI(EGL_OPENGL_ES_API) returned error " + std::to_string(eglGetError()));
mln::Log::Error(mln::Event::OpenGL,
"eglBindAPI(EGL_OPENGL_ES_API) returned error " + std::to_string(eglGetError()));
throw std::runtime_error("eglBindAPI() failed");
}
@@ -75,7 +75,7 @@ public:
if (eglContext == EGL_NO_CONTEXT) {
std::ostringstream logMsg;
logMsg << "eglCreateContext() returned error 0x" << std::hex << eglGetError();
mbgl::Log::Error(mbgl::Event::OpenGL, logMsg.str());
mln::Log::Error(mln::Event::OpenGL, logMsg.str());
throw std::runtime_error("Error creating the EGL context object.\n");
}
@@ -130,4 +130,4 @@ void HeadlessBackend::createImpl() {
}
} // namespace gl
} // namespace mbgl
} // namespace mln

View File

@@ -13,7 +13,7 @@
#include <GL/glx.h>
namespace mbgl {
namespace mln {
namespace gl {
// This class provides a singleton that contains information about the
@@ -147,4 +147,4 @@ void HeadlessBackend::createImpl() {
}
} // namespace gl
} // namespace mbgl
} // namespace mln