Commit Graph
100 Commits
Author SHA1 Message Date
swung0x48 35fd55d4be [Chore]: small program to do a tiny self-check 2026-01-17 11:23:36 +08:00
swung0x48 80bb46cbb9 [Fix] (MG_Impl/GetProcAddress, Exporting): properly get proc address, clear reliance on dlsym 2026-01-17 09:19:38 +08:00
swung0x48 97cbb35dbd [Feat] (MG_Impl/EGLImpl): Implement eglQueryString 2026-01-14 22:50:40 +08:00
swung0x48 c7ca2fecf2 [Chore] (MG_Impl/Texture): more logs 2026-01-11 18:14:03 +08:00
swung0x48 00b972252b [Feat] (CMake): bring back SPIRV-Tools-opt 2026-01-11 17:30:51 +08:00
swung0x48 fbac2ceb4e [Chore] (Config): update vendor string 2026-01-11 09:29:41 +08:00
swung0x48 b67a8d2e3a [Fix] (MG_Backend/DirectGLES): patches for Photon (4th patch) 2026-01-11 09:07:25 +08:00
swung0x48 a051e51946 [Fix] (MG_Backend/DirectGLES): patches for Photon (3rd patch) 2026-01-10 21:59:03 +08:00
swung0x48 3b807f6275 [Chore] (Defines): MOBILEGL_LOG_ACTIVE_LEVEL defaults to MOBILEGL_LOG_LEVEL_INFO 2026-01-10 13:43:59 +08:00
swung0x48 26ab093679 [Feat] (MG_Util/Texture): use fallback formats when GL_EXT_texture_norm16 is not supported 2026-01-10 13:23:02 +08:00
swung0x48 db2806a12a [Feat] (MG_Util/BackendLoaders): check for GL_EXT_texture_norm16 2026-01-10 12:54:35 +08:00
swung0x48 cc7e95c84d [Chore] (MG_Backend/DirectGLES): check for ES error when glTexImage* 2026-01-10 11:43:15 +08:00
swung0x48 48d5e522d8 [Chore] (MG_Util): add/fix some logging 2026-01-10 11:27:56 +08:00
swung0x48 60ab186b5c [Fix] (MG_Backend/DirectGLES): patches for Photon (cont.) 2026-01-10 00:54:57 +08:00
swung0x48 c24015b618 [Fix] (MG_Backend/DirectGLES): patches for Photon (WIP) 2026-01-09 23:49:10 +08:00
swung0x48 27ed4cd30b [Feat] (MG_Backend/DirectGLES): OpenGL scope marker 2026-01-09 16:23:30 +08:00
swung0x48 1e49519c81 [Chore] (MG_Backend/DirectGLES): tidying up code 2026-01-09 10:29:07 +08:00
swung0x48 39182f3a5e [Fix] (MG_Backend/DirectGLES): fix bad texture binding in CopyTexImage2D 2026-01-08 14:07:51 +08:00
swung0x48 d7139894da [Chore] (MG_Backend/DirectGLES): more debug stuff 2026-01-08 14:07:05 +08:00
swung0x48 6efcecc147 [Chore] (MG_Backend/DirectGLES): more debug stuff 2026-01-08 11:38:57 +08:00
swung0x48 0d4c227196 [Chore] (MG_Backend/DirectGLES): fix param order in GenerateTextureFormatInfo 2026-01-08 10:33:57 +08:00
swung0x48 d7e1aee645 [Chore] (MG_Impl/Texture): convert base internal format to sized ones (on a best-effort basis) 2026-01-08 10:19:20 +08:00
swung0x48 a601307d6f [Chore] (MG_Util/Texture): rearrange formats in NormalizePixelFormat (cont.) 2026-01-06 22:48:32 +08:00
swung0x48 4b8e558565 [Chore] (MG_Util/Texture): rearrange formats in NormalizePixelFormat 2026-01-06 14:02:20 +08:00
swung0x48 4c0cc8b038 [Fix] (MG_Util/Texture): use proper GL_RGBA16 to unbreak gbuffer unpack in some shaders 2026-01-06 09:29:50 +08:00
swung0x48 d4a98ad94f [Fix] (MG_Util/Texture): fix D32 depth format in NormalizePixelFormat, fixing Photon shadow 2026-01-06 09:28:51 +08:00
swung0x48 bdd4261a5a [Chore] (MG_Util/Metrics): add fallback assertion when getting unknown GL type size 2026-01-05 17:46:04 +08:00
swung0x48 0a1e85e9e6 [Fix] (MG_Util/Debug/Log): force turn off stacktrace 2026-01-05 15:33:15 +08:00
swung0x48 08a9c9bb61 [Fix] (MG_Impl/Tetxture): properly fix CopyTexImage2D's frontend state 2026-01-05 12:52:47 +08:00
swung0x48 b3fe9c1544 [Chore] (MG_Util/Texture): move NormalizePixelFormat to MG_Util 2026-01-05 12:43:47 +08:00
swung0x48 5e9844a4e5 [Chore] (MG_Util/Debug/Log): give up on stacktrace 2026-01-05 10:03:14 +08:00
swung0x48 c6443e5039 [Fix] (CMake): make MSVC properly report __cplusplus macro 2026-01-05 09:46:38 +08:00
swung0x48 141eeb4e87 [Optimize] (MG_Backend/DirectGLES): use texture target instead of upload target 2026-01-05 09:30:16 +08:00
swung0x48 4233a6031a [Fix] (MG_Backend/DirectGLES): why do I need to get "real" internalformat anyway?? 2026-01-04 23:22:49 +08:00
swung0x48 05f5c0c2b5 [Feat] (MG_Impl/GLImpl): export glDrawBuffer 2026-01-04 23:21:59 +08:00
swung0x48 2657edc003 [Feat] (MG_Impl/Framebuffer): implement glDrawBuffer 2026-01-04 23:21:19 +08:00
swung0x48 52d98ee7c3 [Feat] (MG_Backend/DirectGLES): implement glTexImage3D in the ES backend 2026-01-04 17:37:24 +08:00
swung0x48 c537f9814c [Feat] (MG_Impl/Texture): implement glTexImage3D in the frontend 2026-01-04 16:39:14 +08:00
swung0x48 7819a8e405 [Fix] (MG_Util/TextureMetrics): fix wrong size of RGB16F, RGB16I, RGB16UI 2026-01-04 16:38:18 +08:00
swung0x48 b281afe665 [Feat] (MG_Backend/DirectGLES): add proper handling when internalformat is GL_R16 2026-01-04 16:03:50 +08:00
swung0x48 aa83aa1519 [Fix] (MG_Util/ShaderTranspiler): process shader version directive correctly when it is not the first line 2025-12-30 21:20:37 +08:00
swung0x48 69caca5903 [Fix] (MG_Impl/Texture): read PBO if pixels == NULL at TexSubImage2D 2025-12-30 12:39:19 +08:00
swung0x48 e886a93a18 [Chore] (MG_Impl/RenderState, MG_State/RenderState): more logs 2025-12-29 11:10:38 +08:00
swung0x48 45276bbb7c [Feat] (MG_Util/PixelStoreProcessor): properly handle BGRA to RGBA
swizzle
2025-12-28 23:18:26 +08:00
swung0x48 b220c8baab [Feat] (MG_Impl/Texture): Decouple texture internal format and input format 2025-12-15 14:16:36 +08:00
swung0x48 02a2f4af4a [Feat] (MG_Impl/Texture): accept GL_TEXTURE_LOD_BIAS at frontend 2025-12-15 12:35:24 +08:00
swung0x48 c3755d77ef [Feat] (MG_Impl/Texture): implement GL_TEXTURE_SWIZZLE_RGBA 2025-12-13 21:28:04 +08:00
swung0x48 81a717ada7 [Feat] (MG_Impl/Texture): partially implement glTexParameter*v
- Fixing NeoForge loading screen
2025-12-13 20:48:59 +08:00
swung0x48 17bbe3e6ba [Feat] (CMake): make TRACY_ENABLE as an option 2025-12-12 23:40:39 +08:00
swung0x48 0519cdeb9c [Optimization] (MG_Backend/DirectGLES): add more tracy zones 2025-12-12 10:25:39 +08:00
swung0x48 f08859d1c5 [Fix] (3rdparty/tracy): enable TRACY_NO_CRASH_HANDLER to prevent unwanted crash detection 2025-12-12 09:30:34 +08:00
swung0x48 6a9738a7c5 [Optimization] (MG_Backend/DirectGLES): optimize BackendTextureBindingProtector usage 2025-12-11 20:38:09 +08:00
swung0x48 91b04f6995 [Feat] (MG_Backend/DirectGLES): tracy integration for DirectGLES backend 2025-12-11 20:37:20 +08:00
swung0x48 ffd4ec3408 [Feat] (tracy): initial tracy integration 2025-12-11 17:18:26 +08:00
swung0x48 0e9bca40f3 [Chore] (CMake): use set() instead of option() 2025-12-11 16:29:03 +08:00
swung0x48 1e64a85bcd [Fix] (Defines.h): include mingw as Windows platform 2025-12-11 15:14:07 +08:00
swung0x48 f94861926a [Feat] (3rdparty/tracy): initial integration of Tracy Profiler 2025-12-11 15:12:19 +08:00
swung0x48 6b4c911f06 [Fix] (CMake): lower tests to O2 optimization 2025-12-10 17:53:33 +08:00
swung0x48 eb705c53bf [Chore] (MG_State/Texture): explicitly specify value for enums 2025-12-10 15:29:59 +08:00
swung0x48 a1a9b16457 [Chore] (MG_Backend/DirectGLES): rearrange DebugImpl 2025-12-10 15:25:20 +08:00
swung0x48 b79424a78c [Feat] (MG_Backend/DirectGLES): sync tex buffer to backend 2025-12-10 09:17:30 +08:00
swung0x48 cb4e6b5f19 [Feat] (MG_State/Texture, MG_Impl/Texture): glTexBuffer (and implement TextureObjectBuffer accordingly) 2025-12-09 21:20:39 +08:00
swung0x48 3f36248638 [Fix] (MG_Test/Program): does this fix ci failure? 2025-12-09 13:48:18 +08:00
swung0x48 0a89ad4f30 [Feat] (MG_State/Texture): separate mipmap from TextureObjectBase 2025-12-09 10:57:10 +08:00
swung0x48 ab6d9f60e7 [Refactor] (MG_State/Texture): decouple texture object and mipmap storage 2025-12-06 22:24:30 +08:00
swung0x48 fe6bd76cfa [Fix] (MG_State/TextureStorage): fix wrong assertion 2025-11-30 10:34:03 +08:00
swung0x48 ea61946bfc Merge branch 'Feat/Backend-Direct-GLES' of https://github.com/MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2025-11-30 10:19:48 +08:00
swung0x48 5e0a6c70b8 [Chore] (submodule): revert glslang to 15.4.0 2025-11-30 10:19:03 +08:00
swung0x48 1b48ffaaf7 [Chore]: re-point glslang submodule to forked repo 2025-11-30 10:00:37 +08:00
swung0x48 e58402bc9e [Fix] (MG_State/Program): insist compile for vulkan. (will require patching glslang) 2025-11-30 00:15:04 +08:00
swung0x48 0ee8a060e2 [Feat] (MG_Test/Program): add test for malicious shader using sampler as variable name 2025-11-29 23:29:20 +08:00
swung0x48 11aff346f1 [Fix] (MG_Impl/Getter|CMake): avoid git hash header name collision with SPIRV-Cross 2025-11-29 21:45:13 +08:00
swung0x48 d1f5aff440 [Fix] (MG_State/Texture): properly implement GetBaseSize() and IsComplete() for cubemap 2025-11-27 15:02:22 +08:00
swung0x48 e244974928 [Chore] (MG_Impl/Texture): add more assertion over unimplemented stubs 2025-11-26 22:13:41 +08:00
swung0x48 da5b9686ba [Fix]: build on macOS 2025-11-26 22:05:02 +08:00
swung0x48 a0aaba3cb5 [Feat] (MG_State/Texture): Initial implementation of cube map 2025-11-25 22:47:41 +08:00
swung0x48 4d44dda117 [Chore] (MG_State/TextureObject): separate TextureObjectWithOneMipmap 2025-11-25 21:52:01 +08:00
swung0x48 45ae87c017 [Chore]: fix compilation in gcc 2025-11-25 14:22:28 +08:00
swung0x48 e79d2fd059 [Chore]: get rid of junk in texture stuff 2025-11-25 14:20:37 +08:00
swung0x48 352df37b91 [Feat] (MG_State/TextureObject): implement GetIndexOfTextureUploadTarget() 2025-11-25 14:14:05 +08:00
swung0x48 1a997ae8d4 [Feat]: more refined MOBILEGL_ASSERT() macro 2025-11-25 14:12:46 +08:00
swung0x48 7fe156cebc [Chore] (MG_Backend/DirectGLES): adjust some log severity 2025-11-25 13:33:22 +08:00
swung0x48 64fd36bb60 [Fix] (MG_State/TextureObject): fix silly tex input data bug introduced by the refractor 2025-11-25 10:50:13 +08:00
swung0x48 419a67cd08 [Feat] (MG_State/TextureState): refractor mipmap (TextureStorage) 2025-11-25 00:10:13 +08:00
swung0x48 73b583cc00 [Feat] (Backends): advertise GL_ARB_draw_buffers_blend 2025-11-25 00:08:10 +08:00
swung0x48 d0f4b1d7d1 Merge branch 'Feat/Backend-Direct-GLES' of https://github.com/MobileGL-Dev/MobileGL into Feat/Backend-Direct-GLES 2025-11-24 17:03:01 +08:00
swung0x48 718eeaab43 [Chore] (MG_State/TextureObject): extract mipmap stuff 2025-11-24 16:59:59 +08:00
swung0x48 ca8d2b7bab [Chore]: separate TextureObject child classes into individual files 2025-11-24 09:51:39 +08:00
swung0x48 1c318db4a0 [Fix] (cmake): fix compilation on MSVC 2025-11-24 09:33:59 +08:00
swung0x48 363bedb245 [Chore] (MG_Impl/Texture): use .empty() instead of .size() 2025-11-22 23:21:36 +08:00
swung0x48 4af61f9c00 [Feat] (MG_Util/ShaderTranspiler): remove noperspective in preprocessing 2025-11-22 18:15:02 +08:00
swung0x48 6e5e458501 [Feat] (MG_Impl/Exporting): add stub for glBlend*ARB for ARB_draw_buffers_blend 2025-11-22 09:37:47 +08:00
swung0x48 69cf694ca1 [Fix]: fix crash on shader compile 2025-11-22 08:44:04 +08:00
swung0x48 e3f73291e9 [Fix] (MG_Impl/GL_Program): fix GetUniform_State for mat3 alignment issues 2025-11-21 22:24:47 +08:00
swung0x48 854d293404 [Fix] (MG_Impl/Getter): fix typo 2025-11-19 12:59:18 +08:00
swung0x48 caf10a267d [Fix] (MG_Backend/DirectGLES): correctly bind texture on CopyTexSubImage2D 2025-11-19 10:17:52 +08:00
swung0x48 d8cd5a235a [Chore] (MG_Backend/DirectGLES): trim redundant stuff in BackendFramebufferObject::SyncToBackend 2025-11-18 22:37:24 +08:00
swung0x48 0c31de3afc [Fix]: compilation on Windows 2025-11-18 21:17:44 +08:00
swung0x48 8d3dd14498 [Fix] (MG_Impl/Texture): don't malloc if unnecessary 2025-11-18 12:47:09 +08:00
swung0x48 2709b9754f [Fix] (MG_Impl/Program): fixing UniformMatrix3fv improper alignment 2025-11-18 11:16:29 +08:00