swung0x48
2597a184f0
[Fix] (MG_Backend/DirectGLES): sync more states at Clear()
2025-10-28 13:45:05 +08:00
swung0x48
de78e423fd
[Fix] (MG_State/GL_Texture): take GL_UNPACK_SKIP_PIXELS and GL_UNPACK_SKIP_ROWS into account
2025-10-28 12:13:46 +08:00
swung0x48
7151080a67
[Fix] (Types, GL_Texture): Memcpy insanity, proxy texture fix
2025-10-28 11:49:08 +08:00
swung0x48
bd01e4f99d
[Fix] (MG_Util/TextureMetrics, MG_State/Texture): reimplement TextureMetrics, attempting to fix glTexSubImage2D
2025-10-28 10:17:56 +08:00
swung0x48
507476d513
[Feat] (MG_Backend/DirectGLES): sync PBO
2025-10-27 17:00:42 +08:00
swung0x48
56c6d73185
[Feat] (MG_State/ProgramObject, MG_Backend/DirectGLES): bind texture to uniform in backend
2025-10-27 15:45:36 +08:00
swung0x48
460b7a6eb3
[Chore] (MG_Backend/DirectGLES/Manager): log backend glGetError on failure
2025-10-27 14:25:31 +08:00
swung0x48
9883ab47fa
Merge branch 'dev' into Feat/Backend-Direct-GLES
2025-10-27 13:42:31 +08:00
swung0x48
5b3d5c998a
[Feat] (MG_State/ProgramObject, MG_State/GL_Program): implement sampler unit in program state
2025-10-27 13:17:42 +08:00
swung0x48
8e5cc46577
[Chore] (MG_State/ProgramObject): directly use TProgram for reflection
2025-10-27 12:59:55 +08:00
BZLZHH
e31f3b8057
Merge branch 'dev' into Feat/Backend-Direct-GLES
2025-10-27 12:06:51 +08:00
BZLZHH
47ea1788db
[Chore] (All): Format code.
2025-10-27 12:03:05 +08:00
BZLZHH
ea9fc4dbe8
[Improvement] (MG_Backend/DirectGLES): Remove unused code.
2025-10-27 12:01:04 +08:00
swung0x48
034aeb9b12
[Fix] (MG_State/GL_Program): wrong guard condition in Uniformv_State
2025-10-27 11:20:23 +08:00
swung0x48
5e5d0f3dbe
[Feat] (MG_Test/Program): add test for real shader (Minecraft position_tex)
2025-10-27 10:53:06 +08:00
swung0x48
d73bd5dcd2
[Fix] (MG_State/ProgramObject): Properly allocate location for location-not-explicitly-defined uniforms
2025-10-27 10:51:41 +08:00
swung0x48
b91f180c7b
[Fix]: fix compilation on Windows again
2025-10-26 23:06:28 +08:00
swung0x48
f951f0451f
[Chore] (MG_Test/ProgramTest): add more checks to ProgramTest
2025-10-26 23:00:48 +08:00
swung0x48
63295b5493
[Chore]: fix compilation on Windows
2025-10-26 22:43:42 +08:00
BZLZHH
5da6a0e05e
[Fix] (MG_Backend/DirectGLES): Actually compile shader and use.
...
* TODO: remove junk code.
2025-10-26 11:43:10 +08:00
BZLZHH
b8d8188239
[Improvement] (MG_Backend/DirectGLES): Make most stuff const auto&
2025-10-26 09:56:56 +08:00
BZLZHH
d90e35d630
[Fix] (MG_Backend/DirectGLES): Fix wrong buffer data in sync.
2025-10-26 09:50:05 +08:00
BZLZHH
21d659214f
[Fix] (MG_Backend/DirectGLES): Fix default FBO.
2025-10-26 09:25:17 +08:00
BZLZHH
60129e1a61
[Fix] (MG_Backend/DirectGLES): Bind current state.
2025-10-19 12:28:15 +08:00
BZLZHH
6423a32a2e
[Fix] (MG_Backend/DirectGLES|MG_State/BufferState): Fix crash.
2025-10-19 12:04:45 +08:00
BZLZHH
93a0bbaed8
[Feat] (MG_Backend/DirectGLES): Implement basic stuff for DirectGLES backend.
2025-10-19 11:47:44 +08:00
BZLZHH
ef2221659a
[Misc] (MG_Impl/Drawing): Test glClear in backend.
2025-10-06 16:21:02 +08:00
BZLZHH
bd1056f9c9
[Feat|Fix] (...): Add/Fix lots of stuff, being able not to crash in MC.
2025-10-06 16:08:35 +08:00
BZLZHH
e37dedb72d
[Feat] (...): Basic ability to load GLES/EGL.
2025-10-06 11:47:27 +08:00
BZLZHH
7275df3d60
[Chore] (MG_Backend/Backends): Rename MG-Dir-GLES to Espryt.
2025-10-06 10:32:15 +08:00
BZLZHH
5e42d15c61
[Feat] (MG_Util/BackendLoaders): Add GLES/EGL backend loader.
2025-10-06 01:32:55 +08:00
BZLZHH
bcb02fe5e6
[Chore] (MG_Backend/Backends): Add DirectGLES and use. Rename renderer names of Diligent ones.
2025-10-06 01:06:50 +08:00
BZLZHH
834a40247c
[Chore] (Workflows): Run on branch .
2025-10-06 00:14:58 +08:00
BZLZHH
e77b01ac84
[Feat] (MG_Impl/RenderState): Implement some RenderState GL functions.
2025-10-03 13:16:42 +08:00
BZLZHH
f7df90447b
[Feat] (MG_Util/Converters): Implement converters related to RenderState enum.
2025-10-03 12:45:52 +08:00
BZLZHH
30d4964a5e
[Improvement] (MG_State/RenderState): Remove redundant cullFaceEnabled setter/getter.
2025-10-03 12:25:36 +08:00
BZLZHH
1e2922faa5
[Fix] (MG_Impl/GLImpl): Fix missing header file in Exporting.h
2025-10-02 23:53:56 +08:00
BZLZHH
4a303184e4
[Feat] (MG_Impl/Framebuffer): Implement essential framebuffer functions.
2025-10-02 23:42:14 +08:00
BZLZHH
e2e7ee93db
[Fix] (MG_Util/Converters): Fix incorrect functions in MGToGL/FramebufferEnumConverter.cpp
2025-10-02 22:47:33 +08:00
BZLZHH
87f487c3aa
[Feat] (MG_Util/Converters): Implement converters related to framebuffer enum.
2025-10-02 22:30:17 +08:00
BZLZHH
3ba1842758
[Fix] (MG_State/FramebufferState): Fix missing functions.
2025-10-02 21:44:11 +08:00
BZLZHH
d6b54f8e30
[Feat] (MG_State/FramebufferState): Implement FramebufferAttachment, FramebufferObject and FramebufferState.
2025-10-02 21:27:33 +08:00
BZLZHH
776e1d99cf
[Feat] (MG_State/TextureState): Implement TextureObjectBase::IsComplete.
2025-10-02 20:22:12 +08:00
BZLZHH
ee971306ca
[Misc] (All): Run format_code.sh
2025-10-02 15:11:38 +08:00
BZLZHH
69fe996e15
[Feat] (Scripts): Introduce format_code.sh
2025-10-02 15:10:21 +08:00
BZLZHH
14415d42a9
[Fix] (MG_Test/VertexArrayTest): Fix incorrect check in General_BindWithoutCreation.
2025-10-02 14:39:49 +08:00
BZLZHH
000a2ba3a7
[Perf] (MG_Util/Misc): Reimplement IndexGenerator.
2025-10-02 14:22:03 +08:00
BZLZHH
19a965c1ef
[Improvement] (MG_Util/Types): Use FastSTL::unordered_map as the default implementation.
2025-10-02 11:11:35 +08:00
BZLZHH
968d645d17
[Chore] (FastSTL): Add FastSTL as submodule.
2025-10-02 10:55:16 +08:00
BZLZHH
f865d231d0
[Chore] (MG_Backend/Backends): Upgrade target OpenGL version to 3.3
...
* This is to align target OpenGL version with Minecraft 25w37a, which raised the minimum required OpenGL version to 3.3
* With this upgrade, the following features become part of the project's possible implementation scope:
- Sampler Objects (ARB_sampler_objects)
- Instanced arrays (ARB_instanced_arrays)
- Explicit attribute locations (ARB_explicit_attrib_location)
- Dual-source blending (ARB_blend_func_extended)
- Timer queries (ARB_timer_query)
* These capabilities may be leveraged in future work depending on project needs
2025-09-14 07:47:33 +08:00