Commit Graph
2599 Commits
Author SHA1 Message Date
BZLZHH 3fa6aa660c [Feat] (GL_Drawing): Add DrawElementsSHITTILY. Add SPIRV->GLSL ES conversion. 2025-05-05 10:04:35 +08:00
BZLZHH 31d2d62a59 [Fix] (VertexArrayState): Fix the absence of attrib enabling state after SetAttribPointer. 2025-05-05 02:25:16 +08:00
BZLZHH 74e3902951 [Fix] (ProgramState): Fix the uniform-type-changing error in UniformValue::setData. 2025-05-04 18:27:24 +08:00
BZLZHH 12649bf4d7 [Fix] (GLDefinitions): Fix wrong stub declarations of glClear(Color). 2025-05-04 11:49:54 +08:00
BZLZHH 1dddf294c9 [Docs] (README.md|PlannedFunctions.md): Update progress. 2025-05-04 02:31:30 +08:00
BZLZHH 0e7483bdd4 [Feat] (ProgramState): Implement more Global-GL-State functions.
- These functions were implemented:
  - glBlendFunc
  - glBlendFuncSeparate
  - glClear
  - glClearColor
  - glClearDepth
  - glColorMask
  - glDepthFunc
  - glDepthMask
  - glDisable
  - glEnable
  - glViewport
2025-05-04 02:09:25 +08:00
BZLZHH 16559291a3 [Docs] (README.md|PlannedFunctions.md): Update progress. 2025-05-04 01:18:55 +08:00
BZLZHH 30beaf6eb9 [Feat] (...): Add FramebufferState while implementing these gl functions. 2025-05-04 01:17:09 +08:00
BZLZHH 03c9531e7a [Docs] (README.md|PlannedFunctions.md): Update progress. 2025-05-03 23:02:44 +08:00
BZLZHH 383ec85400 [Feat] (ProgramState): Implement automatic GLSL uniform management.
- Add SPIRV-Cross/glslang integration for uniform reflection.
- Auto-detect and assign locations for uniforms/samplers.
- Support most types of uniform.
- Implement glUniform* functions with type safety.
- Add MG_Util::Program:
  - GLSL-SPIRV conversion
  - SPIRV uniform reflection
  - Program uniform dumping
