BZLZHH
2b5b4c5008
[Misc] (Getter): Set GL_MAX_TEXTURE_SIZE to 65535.
2025-05-16 16:55:04 +08:00
BZLZHH
ae980326e7
Merge branch 'feat/dev-es-renaming' into feat/dev-es-shittily-draw
2025-05-16 16:37:29 +08:00
BZLZHH
06a79f2fc4
[Fix] (ShittilyDrawing): Ensure proper VBO binding when syncing VAO attributes.
2025-05-16 16:16:02 +08:00
BZLZHH
80a077acdf
[Feat] (ShittilyDrawing): Implement TexParamCache.
2025-05-16 16:03:56 +08:00
BZLZHH
9a692a7845
[Feat] (BufferState): Implement glDeleteBuffers.
2025-05-16 13:34:24 +08:00
swung0x48
7fdf31c782
[Misc] poking around...attempting to fix vbo problem but no avail
2025-05-11 22:59:26 +08:00
BZLZHH
d0b8777249
[Feat] (VertexArray): Implement renaming for VAO.
2025-05-11 09:32:11 +08:00
BZLZHH
ba339ca182
[Fix] (DrawElementsSHITTILY): Disable bufferObj.dataValid check now.
2025-05-11 09:30:32 +08:00
swung0x48
f36c322d86
[Optimization] (GL_Drawing): skipping VAO gen, improving perf?
2025-05-10 18:47:23 +08:00
swung0x48
614c5f7324
[Fix] (BufferState, GL_Drawing): mark dirty buffers
2025-05-08 21:40:48 +08:00
swung0x48
5142f3c72b
[Fix] (TextureState, GL_Drawing): mark dirty textures to skip uploading unmodified ones
2025-05-08 20:57:16 +08:00
swung0x48
c52e28cc7a
[Fix] (TextureState): fix a horrible performance bug
2025-05-08 20:36:03 +08:00
swung0x48
1953dd60bf
[Optimization] (GL_Drawing): kinda fix SyncAllTexturesToGLES, getting main menu to work
2025-05-08 17:14:42 +08:00
swung0x48
40cf5a1ebb
[Optimization] (TextureState): block memcpy
2025-05-08 16:07:17 +08:00
swung0x48
d33fb15ada
[Feat] using unordered_dense somewhere...
2025-05-08 10:00:44 +08:00
swung0x48
3edb48d5fc
[Misc]: add ankerl/unordered_dense
2025-05-08 09:49:09 +08:00
swung0x48
f98f877e07
[Fix] (GL_Drawing.cpp): realize glBindAttribLocation, and other misc fixes
2025-05-07 23:25:46 +08:00
swung0x48
a50856dea0
[buildsystem] (build.gradle): add gradle file
2025-05-07 20:38:43 +08:00
swung0x48
fc0396705f
[Feat] NormalizePixelFormat
2025-05-07 17:44:37 +08:00
swung0x48
d1eb029671
[Fix] some format quirk
2025-05-07 17:15:50 +08:00
swung0x48
a17497522a
[Misc] more GLenum to string
2025-05-07 16:22:08 +08:00
swung0x48
6c1d1e0e7a
[Feat] implement renaming for buffer
2025-05-07 15:38:30 +08:00
swung0x48
bb45906189
[Feat] implement glBlitFramebuffer, making things start to render
2025-05-07 13:33:29 +08:00
BZLZHH
0d7b342a2e
[Docs] (README): Fix the wrong Minecraft version.
2025-05-05 10:45:19 +08:00
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