Vulkan renderer backend (#2564)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
Adrian Cojocaru
2024-08-01 22:49:49 +03:00
committed by GitHub
parent 88993b9420
commit 072aa32e8b
103 changed files with 11459 additions and 135 deletions

View File

@@ -46,6 +46,10 @@
#define GLFW_INCLUDE_ES3
#endif
#if MLN_RENDER_BACKEND_VULKAN
#define GLFW_INCLUDE_VULKAN
#endif
#define GL_GLEXT_PROTOTYPES
#include <GLFW/glfw3.h>
@@ -1104,7 +1108,7 @@ void GLFWView::report(float duration) {
std::ostringstream oss;
oss.precision(2);
oss << "Frame time: " << std::fixed << frameTime << "ms (" << 1000 / frameTime << "fps)";
mbgl::Log::Info(mbgl::Event::OpenGL, oss.str());
mbgl::Log::Info(mbgl::Event::Render, oss.str());
frames = 0;
frameTime = 0;