254 Commits

Author SHA1 Message Date
Tungstend
b9ebae2bfd glBindFragDataLocation 2025-02-04 01:11:37 +08:00
BZLZHH
ddd07559ec [Feat] (getter.cpp|glsl_for_es.cpp): Add OpenGL43, ARB_compute_shader. Improve removeLayoutBinding. Add imcomplete makeRGBWriteonly.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-03 23:36:32 +08:00
BZLZHH
57acadfa9e [Fix] (texture.cpp): Fix the crash of glTexStorage2D.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-03 19:29:16 +08:00
BZLZHH
b634a87e5c [Feat] (drawing.*|gl_stub.c): Add simulated glMultiDrawElements.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-03 16:44:47 +08:00
BZLZHH
6eaabf1462 [Improvement] (texture.*): Use real target in glGenerateTextureMipmap.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-03 16:29:27 +08:00
BZLZHH
6a71d68001 [Feat] (texture.*|gl_stub.c): Add simulated glGetTexImage.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-03 16:22:26 +08:00
Tungstend
537ae68cba [Feat] (gl): rewrite glDrawBuffer(s) 2025-02-03 03:18:48 +08:00
Tungstend
37ecfdc7a3 [Improvement] (log): print more info 2025-02-03 03:17:32 +08:00
Tungstend
89928d5084 [Fix] (texture): handle more formats 2025-02-03 03:16:47 +08:00
Tungstend
0eba432577 Update build.gradle.kts 2025-02-03 03:11:44 +08:00
Tungstend
15e85b50f8 print more info 2025-02-03 03:11:39 +08:00
Tungstend
1762c04ea4 rewrite glDrawBuffer(s) 2025-02-03 03:11:27 +08:00
Tungstend
a5d4e1be29 [Fix] (texture): handle more formats 2025-02-03 01:40:35 +08:00
Tungstend
7884289a21 sync 2025-02-02 23:57:23 +08:00
Swung0x48
0ff620b494 Merge remote-tracking branch 'origin/dev-es' into dev-es
# Conflicts:
#	src/main/cpp/gl/texture.cpp
#	src/main/cpp/gl/texture.h
2025-02-02 23:08:25 +08:00
Swung0x48
bcb96d9812 feat(texture): swizzle color channels when format is GL_BGRA, fixing Xaero's maps's color bug 2025-02-02 23:05:19 +08:00
BZLZHH
f2507459a5 [Fix] (texture.c): Disable wrong DEBUG.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-02 17:07:13 +08:00
BZLZHH
de940e6aa4 [Feat|Fix] (...): Add simulated glGenerateTextureMipmap. Process GL_RGB8_SNORM, GL_RGBA8_SNORM, GL_DEPTH_COMPONENT*.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-02 16:57:01 +08:00
Swung0x48
bdacbf5921 feat(texture): stub glHint, fix glRenderbufferStorage to fix Xaero's maps 2025-02-02 14:12:43 +08:00
BZLZHH
a7573624f6 [Fix] (texture.c): Fix the internal_format error in glRenderbufferStorage.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-02 13:00:43 +08:00
Tungstend
10a98a23a3 [Improvement] (log): fix lag 2025-02-02 01:16:09 +08:00
Tungstend
eddeee203f Improvement: better logger 2025-02-02 01:10:54 +08:00
Tungstend
83f9ec86c9 fix build 2025-02-02 00:47:13 +08:00
Swung0x48
9f68ad1b6b Merge remote-tracking branch 'origin/dev-es' into dev-es 2025-02-02 00:45:57 +08:00
Swung0x48
a73b1619fd feat(init): detect OpenGL ES extensions, enable GL_ARB_buffer_storage if applicable 2025-02-02 00:44:53 +08:00
Tungstend
55727743ca Update build.gradle.kts 2025-02-02 00:36:56 +08:00
Tungstend
140a31e32d sync 2025-02-02 00:27:28 +08:00
BZLZHH
d6cabb4cd5 Merge branch 'dev-es' of github.com:Swung0x48/MobileGlues into dev-es 2025-02-02 00:00:20 +08:00
BZLZHH
15888bac64 [Fix] (texture.c): Correctly process GL_RGB10_A2.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-01 23:57:54 +08:00
Swung0x48
92455c5312 feat(init): detect OpenGL ES extensions, enable GL_ARB_buffer_storage if applicable 2025-02-01 21:00:35 +08:00
BZLZHH
5070abcf75 [Feat] (...): Add native glBufferStorageEXT as glBufferStorage.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-01 16:56:49 +08:00
BZLZHH
a4b01c0013 Merge branch 'dev-es' of github.com:Swung0x48/MobileGlues into dev-es 2025-02-01 15:48:30 +08:00
BZLZHH
f396e7c8ad [Fix] (glsl_for_es.cpp|texture.c): Fix the bug of transpose error and GI_TemporalFilter missing error. Process GL_RGB16.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-01 15:47:23 +08:00
BZLZHH
2e516ec444 [Improvement] (texture.c): Improve the performance.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-01 12:49:18 +08:00
Swung0x48
7f1a362537 fix(mg): add C guard to fix linkage error with C++ object 2025-02-01 09:10:21 +08:00
Swung0x48
3526569c7e fix(log): add include to fix compilation error on new NDK 2025-02-01 08:51:48 +08:00
Tungstend
eb8cc9655b change log file location 2025-02-01 00:47:28 +08:00
Tungstend
4f103cedb0 Update build.gradle.kts 2025-02-01 00:44:02 +08:00
Tungstend
c6fbf968aa sync
Update log.h

Revert "Update log.h"

This reverts commit 356a4f8d811307b7e0ae31ea2c5e1cb3ed45c3a1.

Revert "sync"

This reverts commit 949f16c0374ae34b463adee66c65e31f8b523188.

sync
2025-02-01 00:34:03 +08:00
Swung0x48
ac646ba59e fix(texture): fix crash on Xaero's Minimap 2025-01-31 23:05:39 +08:00
BZLZHH
1d1d5fb4dc Merge branch 'dev-es' of github.com:Swung0x48/MobileGlues into dev-es 2025-01-31 22:27:17 +08:00
BZLZHH
d73d1d8463 [Feat|Improvement] (...): Process more internal_format. Process GL_DEPTH_COMPONENT in CopyTex. Add log file.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-01-31 22:25:58 +08:00
Tungstend
f0e8fb95dd Update loader.h 2025-01-31 19:31:10 +08:00
Tungstend
f802bbc7cc fix glsl optimizer 2025-01-31 19:29:37 +08:00
Tungstend
ed32406ae1 Update loader.h 2025-01-31 17:43:00 +08:00
Tungstend
f739ab32e1 Update loader.h 2025-01-31 17:30:24 +08:00
Tungstend
b598049743 fix glsl optimizer 2025-01-31 15:50:30 +08:00
Tungstend
2b36d34452 Update drawing.c 2025-01-31 15:01:37 +08:00
Tungstend
78af98d751 upload mg code 2025-01-31 14:57:42 +08:00
Swung0x48
404b383110 optimize: load proc address ahead of time & cache them, to reduce CPU overhead 2025-01-31 13:57:54 +08:00