138 Commits

Author SHA1 Message Date
Swung0x48
de265cb84a misc(debug): more debug shiz 2025-02-25 13:31:11 +08:00
Swung0x48
9187e51ad5 misc(debug): some debug shiz about texture and buffer 2025-02-24 17:55:07 +08:00
Swung0x48
e7287e81c3 fix(settings): fix a bug in deciding ANGLE enablement 2025-02-24 09:42:19 +08:00
Swung0x48
2504c15954 fix(profiling), misc(log): turn off profiling by default, improved logging 2025-02-24 09:37:33 +08:00
Swung
de6f68bd33
Merge pull request #5 from Swung0x48/perfetto-integration
Perfetto integration
2025-02-23 22:28:22 +08:00
Swung0x48
2f8fd01051 feat(perfetto): integration with perfetto 2025-02-23 22:25:56 +08:00
Swung0x48
d5ca8baeb3 buildsystem: make most file cpp, and fix c-cpp linkage 2025-02-23 20:08:08 +08:00
Swung0x48
1123faab0f buildsystem: add perfetto to cmake 2025-02-23 19:17:30 +08:00
Swung0x48
8a268a12a6 submodule: add perfetto 2025-02-23 19:16:09 +08:00
Swung0x48
62f8520dd7 misc(buffer, texture): more logs 2025-02-23 17:47:28 +08:00
Swung0x48
ee4b73b768 misc(log): more enums 2025-02-23 10:47:05 +08:00
Swung0x48
a003ef53c7 fix(settings, gpu_utils): fix? 830 detection 2025-02-22 21:23:19 +08:00
Swung0x48
4f33db0751 feat(debug): glEnumToString 2025-02-21 16:48:32 +08:00
Swung0x48
17e8c24b22 misc(version): bump version to 1.0.4 2025-02-19 12:13:39 +08:00
Swung0x48
89a717f2eb fix(vertexattrib): add glVertexAttribI*ui, fixing physics mod 2025-02-19 11:48:15 +08:00
BZLZHH
71e3fedb64 [Release] (version.h|getter.cpp): Version dump to 1.0.3.1.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-13 17:14:46 +08:00
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