Commit Graph
39 Commits
Author SHA1 Message Date
swung0x48 fcd52a9177 [Fix] (MG_Util/ShaderCompiler): make glslang don't emit demote to replace discard 2025-08-08 10:30:25 +08:00
swung0x48 38c0a54fcc [Feat] (MG_Util/ShaderTranspiler): separate SpvcSession 2025-08-07 12:53:51 +08:00
swung0x48 70d66d320f [Fix] (MG_Util/Debug): pthread_getname_np also works on __APPLE__ 2025-08-06 21:09:45 +08:00
swung0x48 548263279e [Feat] (MG_Util/ShaderTranspiler): POC to query member offsets from UBO 2025-08-06 17:14:01 +08:00
BZLZHH 3d18e702b0 [Fix] (MG_State/BufferState, VertexArrayState): Correct IBO binding slot. 2025-08-03 18:56:50 +08:00
swung0x48 972a4efed1 Revert "[Chore] (MG_Util/Program): use SPIRV-Cross C++ API instead of C ones"
This reverts commit 8e0284faec.
2025-08-02 18:01:36 +08:00
swung0x48 8e0284faec [Chore] (MG_Util/Program): use SPIRV-Cross C++ API instead of C ones 2025-08-02 12:25:08 +08:00
BZLZHH 47f7039720 [Feat] (All): Continue building the basic structure.
Feat: implement MG_Impl/VertexArray
Feat: add tests about MG_Impl/VertexArray
Feat: add several converters
Feat: implement IsBuffer
2025-07-25 21:36:14 +08:00
BZLZHH 5962499147 [Improvement] (MG_Util/Misc): Replace byte array with 64-bit bitmap in IndexGenerator. 2025-07-25 12:40:38 +08:00
BZLZHH e79a2fa809 [Feat|Fix|Improvement] (All): Continue building the basic structure.
Feat: implement MG_Impl/Buffer
Feat: implement MG_State/ErrorState and integrate it into MG_State/GLContext
Feat: add buffer deletion management
Feat: introduce `INSERTION_POINT` (https://github.com/MobileGL-Dev/MobileGLCodeManager)
Feat: add tests about MG_Impl/Buffer and buffer deletion feature
Feat: add several converters
Fix: fix some compiling errors
Fix: fix some incorrect behaviors in MG_State/Buffer
Improvement: remove some current statements at the beginning of the source file, which will be added uniformly soon
Improvement: optimize some naming
2025-07-23 23:04:36 +08:00
swung0x48 d317f7f99b [Chore] (MG_Util/Program): auto generate ubo for plain GL uniforms 2025-07-22 13:03:06 +08:00
swung0x48 fa82c9b964 [Chore] (MG_Util/Program): SpvcSession rule-of-three? 2025-07-21 22:44:02 +08:00
swung0x48 01e71d7b5f [Chore] (MG_Util/Program): wraps spirv-cross-c 2025-07-21 21:39:04 +08:00
swung0x48 cb59412fd9 [Chore] (MG_Util/Program): test in/out linkage across stages 2025-07-21 17:40:16 +08:00
swung0x48 4dfbb789be [Chore] (MG_Util/Program): get rid of junk 2025-07-21 14:45:19 +08:00
swung0x48 1ad2513700 [Fix] (MG_Util/Program): program linking 2025-07-21 14:37:32 +08:00
swung0x48 bb396f8651 [Fix] (MG_Util/Program): fix sampler extraction 2025-07-21 11:11:26 +08:00
swung0x48 0afe4c4acb [Fix] (MG_Util/Program): fix UniformTraverser and add test for it 2025-07-21 10:47:05 +08:00
swung0x48 f1ae8f0353 [Chore] (MG_Test/Program/CMakeLists.txt): tests compile on windows 2025-07-21 09:16:14 +08:00
swung0x48 18675f72f3 [Feat] (MG_Util/ShaderTranspiler): Implement simple shader compile 2025-07-20 19:54:29 +08:00
BZLZHH 0388cd316b Merge remote-tracking branch 'origin/Feat/Rewriting' into Feat/Rewriting 2025-07-20 15:41:38 +08:00
BZLZHH bd2c5e1ebc [Improvement] (MG_Utils): Improve performance in IndexGenerator. 2025-07-20 15:33:55 +08:00
BZLZHH 6c920ce5dc [Feat|Fix] (MG_State/BufferState): Implement more functions.
Implemented:
    BufferObject: ReleaseMemory, FlushMemoryRange, UploadSubData, CopyDataFrom, ClearDirty

Fixed:
    BufferObject: AcquireMemory, AcquireMemoryRange
    Range1D: UnionUpdate
2025-07-20 02:30:53 +08:00
swung0x48 16697b8c2b [Fix] (MG_State/Buffer): pass PingPong test 2025-07-19 22:00:01 +08:00
swung0x48 ba485e4adc [Fix] (MG_Util/Program): use std::string instead of to_string 2025-07-19 21:32:47 +08:00
swung0x48 0d73120d15 [Feat] (MG_State/Buffer): separate UploadData() into Resize()+UploadData() 2025-07-18 10:01:40 +08:00
swung0x48 99eaf317ba [Feat] (Range1D): IntersectionUpdate 2025-07-17 23:09:24 +08:00
swung0x48 3f0a99d272 [Fix] (MG_State/Buffer): fix some typo 2025-07-17 22:46:16 +08:00
swung0x48 6de362cd1c [Fix] (Types.h): add typename specifier 2025-07-17 22:04:37 +08:00
BZLZHH ea64124963 [Feat] (MG_State/GLState): Implement BufferState. 2025-07-17 13:21:28 +08:00
BZLZHH 9ceff83c91 Merge remote-tracking branch 'origin/Feat/Rewriting' into Feat/Rewriting
# Conflicts:
#	CMakeLists.txt
#	MobileGL/Includes.h
2025-07-16 17:55:16 +08:00
BZLZHH 62be9fed93 [Feat] (MG_State/GLState): Implement BufferObject. 2025-07-16 17:51:42 +08:00
swung0x48 1d40f89dfe [Feat] (MG_Util/Compiler): shader compiler WIP 2 2025-07-16 17:25:49 +08:00
BZLZHH 1ee6a1349c [Fix] (MG_Impl/GL): Correct GL_SHADING_LANGUAGE_VERSION in glGet. 2025-07-16 12:43:05 +08:00
swung0x48 ea30e0ee92 [Feat] (MG_Util/Compiler): shader compiler WIP 2025-07-13 21:14:18 +08:00
swung0x48 d6bdd6854f [Misc] (include): add missing headers in glslang 2025-07-13 09:13:06 +08:00
BZLZHH 9194e1c97f [Feat] (All): Continue building the basic structure. 2025-07-12 20:29:20 +08:00
BZLZHH 9542512209 [Feat] (MG_Util/Converter): Implement ConvertGLEnumToString. 2025-07-12 15:42:59 +08:00
BZLZHH b76c23429f [Feat] (All): Implement init, log and other related components. 2025-07-11 18:09:45 +08:00