310 Commits

Author SHA1 Message Date
Swung0x48
314309b0a4 [feat](texture): detect GL_EXT_texture_rg extension 2025-03-06 11:08:33 +08:00
Swung0x48
1e7b2bcdf5 [feat](loader): check for depth format availability 2025-03-05 15:17:52 +08:00
Swung0x48
67ef108076 [feat](buffer): add ARB aliases for buffer functions 2025-03-04 23:12:13 +08:00
Swung0x48
69e02806e6 [optimize] (drawing): directly write into DRAW_INDIRECT_BUFFER 2025-03-04 15:47:54 +08:00
Swung0x48
91b61dff5a [chore](version): bump version to 1.1.0.1 2025-03-03 16:12:47 +08:00
Swung0x48
c66a53befe Merge branch 'plugin' of https://github.com/Swung0x48/MobileGlues into plugin 2025-03-03 15:58:24 +08:00
Swung0x48
7d2575dcb8 [fix](texture): GL_DEPTH_COMPONENT24 as fallback glRenderbufferStorage format, fixing xaero on Mali 2025-03-03 13:59:31 +08:00
Swung0x48
29057185b5 [fix](loader): incorrect null evaluation 2025-03-03 13:58:58 +08:00
BZLZHH
adef78b073
[Feat] (settings.*): Add enableCompatibleMode. 2025-03-03 12:09:48 +08:00
Swung0x48
9ae00d7bb2 fix(main): destroy temp egl context on init 2025-03-02 21:24:06 +08:00
Swung0x48
1aab5931ba [misc] (profiling): add full trace config file 2025-03-02 21:22:35 +08:00
Swung0x48
03948b6c52 [Feat](drawing): draw indirect impl 2025-03-01 23:30:22 +08:00
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