72 Commits

Author SHA1 Message Date
BZLZHH
8e200f3961 [Fix] (program.c): Fix the crash bug in glGetProgramiv.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-13 12:33:40 +08:00
BZLZHH
fa483e886e [Release|...] (...): Version dump to 1.0.3.
Use simulated glBindFragDataLocation and fix its bug.
Format the renderer name of ANGLE.

Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-13 01:27:22 +08:00
BZLZHH
e67430b7f3 [Release|...] (...):Version dump to 1.0.2. ...
Add glsl cache feature.
Fix the crash bug of ANGLE when glBindImageTexture or glUniform1i cause gl error.
Use native glBindFragDataLocation(EXT).
Record the statement for every texture.
Try to simulate glClearTexImage.
Add imcomplete pre-converted glsl feature. (disabled now)
Process GL_RG16 for texture.
Update glslang and spirv-cross.
Fix the missing log in log file error.
Delete useless LICENSE.

Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-12 19:51:42 +08:00
BZLZHH
050731345b [Improvement] (CMakeLists.txt): Disable warning and note information in CMake.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-11 00:33:35 +08:00
BZLZHH
8e4a573532 [Feat|Release] (getter.cpp|version.h): Add ignoring error feature in glGetError. Version dump to 1.0.1.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-10 20:34:23 +08:00
Swung0x48
916bdda672 fix(texture): detect GL_TEXTURE_LOD_BIAS_QCOM before using it, preventing Xaero from crashing 2025-02-10 17:28:17 +08:00
Swung0x48
b78759df52 Merge branch 'plugin' of https://github.com/Swung0x48/MobileGlues into plugin 2025-02-10 13:16:36 +08:00
Swung0x48
21957f9c49 fix(gpu_utils): do not probe GPU repeatedly 2025-02-10 13:10:19 +08:00
BZLZHH
7cffe0dff8
[Improvement] (log.h): Improve the log. 2025-02-10 12:22:12 +08:00
BZLZHH
0b9ab64c9e
[Improvement] (main.c): Change something about showing copyright. 2025-02-10 12:19:38 +08:00
Tungstend
5514e010d7 Feat (config): initialize config when loaded 2025-02-10 01:12:58 +08:00
BZLZHH
45d263f5cf [Release|Fix|Improvement]: Version dump to 1.0.0. Change some config options' names. Only build for arm64-v8a. Prepare something for release.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-10 00:47:19 +08:00
Swung0x48
0c08d7afdb fix(glsl_for_es): remove unnecessary exports 2025-02-09 23:05:12 +08:00
Tungstend
38c2816748 remove useless file 2025-02-09 22:20:09 +08:00
BZLZHH
77ea4f07f6
[Improvement] (loader.c): Change the config options' names. 2025-02-09 21:53:49 +08:00
Tungstend
46cd9c9d70 remove useless settings and dependencies 2025-02-09 20:01:18 +08:00
Swung
8f256e3016
misc: add artwork copyright 2025-02-09 10:50:13 +08:00
Swung0x48
4ce757c84d misc: get rid of unnecessary log print 2025-02-09 09:49:26 +08:00
Swung0x48
0e56aa19f2 fix: fix glClearDepth, fixing bug in JourneyMap 2025-02-09 09:40:05 +08:00
BZLZHH
2f4c3c54b6
[Feat] (LICENSE): Add Polyform Shield License. 2025-02-09 01:09:03 +08:00
BZLZHH
2e0ba2add0 [Feat] (...): Add Copyright Notice. Add some extentions. Add some config options. Process GL_TEXTURE_LOD_BIAS.
Additional extentions: GL_ARB_shader_storage_buffer_object, GL_ARB_shader_image_load_store.
Additional options: enable_OpenGL43_extension, enable_compute_shader_extension.
Change GL_TEXTURE_LOD_BIAS into GL_TEXTURE_LOD_BIAS_QCOM in glTexParameterf and glTexParameteri now.

Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-09 00:51:55 +08:00
Swung0x48
d6d7f76e84 fix(texture): BGRA hack to make Optfine shaders and Xaero maps both work. 2025-02-08 22:26:47 +08:00
BZLZHH
e05d002096
[Fix] (getter.cpp): Fix the Chinese grammar mistake. 2025-02-08 02:18:45 +08:00
BZLZHH
0c1283a24b Merge branch 'plugin' of github.com:Swung0x48/MobileGlues into plugin 2025-02-08 02:00:46 +08:00
BZLZHH
043986a081 [Feat] (getter.*|version.h): Add version controller. Add alpha version protection.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-08 01:59:44 +08:00
Swung0x48
c5dabea63a fix(getter): check for timer query extension before enabling it 2025-02-07 23:16:42 +08:00
Swung0x48
3910fb0ca4 feat(getter): implement timer query, fixing GPU util meter 2025-02-07 22:34:34 +08:00
Swung0x48
5778f2b90c fix: compilation error on log off 2025-02-07 22:34:00 +08:00
BZLZHH
fb95140e06 [Feat|Refactor]: Add config file. Add "no_error" option. Optimize code.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-07 20:21:06 +08:00
BZLZHH
bda63c0ed7 [Refactor|Fix] (...): Optimize code. Support low-version glsl es.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-07 19:24:45 +08:00
Swung0x48
b416d6fbb3 misc(log): debug log force off 2025-02-07 15:52:48 +08:00
Swung0x48
f2685fa2eb misc(log): remove useless log 2025-02-07 15:46:27 +08:00
Swung0x48
c4539fb9e9 misc(framebuffer): avoid freeing wild pointer, fixing forge crash on startup 2025-02-07 14:49:57 +08:00
Tungstend
fdbc27510e revert 2025-02-07 00:34:57 +08:00
Tungstend
eafaf1c453 only handle GL_DRAW_FRAMEBUFFER when glDrawBuffers call rebind_framebuffer 2025-02-07 00:32:16 +08:00
Tungstend
957381fcee print args before converted 2025-02-07 00:07:31 +08:00
Tungstend
60bf2d8fff fix 2025-02-06 23:37:11 +08:00
Tungstend
d0e1f5c718 remove useless code 2025-02-06 23:33:17 +08:00
Tungstend
4eb4adbd26 change code position 2025-02-06 23:32:05 +08:00
Tungstend
daef7170b9 enable global debug 2025-02-06 23:28:26 +08:00
Tungstend
e366e41d87 handle bgra only when internal format is rgba8 2025-02-06 23:27:54 +08:00
Tungstend
4319974102 Update .gitignore 2025-02-06 13:41:25 +08:00
Tungstend
4319ae7535 Revert "1"
This reverts commit 544fcafbd8110b4fc6194af299246993e1f593c7.
2025-02-06 13:40:52 +08:00
Tungstend
544fcafbd8 1 2025-02-06 13:40:38 +08:00
Swung0x48
07ccb4e15c misc: rearrange optfine-fix branch as module, 2nd attempt 2025-02-06 13:05:33 +08:00
Swung0x48
54fe7ce02d misc: rearrange optfine-fix branch as module 2025-02-06 13:02:17 +08:00
Swung0x48
b19e35ca3e misc: rearrange optfine-fix branch as module 2025-02-06 12:59:41 +08:00
Tungstend
975ea1abd2 maybe better? 2025-02-06 03:03:38 +08:00
Tungstend
571a7b74cb fix potential bugs 2025-02-06 02:34:46 +08:00
Tungstend
3fdd673aae fix glDrawBuffers 2025-02-06 01:43:21 +08:00