[Feat|Fix] (MG_State/EGLState|MG_Backend|MG_Impl/EGLImpl): Initial implemention of EGL API.

This commit is contained in:
BZLZHH
2026-02-22 18:22:21 +08:00
parent bd8bc1e251
commit d22d2d64f2
13 changed files with 2125 additions and 108 deletions
+2
View File
@@ -8,12 +8,14 @@
#include "Core.h"
#include "MG_State/GLState/RenderbufferState/RenderbufferObject.h"
#include "MG_State/EGLState/Core.h"
namespace MobileGL {
namespace MG_State {
void Init() {
MGLOG_D("Initializing MobileGL State...");
pGLContext = new MG_State::GLState::GLContext();
pEGLContext = new MG_State::EGLState::EGLContext();
}
namespace GLState {