Commit Graph
100 Commits
Author SHA1 Message Date
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
swung0x48 ef6ef0fc31 [Fix] (MG_Util/Converters): add MirrorClampToEdge 2025-11-17 22:19:52 +08:00
swung0x48 fb9a32c224 [Fix] (MG_Util/ShaderTranspiler): maxFragmentUniformVectors increase to 256 2025-11-17 22:18:51 +08:00
swung0x48 55db06bf5c [Feat] (MG_Backend/DirectGLES): implement glGenerateMipmap 2025-11-17 17:36:42 +08:00
swung0x48 0139cabfbc [Fix] (MG_Util/Metrics): fix bool uniform size 2025-11-17 15:04:29 +08:00
swung0x48 ff0a3c5b9a [Feat] (MG_Util/Converters, MG_State/Sampler, MG_State/Texture): properly implement min/mag/mip filters 2025-11-17 13:40:34 +08:00
swung0x48 8182d9e402 [Fix] (MG_Util/Converters): fix incorrectly converted GL_TEXTURE_SWIZZLE_* pnames 2025-11-16 22:56:03 +08:00
swung0x48 126239db24 [Fix?] (MG_Test/ProgramTest): make ci shut up? 2025-11-16 21:52:42 +08:00
swung0x48 6efc4d4fc3 [Chore] (MG_Util/Converters): add log when encountered unknown format 2025-11-16 21:50:17 +08:00
swung0x48 6d86c9fe98 [Chore] (MG_Backend/DirectGLES): fix incorrect log level 2025-11-16 21:21:52 +08:00
swung0x48 2b915d5680 [Chore] (MG_Backend/DirectGLES): log ES error when syncing texture 2025-11-16 21:20:18 +08:00
swung0x48 dc49873d3e [Chore] (MG_Backend/DirectGLES): get rid of clutter 2025-11-16 21:18:16 +08:00
swung0x48 426895766d [Fix] (MG_Impl/Getter): properly report GPU name 2025-11-16 21:17:34 +08:00
swung0x48 1e5e993704 [Fix] (MG_Backend/DirectGLES/Utils): tweaks on NormalizePixelFormat, fixing shaders on some Mali 2025-11-16 21:02:18 +08:00
swung0x48 37e0312c72 [Feat] (MG_Backend/DirectGLES): ErrorLooper 2025-11-16 18:36:06 +08:00
swung0x48 95e086442c [Feat] (MG_Backend/DirectGLES): implement glCopyTexImage2D/CopyTexSubImage2D 2025-11-16 12:44:41 +08:00
swung0x48 e93dff52dc [Fix] (MG_Impl/Framebuffer, MG_State/Framebuffer, MG_Backend/DirectGLES): redone fbo attachment management. remap GL -> ES attachment names 2025-11-15 00:39:07 +08:00
swung0x48 899563165e [Feat] (MG_Backend/DirectGLES): hook up glDrawBuffers 2025-11-14 17:08:55 +08:00
swung0x48 0d3236c3cc [Feat] (MG_State/Framebuffer, MG_Impl/Framebuffer): implement glDrawBuffers in the state machine 2025-11-14 15:41:25 +08:00
swung0x48 55e89e169f [Fix?] (MG_Test/Program): why is action sometimes failing? 2025-11-13 15:07:07 +08:00
swung0x48 0d26f49d0b [Fix] (GLImpl/Program): fix log name error 2025-11-13 14:47:05 +08:00
swung0x48 7ee85e5a76 [Chore] (Defines): use DEBUG log level 2025-11-13 14:45:57 +08:00
swung0x48 89bfebf767 [Feat] (MG_Impl/Exporting): export glBindFragDataLocation and glGetFragDataLocation 2025-11-13 13:25:33 +08:00
swung0x48 b3b304e9e6 [Feat]: Implement glBindFragDataLocation and glGetFragDataLocation 2025-11-13 13:23:37 +08:00
swung0x48 5b2d18fdff [Fix]: (MG_Util/ShaderTranspiler): implement logic to reserve explicitly set frag outs 2025-11-13 12:54:05 +08:00
swung0x48 1c3a3455ab [Fix]: (MG_Util/ShaderTranspiler): rename explicitAttribLocations to explicitVertexInLocations in ProgramAttrib 2025-11-13 12:46:18 +08:00
swung0x48 2878939712 [Fix]: (MG_Util/ShaderTranspiler): add explicitFragmentOutLocations to program link attribs 2025-11-13 12:20:07 +08:00
swung0x48 cf87891b35 [Fix] (MG_Impl/GL_Program): emit missing gl error 2025-11-13 10:51:38 +08:00
swung0x48 b04481e6da [Chore] (MG_State/ProgramObject): rename attrib to vertex in for clarity 2025-11-13 10:50:37 +08:00
swung0x48 d3ea83992c [Fix]: (MG_Util/ShaderTranspiler/ShaderSourceProcessor): fix trailing \n not get removed 2025-11-13 09:39:53 +08:00
swung0x48 e6c5e132b8 [Fix] (MG_Util/Debug/Log): more log scratch space to avoid truncation 2025-11-12 22:50:21 +08:00
swung0x48 6e65942891 [Chore] (MG_Util/ShaderSourceProcessor): trim unnecessary part of shader source 2025-11-12 18:03:29 +08:00
swung0x48 755b4605e4 [Fix]: (MG_State/Program): fix incorrect Optfine behavior 2025-11-12 16:01:34 +08:00
swung0x48 9bc0ae6b97 [Chore]: (MG_State/Program): use proper enum constant, get rid of junk 2025-11-12 16:00:44 +08:00
swung0x48 bfeb827eb7 [Feat]: (MG_Test/Program): add test to check optfine shader behavior 2025-11-12 15:56:40 +08:00
swung0x48 8b8fa41ef2 [Feat]: (MG_Test/ProgramUtil): CompileAndLinkBlitProgram 2025-11-12 13:08:53 +08:00
swung0x48 f0cf49f3ec [Fix]: (MG_Util/ShaderTranspiler/TMglGlslIoResolver): guard against vertex stage 2025-11-11 17:51:33 +08:00
swung0x48 6ac0fd6f0a [Feat]: (MG_Util/ShaderTranspiler): TMglGlslIoResolver: a custom glslang IoResolver to realize glBindAttribLocation semantics 2025-11-11 17:06:46 +08:00
swung0x48 3e9b53cecc [Feat]: (MG_Util/ShaderTranspiler): the skeleton of defining a custom TIoResolver 2025-11-10 15:53:43 +08:00
swung0x48 fd3b5c3881 [Fix] (MG_Impl/GL_Sync): fix compilation error on msvc 2025-11-10 15:49:26 +08:00
swung0x48 d51d75c3ed [Fix] (CMakeLists): detect and enable LTO through CMake 2025-11-10 14:24:58 +08:00