BZLZHH
a696fb2350
[Fix] (MG_Impl/Buffer): Fix incorrect return outside if.
2025-08-05 18:58:26 +08:00
BZLZHH
e8af08aff0
[Chore] (gitignore): Ignore Visual Studio Code directory.
2025-08-05 18:35:35 +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
26a9cafcb8
[Fix] (MG_Test): Fix compiling error.
2025-07-25 21:42:15 +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
e7a21423da
[Feat] (MG_State/VertexArrayState): Add IsInteger in attribute.
2025-07-25 19:28:40 +08:00
BZLZHH
17bd9801e0
[Fix] (MG_Test/BufferTest): Fix compiling error.
2025-07-25 17:02:59 +08:00
BZLZHH
6b66608354
[Feat] (MG_Test/VertexArrayTest): Implement VertexArrayTest.
2025-07-25 16:53:10 +08:00
BZLZHH
4154d3f4ee
[Feat] (MG_State/VertexArrayState): Implement VertexArrayState.
2025-07-25 16:52:38 +08:00
BZLZHH
fc9018f97c
[Misc] (MG_State/Buffer): Separate BufferState.cpp into 2 files.
2025-07-25 14:06:51 +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
BZLZHH
06804d94f8
[Chore] (CMakeLists): Remove removed files.
2025-07-22 15:08:18 +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
97a951fabb
[Chore] (MG_Test/Program/CMakeLists.txt): fix compilation on macOS
2025-07-21 20:18:57 +08:00
swung0x48
bbd05fe8aa
[Chore] (MG_Util/Program): test uniform linkage across stages
2025-07-21 17:51:06 +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
0dfd535c40
[Chore] (MG_Test/Program/CMakeLists.txt): use debug library on debug
2025-07-21 10:05:38 +08:00
swung0x48
f1ae8f0353
[Chore] (MG_Test/Program/CMakeLists.txt): tests compile on windows
2025-07-21 09:16:14 +08:00
swung0x48
4c9f0c5399
[Chore] (Include.h): remove strstream as it is deprecated
2025-07-20 21:59:17 +08:00
swung0x48
90a004cdd4
[Chore] (MG_Test/Program): find all components for SPIRV-Cross
2025-07-20 21:57:31 +08:00
swung0x48
94af204ed8
[Chore] (MG_Test/Program): include SPIRV-Cross
2025-07-20 21:56:00 +08:00
swung0x48
bff7711e2c
[Fix] (MG_Test/Program): fix CompileSimpleFragmentShader
2025-07-20 21:07:31 +08:00
swung0x48
ad041d6dab
[CI] (3rdparty): attempting to install glslang
2025-07-20 20:02:47 +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
swung0x48
4665735c89
[Fix] (MG_State/Buffer): do not shrink_to_fit() if not necessary
2025-07-20 09:58:17 +08:00
swung0x48
ded2691155
[Fix] (MG_Test/BufferTest): fixed some assertions
...
Fixed:
PingPong
2025-07-20 08:42:55 +08:00
BZLZHH
29a3704463
[Feat] (MG_Test/BufferTest): Add more buffer tests.
...
Added:
GenerateManyNames_NoPrematureCreation
AcquireMemory
AcquireMemoryRangeWithoutExplicit
AcquireMemoryRangeWithExplicit
CopyBufferSubData
WriteWhileMapped
PartialUpdate
2025-07-20 02:31:57 +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
BZLZHH
46da761dcf
[Chore] (gitignore): Ignore Visual Studio directory and output directory.
2025-07-19 23:45:51 +08:00
BZLZHH
3ae519d600
[Fix] (All): Prevent Windows.h from defining min and max macros.
2025-07-19 23:19:27 +08:00
swung0x48
8a9340749d
[Chore] (github): CI tests
2025-07-19 22:59:45 +08:00
swung0x48
16697b8c2b
[Fix] (MG_State/Buffer): pass PingPong test
2025-07-19 22:00:01 +08:00
swung0x48
6f455bc26a
[Test] (MG_Test/Program): add Sanity test
2025-07-19 21:33:28 +08:00
swung0x48
ba485e4adc
[Fix] (MG_Util/Program): use std::string instead of to_string
2025-07-19 21:32:47 +08:00
swung0x48
509f3d2879
[Feat] (MG_State/Buffer): separate UploadData() into Resize()+UploadData()
2025-07-18 10:02:08 +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
5c1b0a8f10
[Test] (BufferTest): add Binding test, and fix compile errors
2025-07-17 22:15:31 +08:00