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
swung0x48
6de362cd1c
[Fix] (Types.h): add typename specifier
2025-07-17 22:04:37 +08:00
swung0x48
e72c1f70aa
[Fix] (MG_State/Buffer): remove redundant buffer target
2025-07-17 21:55:27 +08:00
swung0x48
f000ef4cbd
[Fix] (MG_State/Core): fix typo
2025-07-17 21:39:06 +08:00
BZLZHH
7cabf01944
Merge remote-tracking branch 'origin/Feat/Rewriting' into Feat/Rewriting
2025-07-17 13:21:44 +08:00
BZLZHH
ea64124963
[Feat] (MG_State/GLState): Implement BufferState.
2025-07-17 13:21:28 +08:00
swung0x48
6a2b122ab7
[Test] (MG_Test/Sanity): Setup basic sanity test.
2025-07-17 12:42:44 +08:00
BZLZHH
9604bdd50a
[Fix] (Build): Remove missing source file.
2025-07-16 20:40:15 +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
BZLZHH
b056e7be0a
[Fix] (MG_Impl/GL): Correct GL_CONTEXT_PROFILE_MASK in glGet.
2025-07-16 12:10:04 +08:00
BZLZHH
38e3222c31
[Chore] (gitignore): Ignore CMakeSettings.json
2025-07-16 12:01:09 +08:00