2025-05-03 22:50:41 +08:00
BZLZHH dc5f74cdb9 [Docs] (README.md|PlannedFunctions.md): Update progress. 2025-05-03 02:26:05 +08:00
BZLZHH 00140d8b57 [Feat] (...): Add ProgramState while implementing these gl functions. Rename some functions in MG_State. 2025-05-03 02:26:03 +08:00
BZLZHH 282e2496da [Chore] (UncertainBool.hpp): Add UncertainBool class. 2025-05-03 02:26:01 +08:00
BZLZHH 0c7a2eff3a [Improvement] (VertexArrayState.cpp): Text "buffer"->"vertex array". 2025-05-02 02:56:40 +08:00
BZLZHH f550ca27c9 [Docs] (README.md|PlannedFunctions.md): Update progress. 2025-05-01 22:32:48 +08:00
BZLZHH 33104f699a [Feat] (...): Add BufferState and VertexBufferState while implementing these gl functions. 2025-05-01 22:20:34 +08:00
BZLZHH 369b9b320b [Improvement] (GL_Getter.*): Code improvement. 2025-05-01 22:18:48 +08:00
BZLZHH f1aad43a3c [Fix] (GL_Getter.cpp): Fix versionStr mistake in MG_GL::GetString. 2025-05-01 19:02:42 +08:00
BZLZHH b4b06315d1 [Chore] (GLState.cpp): Remove unused MG_State_O. 2025-05-01 10:30:22 +08:00
BZLZHH b4f7aefb99 [Refactor] (TextureState.*): Optimize code. 2025-05-01 10:19:50 +08:00
BZLZHH 04976daa9f [Refactor] (...): Optimize code file structure. 2025-05-01 09:22:50 +08:00
BZLZHH 8ab90e8e60 [Docs] (README.md|PlannedFunctions.md): Update progress. 2025-04-30 18:09:46 +08:00
BZLZHH cbff3d2714 [Improvement] (TextureState.cpp): Use memcpy rather than memmove in UpdateRegion2D. 2025-04-30 18:02:49 +08:00
BZLZHH c5c5172087 [Fix] (TextureState.cpp): Fix texture buffer allocation in UpdateRegion2D to prevent memmove crash. 2025-04-30 17:57:12 +08:00
BZLZHH e644efbe81 [Feat|Improvement] (...): (MG_State) Implement glPixelStorei. Optimize code. 2025-04-30 17:31:10 +08:00
BZLZHH e19df94ece [Perf] (TestDrawing.cpp): Improve DrawAllTextures. 2025-04-30 14:42:59 +08:00
BZLZHH 0a87addd36 [Chore] (BackendInfo.cpp|GL_Getter.cpp): Some text changes. 2025-04-30 14:25:29 +08:00
BZLZHH ff044910a2 [Chore] (CMakeLists.txt): Rename the project name to "MobileGL". 2025-04-30 14:02:05 +08:00
BZLZHH 553361b81a [Fix] (TestDrawing.cpp): Fix the wrong gl stub callings. 2025-04-28 11:34:29 +08:00
BZLZHH 0f21351658 [Fix] (TestDrawing.cpp): Fix the shader error. 2025-04-26 12:19:18 +08:00
BZLZHH 91fa9e2d01 [Feat] (...): Add GLES Backend. 2025-04-26 12:03:42 +08:00
BZLZHH adbadbba30 [Chore] (GLState.cpp): Remove unused MG_State_O. 2025-04-26 10:06:45 +08:00
BZLZHH 35fb42e595 [Docs] (README.md): Update progress. 2025-04-26 09:22:11 +08:00
BZLZHH 90edb96f5a [Docs] (README.md|PlannedFunctions.md): Update progress. 2025-04-04 23:25:52 +08:00
BZLZHH 41fefb8e54 [Feat] (...): Add global OpenGL state. Add gl texture state (almost complete for Minecraft) and implementation gl texture functions that Minecraft would use. Add gl error state. 2025-04-04 23:02:59 +08:00
BZLZHH c291f513ca [Chore] (GL_Common.cpp): Delete useless implement functions: glClear and glClearColor. 2025-04-04 22:57:55 +08:00
BZLZHH deb5320a3e [Docs] (README.md): Update Progress. 2025-04-04 15:22:07 +08:00
BZLZHH e813847173 [Improvement] (GL_getter.cpp): Make glGetStringi standard. 2025-04-04 11:28:18 +08:00
BZLZHH 9a61811db7 [Fix] (Debug.cpp): FIx the format mistake of log file. 2025-04-04 11:27:43 +08:00
BZLZHH 64df4f634f [Chore] (CMakeLists.txt): Complete CMakeLists.txt for MG_GL/GL. 2025-04-04 10:59:30 +08:00
BZLZHH 4f2e3f97be [Fix] (gl.h|doc.cpp): Fix the wrong operations that make all "Depth" into "Common". 2025-04-04 10:55:35 +08:00
BZLZHH d64eb04dd5 [Docs|Misc] (...): Add PlannedFunctions.md. Add more directories about these funcs. 2025-04-04 10:52:33 +08:00
BZLZHH c12e353c68 [Misc] (...): Define BACKEND_TYPE in Includes.h. Fix some compiling errors of GL_Common. 2025-04-04 09:32:27 +08:00
BZLZHH 6b102c67c3 [Chore] (EGL_EMU.*): Change EGL_EMU.* into VK/EGL_EMU.*. 2025-04-04 09:31:10 +08:00
BZLZHH 3ea184d187 [Chore] (TEMP_MESA): Delete unused TEMP_MESA. 2025-04-04 09:08:43 +08:00
BZLZHH 5af3057456 [Feat|Fix] (...): Emulate EGL. Emulate glClear and glClearColor.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-30 12:07:14 +08:00
BZLZHH 8374a88731 [Docs|Improvement] (...): Add LICENSE and README.md. Modify some texts.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-23 08:49:50 +08:00
BZLZHH a60bc2644d [Improvement] (...): Log more info.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-15 20:49:39 +08:00
BZLZHH e9d5caab2a Initial Commit: MobileGL
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-15 19:30:03 +08:00