mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 13:48:30 +09:00
[Feat] (...): Add GLES Backend.
This commit is contained in:
+15
-3
@@ -3,8 +3,11 @@
|
||||
//
|
||||
|
||||
#include "Constants.h"
|
||||
#define BACKEND_TYPE BACKEND_VULKAN
|
||||
#define BACKEND_TYPE BACKEND_GLES
|
||||
#include "Global.h"
|
||||
#ifndef MOBILEGL_GLES_LOADER_H
|
||||
#include "MG_GL/BackendLoader/GLES/Loader.h"
|
||||
#endif
|
||||
#ifndef MOBILEGL_GL_FRAMEBUFFER_H
|
||||
#include "MG_GL/GL/Framebuffer/GL_Framebuffer.h"
|
||||
#endif
|
||||
@@ -17,8 +20,8 @@
|
||||
#ifndef MOBILEGL_GL_BUFFER_H
|
||||
#include "MG_GL/GL/Buffer/GL_Buffer.h"
|
||||
#endif
|
||||
#ifndef MOBILEGL_GL_COMMAND_H
|
||||
#include "MG_GL/GL/Command/GL_Command.h"
|
||||
#ifndef MOBILEGL_GL_DRAWING_H
|
||||
#include "MG_GL/GL/Drawing/GL_Drawing.h"
|
||||
#endif
|
||||
#ifndef MOBILEGL_GL_PROGRAM_H
|
||||
#include "MG_GL/GL/Program/GL_Program.h"
|
||||
@@ -50,6 +53,12 @@
|
||||
#ifndef MOBILEGL_EGL_VK_EMU_H
|
||||
#include "MG_GL/EGL/VK/EGL_EMU.h"
|
||||
#endif
|
||||
#ifndef MOBILEGL_EGL_GLES_EGL_WRAP_H
|
||||
#include "MG_GL/EGL/GLES/EGL_WRAP.h"
|
||||
#endif
|
||||
#ifndef MOBILEGL_TESTDRAWING_H
|
||||
#include "MG_RHI/GLES/Test/TestDrawing.h"
|
||||
#endif
|
||||
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
@@ -77,6 +86,9 @@
|
||||
#include <glslang/Public/ShaderLang.h>
|
||||
#include <spirv_cross/spirv_cross_c.h>
|
||||
#include <glslang/SPIRV/GlslangToSpv.h>
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
#include <glm/glm.hpp>
|
||||
#include "GLES/gl32.h"
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include <android/log.h>
|
||||
|
||||
Reference in New Issue
Block a user