380 Commits

Author SHA1 Message Date
BZLZHH
7c1c9a5d95 [Fix] (Texture): Correct GL_RED handling. 2025-07-27 18:02:18 +08:00
BZLZHH
efea4378cc Revert "[Improvement] (Texture): Better GL_DEPTH_COMPONENT handling." 2025-07-27 17:42:31 +08:00
BZLZHH
7f407a0221 [Fix] (Texture): Fix wrong internalFormat handling. 2025-07-27 17:19:58 +08:00
BZLZHH
06fab47a35 [Fix] (DSA|Framebuffer): Continue fixing DSA. Implement glFramebufferTexture. 2025-07-27 17:19:33 +08:00
BZLZHH
370e97e8e3 [Feat|Fix] (Shader): Inject atomicCounterAdd and do not remove binding for compute shader. 2025-07-27 01:34:29 +08:00
BZLZHH
ea6bc6791f [Fix] (DSA): Actually fix incorrect behavior. 2025-07-27 01:14:49 +08:00
BZLZHH
7cf36d3ba6 [Fix] (DSA): Try to fix incorrect behavior. 2025-07-27 00:49:14 +08:00
BZLZHH
67421040d8 [Fix] (DSA): Fix compiling error for iOS. 2025-07-26 20:45:20 +08:00
BZLZHH
bcf6d18e12 [Feat] (VAB): Declare vertex attribute binding extension when GLES version is 3.1 or greater. 2025-07-26 20:42:40 +08:00
BZLZHH
c3db9341b9 [Feat] (DSA): Implement DSA. 2025-07-26 20:37:50 +08:00
BZLZHH
1389708a85 [Chore] (Header): Regulate OpenGL header files. 2025-07-26 20:25:20 +08:00
BZLZHH
2add79a878 [Fix] (Buffer): Fix wrong glBufferDataARB symbol. 2025-07-26 20:21:22 +08:00
BZLZHH
a734deb1ba Merge remote-tracking branch 'origin/dev-es' into dev-es 2025-07-26 20:19:47 +08:00
BZLZHH
3511a6b874 [Chore] (Version): Bump version to 1.2.8.Dev. 2025-07-26 20:16:55 +08:00
Ahmet53535353
da80aa0a73
Update multidraw.cpp (#25)
"The line GLES.glGenBuffers(1, &g_prefixsumbuffer); was prevented from being written twice."
2025-07-25 01:45:28 +08:00
BZLZHH
372e1c8142 [Feat] (Drawing): Emulate glDrawElementsBaseVertex for GLES 3.1-. 2025-07-22 01:28:14 +08:00
BZLZHH
1df90a5591 Merge remote-tracking branch 'origin/dev-es' into dev-es 2025-07-22 00:48:36 +08:00
BZLZHH
1107e1ae75 [Feat] (Program|Shader|Texture|Buffer): Emulate glTexBuffer for GLES 3.1-. 2025-07-22 00:48:27 +08:00
Swung0x48
90d7d3c170 [Fix] (GL): ANGLE depth clear workaround no.2 2025-07-16 22:55:37 +08:00
BZLZHH
44f5dd9d7c [Release] (version): Bump version to 1.2.7. 2025-07-15 23:19:34 +08:00
BZLZHH
9cfbec6c7e [Misc] (Config): Change ANGLE enabling policy again. 2025-07-15 23:09:59 +08:00
BZLZHH
f2c9750507 [Chore] (gitignore): Ignore CMakeSettings.json 2025-07-15 22:47:57 +08:00
Swung0x48
1a4a677f82 Merge branch 'dev-es' of https://github.com/MobileGL-Dev/MobileGlues into dev-es 2025-07-15 22:32:00 +08:00
Swung0x48
89ed22b66d [Chore] (Settings): detect ANGLE to decide buffer_coherent_as_flush 2025-07-15 22:30:46 +08:00
BZLZHH
bc2786c233 [Fix] (Header): Add missing optional header file. 2025-07-15 22:25:54 +08:00
BZLZHH
bc5650d8fa Merge remote-tracking branch 'origin/dev-es' into dev-es 2025-07-15 22:22:20 +08:00
BZLZHH
f6f5481a13 [Misc] (Config): Change ANGLE enabling policy. 2025-07-15 22:20:51 +08:00
Swung0x48
f39c76c4c5 [Fix] (Buffer): use GL_MAP_COHERENT_BIT to replace GL_MAP_FLUSH_EXPLICIT_BIT + glFlushMappedBufferRange
This fixed entity rendering bugs on certain Adreno drivers.
Thanks OpenLTW! (5e6cc9ff29)
2025-07-15 22:07:20 +08:00
BZLZHH
7e63c883cc Revert "[Fix] (Pixel): Handle GL_UNSIGNED_INT_8_8_8_8_REV and BGRA correctly."
This reverts commit 818ac1fde4734987172c6b824e465bd6d640f9f8.
2025-07-15 16:24:12 +08:00
BZLZHH
818ac1fde4 [Fix] (Pixel): Handle GL_UNSIGNED_INT_8_8_8_8_REV and BGRA correctly. 2025-07-15 15:38:05 +08:00
BZLZHH
62622daa57 [Fix] (Debug): Fix wrong LOG_V. 2025-07-15 01:13:42 +08:00
BZLZHH
184d79881b [Feat] (Extension): Add a option to control ext_timer_query. 2025-07-15 01:13:13 +08:00
Swung0x48
932762c5b3 [Chore] (version): bump version to 1.2.6 2025-07-13 20:54:07 +08:00
BZLZHH
4444be9ee1 [Fix] (Config): Fix compiling error for iOS. 2025-07-13 19:41:49 +08:00
BZLZHH
6f5bc9ee81 [Feat] (Config): Add AngleDepthClearFixMode option. 2025-07-13 19:38:15 +08:00
BZLZHH
d16d87fd26 [Fix] (GL): Force depth clear when glClear is called with depth=1.0 on ANGLE. 2025-07-13 17:35:38 +08:00
BZLZHH
4bcd4d0dee [Improvement] (Config): Make Adreno gpu enable ANGLE when using DisableIfPossible. 2025-07-13 14:20:56 +08:00
BZLZHH
336a6b8e09 [Improvement] (Config): Do not detect vk1.3. 2025-07-13 14:18:41 +08:00
BZLZHH
164862ee09 [Refactor] (Config): Improve code. 2025-07-13 14:17:49 +08:00
BZLZHH
bb1c9eb2a2 [Improvement] (Texture): Better GL_DEPTH_COMPONENT handling. 2025-07-13 12:59:22 +08:00
BZLZHH
75ddfe4100 [Improvement] (Shader/GLSL): Better function injections. 2025-07-12 22:41:57 +08:00
BZLZHH
98d4d51427 [Chore] (Shader/GLSL): Remove the preConvertedGlsl feature, which is useless. 2025-07-12 22:14:39 +08:00
BZLZHH
46d60c9cad [Chore] (gitignore): Ignore Visual Studio directory and output directory. 2025-07-10 11:26:41 +08:00
Swung0x48
1905ea507d [Fix] (buffer.cpp): add missing buffer type in get_binding_query 2025-06-20 10:36:00 +08:00
Swung
a291c58483
Merge pull request #19 from alexytomi/dev-es
[Fix](texture.cpp): Jankily add implicit format conversion in glTexIm…
2025-06-18 21:02:51 +08:00
alexytomi
d9567159ee [Fix](texture.cpp): Jankily add implicit format conversion in glTexImage2D
Fixes https://github.com/C1OUS3R/Undertale/issues/23 hopefully

TODO: Move this into internal_convert
2025-06-18 15:05:03 +08:00
Swung0x48
f4e957d3c0 [Fix] (glsl_for_es.cpp): make sure define always after #version 2025-06-03 22:32:32 +08:00
Swung0x48
d4dfb56423 [Fix] (glsl_for_es.cpp): inject textureQueryLod emulation only when GL_EXT_texture_query_lod is not available 2025-06-03 22:08:01 +08:00
BZLZHH
180298da09
[Docs] (README): Improve expression. 2025-06-02 11:58:44 +08:00
Swung
018eb03343
Merge pull request #18 from alexytomi/dev-es
[Fix] (gpu_utils): Fix undefined behaviour introduced by 5e46d9e
2025-06-01 13:58:17 +08:00