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
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
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
swung0x48
6a2b122ab7
[Test] (MG_Test/Sanity): Setup basic sanity test.
2025-07-17 12:42:44 +08:00
swung0x48
1d40f89dfe
[Feat] (MG_Util/Compiler): shader compiler WIP 2
2025-07-16 17:25:49 +08:00
swung0x48
8e1427fbd0
[Misc] (3rdparty): Update glslang to 15.4.0
2025-07-15 09:58:37 +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
swung0x48
a59fe679a7
Merge branch 'Feat/Diligent' of https://github.com/MobileGL-Dev/MobileGL into feat/Diligent
2025-07-10 18:04:41 +08:00
swung0x48
82a4be37f2
[Fix] (MG_State/Program): fixing discrapencies between builtins of Vulkan and OpenGL GLSL (gl_VertexID/gl_VertexIndex)
2025-07-10 18:04:19 +08:00
swung0x48
8c98afb1ac
[Fix] (MG_State/Buffer): 1. Don't check on GetBufferObject(), do it on creation 2. Don't modify g_BufferMap on querying
2025-07-08 17:53:21 +08:00
swung0x48
8c52cd34ed
[Fix] (MG_State/Clear): set render targets before clear
2025-07-08 16:17:47 +08:00
swung0x48
fbb1fc1fdb
[Misc] (MG_State/Buffer): reserve buffer size rounding up to next power of 2 to make resize complexity logarithmic
2025-07-08 15:44:11 +08:00
swung0x48
c43ae7ed2c
[Misc] (Diligent/Present): hard code disable vsync for now
2025-07-08 15:42:18 +08:00
swung0x48
ad626025d5
[Fix] (Diligent/Init): request NativeMultiDraw feature
2025-07-08 15:41:10 +08:00
swung0x48
9db24e6593
[Optimization] (Diligent/Framebuffer): explicitly unbind framebuffer on texture copy (BlitFramebuffer)
2025-07-08 14:32:25 +08:00
swung0x48
e3765f1f50
[Optimization] (MG_Constant): use vector instead of unordered_set to improve performance
2025-07-08 12:39:39 +08:00
swung0x48
532ca5ced5
[Fix] (MG_State/Texture, MG_State/Framebuffer): add stub for glCopyTexSubImage2D, glDrawBuffer, glDrawBuffers and glReadBuffer
2025-07-08 11:05:59 +08:00
swung0x48
20d02b75e1
[Fix] (MG_State/Texture): re-enable multi-miplevels
2025-07-07 10:39:00 +08:00
swung0x48
992ea967a7
[Fix] (MG_State/Texture): correctly maintain mag filter compare mode
2025-07-07 10:05:19 +08:00
swung0x48
9e3a5aefad
[Optimize] (Diligent/RenderPass): remove renderpass usage
2025-07-06 10:21:15 +08:00
swung0x48
bcaf0e6e32
Revert "[Fix] (MG_Util/GLSLTool): actually linking & mapping IO?"
...
This reverts commit 92cd0f3a82 .
2025-07-04 20:11:33 +08:00
swung0x48
92cd0f3a82
[Fix] (MG_Util/GLSLTool): actually linking & mapping IO?
2025-07-02 14:35:41 +08:00
swung0x48
067d517527
[Fix] (MG_Util/GLSLTool): get rid of unnecessary whitespace removal
2025-06-30 15:32:59 +08:00
swung0x48
a6bcded3e4
[Fix] (Diligent/Drawing): set g_TriangleFanIndexBuffer to null after release
2025-06-30 13:48:24 +08:00
swung0x48
79e5eb6a74
[Fix] (MG_State/Buffer): ignore 0-sized reallocation
2025-06-30 13:47:07 +08:00
swung0x48
1078a33147
[Fix] (MG_Util/GLSLTool): set preamble to fix compilation error with vulkan target
2025-06-30 13:02:09 +08:00
swung0x48
3fb314fc44
[Fix] (MG_Util/GLSLTool): specify vulkan semantics to convert gl_VertexID/gl_InstanceID
2025-06-30 12:29:45 +08:00
swung0x48
8a0d00f94b
[Optimize] (MG_State/Buffer): vector to replace umap (does that optimize anything?)
2025-06-29 01:02:00 +08:00
swung0x48
0207ee85b7
[Optimize] (MG_Util/Debug): avoid runtime cost of unneeded log function (forced at compile time)
2025-06-27 22:29:24 +08:00
swung0x48
a5a661261d
[Feat] (Diligent/EGL_Init, MG_State/Getter): separates engine init and swapchain creation
2025-06-27 13:47:43 +08:00
swung0x48
d056acf0af
[Feat] (Diligent/PSO, MG_State/Buffer): implement GL_TRIANGLE_FAN emulation, fixing sky
2025-06-27 10:14:05 +08:00
swung0x48
229b5f292e
[Fix] (MG_State/Texture): revert GetUnpackParam_ to private
2025-06-26 16:03:34 +08:00
swung0x48
3e71f83d61
[Fix] (MG_State/Texture): implement GL_UNPACK_SKIP_ROWS and GL_UNPACK_SKIP_PIXELS, fixing non-unicode fonts
2025-06-26 13:58:07 +08:00
swung0x48
fa6ace0955
[Misc]: minor fixes
2025-06-25 23:49:43 +08:00
swung0x48
1e6f91809e
[Fix] (MG_State/Texture): deal with GL_UNPACK_ROW_LENGTH
2025-06-25 23:48:24 +08:00
swung0x48
afcc892b32
[Misc] (MG_GL/Getter): return real GL_MAX_VERTEX_ATTRIBS value
2025-06-25 17:02:34 +08:00
swung0x48
1c0a1fcbcb
[Misc] (MG_State/Drawing): minor optimizations
2025-06-25 16:59:50 +08:00
swung0x48
bf8aaaa9c1
[Fix] (MG_State/VertexArray): use array to save attribs to maintain order and optimize performance
2025-06-25 16:22:16 +08:00
swung0x48
0359a4e97f
[Fix] (MG_State/Texture): get rid of 0.25 max lod clamp
2025-06-25 11:58:51 +08:00
swung0x48
a18360c931
[Fix] (MG_State/PSO, GLSLTool): revert to flip y in shader
2025-06-24 17:36:45 +08:00
swung0x48
0c031d3e0b
[Fix] (MG/GLSLTool): Finally fixing blur shader!
...
- use glslang mapIO() function to correctly link shader in/out varyings
- no need to flip y (already using VK_KHR_maintenance1 to specify negative viewport height)
- use pointers to avoid unnecessary copying
2025-06-24 16:33:16 +08:00
swung0x48
20a945c6f0
[Misc] (MG_State/PSO): temporarily disable culling, deal with cw/ccw later
2025-06-24 16:27:20 +08:00
swung0x48
433a5ac39d
[Fix] (MG_State/GL_Texture): no need to clamp max lod min value
2025-06-24 16:26:09 +08:00
swung0x48
b444b7de88
[Fix] (MG_State/GL_Texture): do not automatically generate mipmaps
2025-06-24 09:02:50 +08:00
swung0x48
94dfdb6905
[Fix] (MG_Util/Program/GLSLTool): Really really hacky way to fix blur shader
2025-06-23 23:24:39 +08:00
swung0x48
2f1b06d0f9
[Fix] (MG/Framebuffer): get rid of suspicious GL_FRAMEBUFFER handling
2025-06-23 10:51:24 +08:00
swung0x48
14b1d5a2d1
[Fix] (MG/Constants): put log level in order
2025-06-23 09:37:32 +08:00
swung0x48
7c3912b9ae
[Feat] (MG_State/Texture): implement GL_TEXTURE_COMPARE_MODE
2025-06-23 09:32:25 +08:00
swung0x48
fa657fbf0b
[Misc] (Diligent/Texture): Log unhandled texture state
2025-06-22 22:00:17 +08:00
swung0x48
6e9f990eed
[Fix] (Diligent/PSO,Program): get rid of phantom program 0
2025-06-22 21:59:20 +08:00
swung0x48
a8ae34b3bd
[Improvement] (Getter): better glGetString with GPU name
2025-06-22 19:57:41 +08:00
swung0x48
e959126ac0
[Fix] (MG_State/Texture): properly disable mip filter when instructed
2025-06-22 19:56:15 +08:00
swung0x48
7e1906da57
[Fix] (MG_State/Texture): add same handling logic to glTexParameterf
2025-06-22 17:40:38 +08:00
swung0x48
9075177533
[Fix] (MG_State/Texture): Handle missing texture states
2025-06-22 13:08:50 +08:00
swung0x48
e73db426eb
[Fix] (DebugTool.cpp): Fix uniform value debug output
2025-06-22 10:20:15 +08:00
swung0x48
c7a8d7e785
[Fix]: fix glx macro name
2025-06-20 17:54:55 +08:00
swung0x48
22b6254a16
Merge branch 'dev-es' of https://github.com/MobileGL-Dev/MobileGL into dev-es
2025-06-20 17:50:00 +08:00
swung0x48
db1879d098
[Fix]: fix GLX GetProcAddress not exported properly
2025-06-20 17:48:30 +08:00
swung0x48
a65ae7202e
[Fix] (EGL_impl.cpp): probably fixed PSO hashing
2025-06-19 16:53:58 +08:00
swung0x48
09d13579fc
[Fix]: PSO caching broken? Just re-generate on mismatch (TODO: fix this later)
2025-06-19 15:55:17 +08:00
swung0x48
3d2596f701
[Optimization] (EGL_impl.cpp): don't copy the whole unordered_map
2025-06-18 16:21:07 +08:00
swung0x48
6bc28c2ae9
[Fix] (EGL_impl.cpp): properly implement colorMask
2025-06-18 16:16:51 +08:00
swung0x48
2cd5edd08b
[Fix] (EGL_impl.cpp): fix PSO hashing bugs
2025-06-18 13:05:06 +08:00
swung0x48
58a46c6106
[Fix] (EGL_impl.cpp): use RGBA8_UNORM as ColorBufferFormat, avoiding auto sRGB color correction
2025-06-18 10:36:08 +08:00
swung0x48
db93ddd280
[Fix] (EGL_impl.cpp): make swapchain rotation right
2025-06-18 10:18:01 +08:00
swung0x48
8af2aa262b
Merge branch 'Feat/Diligent' of https://github.com/MobileGL-Dev/MobileGL into feat/Diligent
2025-06-08 20:19:36 +08:00
swung0x48
40a458b743
[Fix]: save order of uniform names, and apply it at linking and buffer mapping
2025-06-08 20:19:06 +08:00
swung0x48
9640e167df
[Feat] (GL_Buffer.cpp): name buffers
2025-06-08 13:46:41 +08:00
swung0x48
b580605c86
[Fix] (EGL_impl.h): get rid of redundant extern var
2025-06-08 13:45:27 +08:00
swung0x48
604482d55c
[Feat]: Making DiligentCore EGL init work
2025-05-18 20:51:58 +08:00