110 Commits

Author SHA1 Message Date
BZLZHH
40709ce56d [Release] (version.h): Version bump to 1.1.0.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 13:56:23 +08:00
BZLZHH
f93b481fb6 [Fix] (buffer.cpp): Add CHECK_GL_ERROR in glBufferData.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 13:55:06 +08:00
BZLZHH
2823791458 [Fix] (cache.cpp): Prevent glsl cache loading fragment from crashing when glsl cache file is broken.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 13:54:42 +08:00
BZLZHH
b20668c6ff [Fix] (getter.cpp): Let GL_MAX_TEXTURE_IMAGE_UNITS of glGetIntegerv return a bigger value. Add GL_MAJOR_VERSION and GL_MINOR_VERSION process.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 13:53:03 +08:00
BZLZHH
fbfa93d814 [Fix] (drawing.cpp): Disable the unexpected_error process for glDrawElements, glBindImageTexture..., fixing a strange shader error.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 12:37:44 +08:00
BZLZHH
4da83c2e39 [Improvement] (mg.cpp): Always flush log file in write_log.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 12:37:44 +08:00
BZLZHH
89a34ca521 [Improvement|Fix] (program.cpp|glsl_for_es.cpp): Add some information about the environment in GLSL cache. Process the location binding for outColor*.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 12:34:43 +08:00
BZLZHH
2512c18506 [Improvement] (settings.cpp): Change the logic of loading maxGlslCacheSize config, fixing a plugin error.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 12:26:07 +08:00
BZLZHH
9575e7d7ca [Fix] (texture.cpp|loader.h): Fix the compilation when DEBUG is enabled.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 09:23:32 +08:00
BZLZHH
5771bdc4e0 [Chore] (version.h): Version bump to V1.0.6.Dev.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 09:21:24 +08:00
BZLZHH
badf42037f [Fix] (texture.cpp): Use GL_DEPTH_COMPONENT as internal format for GL_DEPTH_COMPONENT, fixing some shadow errors.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-03-01 02:04:35 +08:00
BZLZHH
3f6dad41e5 Merge branch 'plugin' of https://github.com/Swung0x48/MobileGlues into plugin 2025-02-28 13:27:27 +08:00
BZLZHH
00929e3f59 [Refactor] (...): Optimize code.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-28 13:25:26 +08:00
Swung0x48
5852bb489a Merge branch 'plugin' of https://github.com/Swung0x48/MobileGlues into plugin 2025-02-28 10:52:44 +08:00
Swung0x48
34aed04e70 fix(texture): glGetTexImage readback BGRA texture 2025-02-28 10:52:15 +08:00
BZLZHH
1d1f6ad419 [Improvement] (getter.cpp): Force glGetError to return GL_NO_ERROR.
Signed-off-by: BZLZHH <admin@bzlzhh.top>
2025-02-28 09:18:24 +08:00
Swung0x48
68700c1fcb fix(texture): glGetTexImage readback BGRA texture (WIP) 2025-02-27 17:54:59 +08:00
Swung0x48
e8c5f18180 feat(loader): detect rgba extension 2025-02-25 17:50:19 +08:00
Swung0x48
1cb7bef6f4 fix(gl_stub): maintain C linkage on gl stubs 2025-02-25 14:01:23 +08:00
Swung0x48
ac20ab31de fix(cmake): remove direct dependency on libc++_shared.so 2025-02-25 13:46:45 +08:00
Swung0x48
be19d8c702 misc(version): bump version to 1.0.5 2025-02-25 13:39:09 +08:00
Swung0x48
4379f5d442 fix(texture): correctly handle BGRA in glTexSubImage2D, fixing missing tiles in Xaero 2025-02-25 13:36:36 +08:00
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