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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user