[Feat] (MG_Backend/DirectVulkan): Basic Vulkan renderer and EGL impl for Vulkan.

This commit is contained in:
BZLZHH
2026-01-31 22:51:24 +08:00
parent 4769a9cf7b
commit 00679642d6
19 changed files with 1253 additions and 13 deletions
@@ -0,0 +1,11 @@
#include "DirectVulkan.h"
namespace MobileGL::MG_Backend::DirectVulkan {
UniquePtr<VulkanRenderer> pVulkanRenderer = nullptr;
void Clear(GLbitfield mask) {}
void DrawElements(GLenum mode, GLsizei count, GLenum type, const void* indices) {
pVulkanRenderer->RenderFrame();
}
} // namespace MobileGL::MG_Backend::DirectVulkan