BZLZHH
115cdef6fd
[Feat] (MG_State/TextureState): Add TextureUploadTarget enum. Add more TextureTarget enum.
2025-08-14 15:19:32 +08:00
BZLZHH
b7d5de7ce0
[Feat] (MG_Impl/Texture): Implement IsTexture, ActiveTexture.
2025-08-13 21:59:17 +08:00
BZLZHH
ded4ef195f
Merge branch 'dev' of github.com:MobileGL-Dev/MobileGL into dev
2025-08-13 21:53:35 +08:00
BZLZHH
b48e632829
[Fix] (MG_Impl/Buffer): Don't produce gl error in IsBuffer.
2025-08-13 21:52:29 +08:00
BZLZHH
a347a9780c
[Feat] (MG_Impl/Texture): Implement GenTextures, DeleteTextures, BindTexture.
2025-08-12 18:17:23 +08:00
BZLZHH
7ba3258150
[Feat] (MG_Impl/Texture): Implement basic validators for texture.
2025-08-12 18:17:14 +08:00
BZLZHH
4eba014513
[Fix] (MG_State/TextureState): Fix incorrect behavior.
2025-08-12 18:11:36 +08:00
BZLZHH
a78c53ecdd
[Feat] (MG_Util/Converters): Implement texture enum converters.
2025-08-12 18:05:02 +08:00
BZLZHH
256e947a5d
[Fix] (MG_Impl/VertexArray|Buffer): Fix incorrect name zero operations.
2025-08-12 16:54:56 +08:00
BZLZHH
5127479874
[Chore] (CMake): Remove libshaderconv.so
2025-08-12 15:30:16 +08:00
BZLZHH
0a95d64f2b
[Chore] (CMake): Support more platforms.
2025-08-12 15:28:12 +08:00
BZLZHH
c50d5255ec
[Chore] (CMake): Remove unnecessary args.
2025-08-12 14:55:50 +08:00
BZLZHH
323df933c4
Merge remote-tracking branch 'origin/dev' into dev
2025-08-11 23:26:25 +08:00
BZLZHH
2b685e4e18
[Fix] (MG_Impl/GLImpl): Fix missing header.
2025-08-11 23:25:21 +08:00
BZLZHH
eb9866cd87
Merge remote-tracking branch 'origin/dev' into dev
2025-08-11 15:57:28 +08:00
BZLZHH
b7ecc69cfb
[Misc] (MG_Impl/Texture): Add texture function stubs.
2025-08-11 15:56:04 +08:00
BZLZHH
1ca0a96628
[Fix] (MG_Test): Fix compiling error.
2025-08-10 23:34:15 +08:00
BZLZHH
fefccf808a
[Fix] (MG_Util): Fix compiling error.
2025-08-10 23:24:49 +08:00
BZLZHH
98efe13ac5
Merge commit '12335da41bc30334c599dfc1d2e5b47dcf92ef0d' into dev
2025-08-10 23:18:41 +08:00
BZLZHH
253e14f2c9
[Improvement] (...): Optimize code.
2025-08-10 23:18:01 +08:00
BZLZHH
0b13cb5714
[Feat] (MG_State/TextureState): Implement TextureState.
2025-08-10 23:13:22 +08:00
BZLZHH
93ca669929
[Refactor] (All): Restructure include system.
2025-08-09 23:10:34 +08:00
BZLZHH
b44950bddd
[Chore] (CMake): Add DOWNLOAD_EXTRACT_TIMESTAMP for benchmark fetch.
2025-08-06 18:27:35 +08:00
BZLZHH
fa2bf8b665
Merge commit '54826327' into dev
2025-08-06 18:09:18 +08:00
BZLZHH
75f0d27ca7
[Misc] (...): Fix CMake error. Fix unexpected error.
2025-08-06 18:04:11 +08:00
BZLZHH
25fa70ff9d
[Chore] (Workflow): Rename Feat/Rewriting to dev.
2025-08-05 18:58:36 +08:00
BZLZHH
d52c3ddfde
[Chore] (gitignore): Ignore clangd file.
2025-08-05 18:58:36 +08:00
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
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
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
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
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
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
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
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
c552bc6a4e
[Chore] (Config): Rename log file name.
2025-07-11 19:18:59 +08:00
BZLZHH
f928661045
[Feat] (MG_Impl/EGL): Implement a simplified egl temporarily.
2025-07-11 19:16:56 +08:00
BZLZHH
3078667e1d
[Feat] (MG_Impl/GLX): Implement glXGetProcAddress.
2025-07-11 18:47:42 +08:00
BZLZHH
62e141000e
[Fix] (All): Fix compiling error.
2025-07-11 18:20:50 +08:00
BZLZHH
b76c23429f
[Feat] (All): Implement init, log and other related components.
2025-07-11 18:09:45 +08:00
BZLZHH
0eed6f17a2
Merge remote-tracking branch 'origin/dev' into Feat/Rewritting
2025-07-11 16:39:41 +08:00
BZLZHH
08ca58c867
Merge commit '05493e5e150febc5a1ccf236465e3859f30021b2' into Feat/Rewritting
...
# Conflicts:
# README.md
2025-07-11 16:34:57 +08:00
BZLZHH
614730543c
Remove most stuff, ready to rewrite this project.
2025-07-11 16:26:10 +08:00
BZLZHH
83cfacf94b
[Fix] (MG_State/Buffer): Prevent crashing when buffer obj is not created but is going to be deleted.
2025-07-10 23:08:38 +08:00
BZLZHH
dae5827666
[Fix] (MG_Util/GLSL): Enhance BindInputLayoutLocationsForGLSL.
2025-07-10 23:07:44 +08:00
BZLZHH
b119c45c16
[Feat] (Diligent/Drawing): Convert Uint8 IBO into Uint16.
2025-07-10 19:45:24 +08:00
BZLZHH
f56453093f
[Improvement] (Diligent/PSO): Add UniformStageCache.
2025-07-10 17:09:53 +08:00
BZLZHH
59e0291f9e
[Improvement] (HeaderSystem): Optimize header system, highly improving performance.
2025-07-10 14:01:09 +08:00
BZLZHH
833679e58a
[Chore] (gitignore): Ignore Visual Studio directory and output directory.
2025-07-10 11:41:33 +08:00
BZLZHH
f04207905f
[Chore] (DEBUG): Enable debug.
2025-07-09 18:17:10 +08:00
BZLZHH
164c2f25d4
[Fix] (MG_Util/Program): Avoid uniform variables conflicting.
2025-07-05 11:56:15 +08:00
BZLZHH
4cf85c4f2a
[Fix] (MG_State/Program): Map IO binding in FinalizeProgramPipeline.
2025-07-05 10:28:39 +08:00
BZLZHH
e1fd5678ec
[Fix] (Diligent/Shader): Try to bind varying in glsl str.
2025-06-29 11:42:38 +08:00
BZLZHH
150bfa15a6
[Fix] (DiligentEngine): Increase the size of dynamic heap buffer.
2025-06-21 22:07:14 +08:00
BZLZHH
cab375917b
[Fix] (Diligent/PSO): Disable FrontCounterClockwise currently.
2025-06-21 21:44:43 +08:00
BZLZHH
6ac9beaa61
[Fix] (Diligent/Shader): Flip vertex y for vertex shaders.
2025-06-21 21:44:22 +08:00
BZLZHH
a1bdaed2f6
[Chore] (DiligentEngine): Rename the renderer with Diligent Engine.
2025-06-21 21:43:32 +08:00
BZLZHH
ee29a397da
[Fix] (Diligent/PSO): Use GLSL For Vulkan mode somewhere.
2025-06-21 19:35:16 +08:00
BZLZHH
cbf63dd2b6
[Fix] (MG_Util/Program): Allow GLSL For Vulkan to be converted into spirv.
2025-06-21 19:34:13 +08:00
BZLZHH
6d73806d1a
[Fix] (Diligent/PSO): Use SPIRV-Cross to get the uniform offset.
2025-06-21 18:35:06 +08:00
BZLZHH
f6c416bdf1
[Fix] (Diligent/Drawing): Prevent shader missing when shader has been deleted.
2025-06-21 17:04:32 +08:00
BZLZHH
99dd2f5dec
[Fix] (Diligent/Buffer): Fix flags absence of buffer objects in Diligent.
2025-06-21 13:23:40 +08:00
BZLZHH
d3b94dd1c6
[Fix] (Diligent/Drawing): Set IBO in glMultiDrawElementsBaseVertex.
2025-06-21 12:24:02 +08:00
BZLZHH
edd1ad1a80
[Fix] (MG_State/Buffer): Do not consider GL_DYNAMIC_COPY and GL_STREAM_DRAW as dynamic buffer.
2025-06-21 11:30:47 +08:00
BZLZHH
ae5c37b7e4
[Fix] (Diligent/Drawing): Fix vertex in glMultiDrawElements,
2025-06-21 10:41:19 +08:00
BZLZHH
7c3b4e52c3
[Feat] (Diligent/Drawing): Reimplement glMultiDrawElements through indirect drawing.
2025-06-21 09:48:08 +08:00
BZLZHH
61ae5e2e34
[Feat] (Diligent/Drawing): Implement glMultiDrawElements.
2025-06-21 04:11:40 +08:00
BZLZHH
6992c541af
[Fix] (Diligent/Framebuffer): Correct GL_FRAMEBUFFER target handling.
2025-06-21 02:02:51 +08:00
BZLZHH
5d6bf42397
[Fix] (MG_State/Framebuffer): Correct GL_FRAMEBUFFER target handling and resource management.
2025-06-21 02:02:26 +08:00
BZLZHH
bc61669dad
[Improvement] (All): Remove redundant code.
2025-06-20 23:44:20 +08:00
BZLZHH
537ec9e2b0
[Fix] (Diligent/PSO): Try hashing bound texture ids for PSO.
2025-06-20 23:42:38 +08:00
BZLZHH
4ae9c00c06
Reapply "[Fix] (EGL_impl.cpp): make swapchain rotation right"
...
This reverts commit 832fc56a1b .
2025-06-20 21:55:53 +08:00
BZLZHH
3583e24bd8
Merge remote-tracking branch 'origin/dev-es' into Feat/Diligent
2025-06-20 17:56:01 +08:00
BZLZHH
832fc56a1b
Revert "[Fix] (EGL_impl.cpp): make swapchain rotation right"
...
This reverts commit db93ddd280 .
# Conflicts:
# MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp
2025-06-20 16:50:29 +08:00
BZLZHH
e77b56c9ad
[Fix] (Diligent/PSO): Avoid crashing when MG_DEFAULT_UBO does not exist.
2025-06-20 16:41:13 +08:00
BZLZHH
ac4cb2217e
[Fix] (Diligent/Framebuffer): Do not begin renderpass in glBindFramebuffer.
2025-06-20 16:40:33 +08:00
BZLZHH
cc2177e36c
[Fix] (Diligent/Common): Handle renderpass in glClear.
2025-06-20 16:39:43 +08:00
BZLZHH
ac6827fdd8
[Fix] (Diligent/Texture): Set sampler for texture.
2025-06-20 15:42:31 +08:00
BZLZHH
3c30d3aba9
Merge branch 'dev-es' into Feat/Diligent
...
# Conflicts:
# MG/Constants.h
# MG/Global.h
2025-06-20 13:25:44 +08:00