Commit Graph

  • 3fb314fc44 [Fix] (MG_Util/GLSLTool): specify vulkan semantics to convert gl_VertexID/gl_InstanceID swung0x48 2025-06-30 12:29:45 +08:00
  • 7618ff27f4 [Docs] (README): Add an important note about rewriting this project. Deprecated/dev BZLZHH 2025-06-30 12:09:14 +08:00
  • 05493e5e15 [Docs] (README): Update third-party components info. BZLZHH 2025-06-30 12:02:40 +08:00
  • e1fd5678ec [Fix] (Diligent/Shader): Try to bind varying in glsl str. BZLZHH 2025-06-29 11:42:38 +08:00
  • 8a0d00f94b [Optimize] (MG_State/Buffer): vector to replace umap (does that optimize anything?) swung0x48 2025-06-29 01:02:00 +08:00
  • 0207ee85b7 [Optimize] (MG_Util/Debug): avoid runtime cost of unneeded log function (forced at compile time) swung0x48 2025-06-27 22:29:24 +08:00
  • a5a661261d [Feat] (Diligent/EGL_Init, MG_State/Getter): separates engine init and swapchain creation swung0x48 2025-06-27 13:47:43 +08:00
  • d056acf0af [Feat] (Diligent/PSO, MG_State/Buffer): implement GL_TRIANGLE_FAN emulation, fixing sky swung0x48 2025-06-27 10:14:05 +08:00
  • 229b5f292e [Fix] (MG_State/Texture): revert GetUnpackParam_ to private swung0x48 2025-06-26 16:03:34 +08:00
  • 3e71f83d61 [Fix] (MG_State/Texture): implement GL_UNPACK_SKIP_ROWS and GL_UNPACK_SKIP_PIXELS, fixing non-unicode fonts swung0x48 2025-06-26 13:58:07 +08:00
  • fa6ace0955 [Misc]: minor fixes swung0x48 2025-06-25 23:49:43 +08:00
  • 1e6f91809e [Fix] (MG_State/Texture): deal with GL_UNPACK_ROW_LENGTH swung0x48 2025-06-25 23:48:24 +08:00
  • afcc892b32 [Misc] (MG_GL/Getter): return real GL_MAX_VERTEX_ATTRIBS value swung0x48 2025-06-25 17:02:34 +08:00
  • 1c0a1fcbcb [Misc] (MG_State/Drawing): minor optimizations swung0x48 2025-06-25 16:59:50 +08:00
  • bf8aaaa9c1 [Fix] (MG_State/VertexArray): use array to save attribs to maintain order and optimize performance swung0x48 2025-06-25 16:22:16 +08:00
  • 0359a4e97f [Fix] (MG_State/Texture): get rid of 0.25 max lod clamp swung0x48 2025-06-25 11:58:51 +08:00
  • a18360c931 [Fix] (MG_State/PSO, GLSLTool): revert to flip y in shader swung0x48 2025-06-24 17:36:45 +08:00
  • 0c031d3e0b [Fix] (MG/GLSLTool): Finally fixing blur shader! - use glslang mapIO() function to correctly link shader in/out varyings - no need to flip y (already using VK_KHR_maintenance1 to specify negative viewport height) - use pointers to avoid unnecessary copying swung0x48 2025-06-24 16:30:13 +08:00
  • 20a945c6f0 [Misc] (MG_State/PSO): temporarily disable culling, deal with cw/ccw later swung0x48 2025-06-24 16:27:20 +08:00
  • 433a5ac39d [Fix] (MG_State/GL_Texture): no need to clamp max lod min value swung0x48 2025-06-24 16:26:09 +08:00
  • b444b7de88 [Fix] (MG_State/GL_Texture): do not automatically generate mipmaps swung0x48 2025-06-24 09:02:50 +08:00
  • 94dfdb6905 [Fix] (MG_Util/Program/GLSLTool): Really really hacky way to fix blur shader swung0x48 2025-06-23 23:12:44 +08:00
  • 2f1b06d0f9 [Fix] (MG/Framebuffer): get rid of suspicious GL_FRAMEBUFFER handling swung0x48 2025-06-23 10:51:24 +08:00
  • 14b1d5a2d1 [Fix] (MG/Constants): put log level in order swung0x48 2025-06-23 09:37:32 +08:00
  • 7c3912b9ae [Feat] (MG_State/Texture): implement GL_TEXTURE_COMPARE_MODE swung0x48 2025-06-23 09:32:25 +08:00
  • fa657fbf0b [Misc] (Diligent/Texture): Log unhandled texture state swung0x48 2025-06-22 22:00:17 +08:00
  • 6e9f990eed [Fix] (Diligent/PSO,Program): get rid of phantom program 0 swung0x48 2025-06-22 21:59:20 +08:00
  • a8ae34b3bd [Improvement] (Getter): better glGetString with GPU name swung0x48 2025-06-22 19:57:41 +08:00
  • e959126ac0 [Fix] (MG_State/Texture): properly disable mip filter when instructed swung0x48 2025-06-22 18:33:04 +08:00
  • 7e1906da57 [Fix] (MG_State/Texture): add same handling logic to glTexParameterf swung0x48 2025-06-22 17:40:38 +08:00
  • 9075177533 [Fix] (MG_State/Texture): Handle missing texture states swung0x48 2025-06-22 13:08:50 +08:00
  • e73db426eb [Fix] (DebugTool.cpp): Fix uniform value debug output swung0x48 2025-06-20 17:48:30 +08:00
  • 150bfa15a6 [Fix] (DiligentEngine): Increase the size of dynamic heap buffer. BZLZHH 2025-06-21 22:07:14 +08:00
  • cab375917b [Fix] (Diligent/PSO): Disable FrontCounterClockwise currently. BZLZHH 2025-06-21 21:44:43 +08:00
  • 6ac9beaa61 [Fix] (Diligent/Shader): Flip vertex y for vertex shaders. BZLZHH 2025-06-21 21:44:22 +08:00
  • a1bdaed2f6 [Chore] (DiligentEngine): Rename the renderer with Diligent Engine. BZLZHH 2025-06-21 21:43:32 +08:00
  • ee29a397da [Fix] (Diligent/PSO): Use GLSL For Vulkan mode somewhere. BZLZHH 2025-06-21 19:35:16 +08:00
  • cbf63dd2b6 [Fix] (MG_Util/Program): Allow GLSL For Vulkan to be converted into spirv. BZLZHH 2025-06-21 19:34:13 +08:00
  • 6d73806d1a [Fix] (Diligent/PSO): Use SPIRV-Cross to get the uniform offset. BZLZHH 2025-06-21 18:35:06 +08:00
  • f6c416bdf1 [Fix] (Diligent/Drawing): Prevent shader missing when shader has been deleted. BZLZHH 2025-06-21 17:04:32 +08:00
  • 99dd2f5dec [Fix] (Diligent/Buffer): Fix flags absence of buffer objects in Diligent. BZLZHH 2025-06-21 13:23:40 +08:00
  • d3b94dd1c6 [Fix] (Diligent/Drawing): Set IBO in glMultiDrawElementsBaseVertex. BZLZHH 2025-06-21 12:24:02 +08:00
  • edd1ad1a80 [Fix] (MG_State/Buffer): Do not consider GL_DYNAMIC_COPY and GL_STREAM_DRAW as dynamic buffer. BZLZHH 2025-06-21 11:30:47 +08:00
  • ae5c37b7e4 [Fix] (Diligent/Drawing): Fix vertex in glMultiDrawElements, BZLZHH 2025-06-21 10:41:19 +08:00
  • 7c3b4e52c3 [Feat] (Diligent/Drawing): Reimplement glMultiDrawElements through indirect drawing. BZLZHH 2025-06-21 09:48:08 +08:00
  • 61ae5e2e34 [Feat] (Diligent/Drawing): Implement glMultiDrawElements. BZLZHH 2025-06-21 02:10:11 +08:00
  • 6992c541af [Fix] (Diligent/Framebuffer): Correct GL_FRAMEBUFFER target handling. BZLZHH 2025-06-21 02:02:51 +08:00
  • 5d6bf42397 [Fix] (MG_State/Framebuffer): Correct GL_FRAMEBUFFER target handling and resource management. BZLZHH 2025-06-21 02:02:03 +08:00
  • bc61669dad [Improvement] (All): Remove redundant code. BZLZHH 2025-06-20 23:44:20 +08:00
  • 537ec9e2b0 [Fix] (Diligent/PSO): Try hashing bound texture ids for PSO. BZLZHH 2025-06-20 23:42:38 +08:00
  • 4ae9c00c06 Reapply "[Fix] (EGL_impl.cpp): make swapchain rotation right" BZLZHH 2025-06-20 21:55:53 +08:00
  • 3583e24bd8 Merge remote-tracking branch 'origin/dev-es' into Feat/Diligent BZLZHH 2025-06-20 17:56:01 +08:00
  • c7a8d7e785 [Fix]: fix glx macro name swung0x48 2025-06-20 17:54:55 +08:00
  • 22b6254a16 Merge branch 'dev-es' of https://github.com/MobileGL-Dev/MobileGL into dev-es swung0x48 2025-06-20 17:50:00 +08:00
  • db1879d098 [Fix]: fix GLX GetProcAddress not exported properly swung0x48 2025-06-20 17:48:30 +08:00
  • 832fc56a1b Revert "[Fix] (EGL_impl.cpp): make swapchain rotation right" BZLZHH 2025-06-20 16:50:29 +08:00
  • e77b56c9ad [Fix] (Diligent/PSO): Avoid crashing when MG_DEFAULT_UBO does not exist. BZLZHH 2025-06-20 16:41:13 +08:00
  • ac4cb2217e [Fix] (Diligent/Framebuffer): Do not begin renderpass in glBindFramebuffer. BZLZHH 2025-06-20 16:40:33 +08:00
  • cc2177e36c [Fix] (Diligent/Common): Handle renderpass in glClear. BZLZHH 2025-06-20 16:39:43 +08:00
  • ac6827fdd8 [Fix] (Diligent/Texture): Set sampler for texture. BZLZHH 2025-06-20 15:42:31 +08:00
  • 3c30d3aba9 Merge branch 'dev-es' into Feat/Diligent BZLZHH 2025-06-20 13:25:44 +08:00
  • 5c0b675ca8 [Feat] (Debug): Add log target control with bitmask flags. BZLZHH 2025-06-20 13:22:57 +08:00
  • e4c77d1432 [Improvement] (MG_State/Program): Optimize the logic for DeleteShader. BZLZHH 2025-06-20 12:50:42 +08:00
  • e8ca8161c8 [Fix] (Diligent/Shader): Do not delete the Diligent shader obj when glDeleteShader is called. BZLZHH 2025-06-20 12:48:35 +08:00
  • a65ae7202e [Fix] (EGL_impl.cpp): probably fixed PSO hashing swung0x48 2025-06-19 16:53:58 +08:00
  • 09d13579fc [Fix]: PSO caching broken? Just re-generate on mismatch (TODO: fix this later) swung0x48 2025-06-19 15:55:17 +08:00
  • 3d2596f701 [Optimization] (EGL_impl.cpp): don't copy the whole unordered_map swung0x48 2025-06-18 16:21:07 +08:00
  • 6bc28c2ae9 [Fix] (EGL_impl.cpp): properly implement colorMask swung0x48 2025-06-18 16:16:51 +08:00
  • 2cd5edd08b [Fix] (EGL_impl.cpp): fix PSO hashing bugs swung0x48 2025-06-18 13:05:06 +08:00
  • 58a46c6106 [Fix] (EGL_impl.cpp): use RGBA8_UNORM as ColorBufferFormat, avoiding auto sRGB color correction swung0x48 2025-06-18 10:36:08 +08:00
  • db93ddd280 [Fix] (EGL_impl.cpp): make swapchain rotation right swung0x48 2025-06-18 10:18:01 +08:00
  • 6a1b1a5ed9 [Fix] (Diligent/PSO): Miscellaneous fix. BZLZHH 2025-06-15 11:52:34 +08:00
  • df95930481 [Fix] (DiligentEngine): Increase the size of dynamic heap buffer. BZLZHH 2025-06-15 10:33:17 +08:00
  • 0c2449dc5e [Fix] (Diligent/Buffer): Recreate buffer object when the size changes. BZLZHH 2025-06-15 10:32:38 +08:00
  • 8fcf58a732 [Fix] (Diligent/PSO): Correct std140 alignment in uniform offset recording. BZLZHH 2025-06-15 09:37:21 +08:00
  • 937cab736b [Feat] (Diligent/Drawing): Handle uint8 in MultiDrawElementsBaseVertex. BZLZHH 2025-06-15 08:13:22 +08:00
  • fa7bb59a82 [Feat] (Diligent/Drawing): Implement (Multi)DrawElementsBaseVertex. BZLZHH 2025-06-10 02:15:56 +08:00
  • a0016861e8 [Fix] (Diligent/PSO): Avoid crashing when uniform data is invalid. BZLZHH 2025-06-10 01:55:04 +08:00
  • 964f483fd5 [Fix] (Diligent/Buffer): Make all types of buffer mappable. BZLZHH 2025-06-10 01:54:19 +08:00
  • c5ea0a7bf1 [Fix] (BufferState): Better judgement for obj.isDynamic. BZLZHH 2025-06-10 01:53:42 +08:00
  • aad270bcd0 [Fix] (Diligent/PSO): Do not use immutable samplers. BZLZHH 2025-06-10 01:00:20 +08:00
  • 994e0a6675 [Misc] (Debug): Improve some logging. BZLZHH 2025-06-09 19:12:25 +08:00
  • 836c169100 [Fix] (Diligent/Shader): Rename glsl builtins for Vulkan. BZLZHH 2025-06-09 19:10:01 +08:00
  • 2fb0690804 [Fix] (Diligent/PSO): Try to bind input layout locations for GLSL. BZLZHH 2025-06-09 13:38:16 +08:00
  • 30b7f4d69d [Fix] (Diligent/Texture): Make multi-level textures correct. BZLZHH 2025-06-09 01:54:11 +08:00
  • 44e787c56a [Fix] (Diligent/PSO): Get real stage for uniform sampler. BZLZHH 2025-06-09 00:26:41 +08:00
  • 0c4a5f54f2 [Fix] (Diligent/PSO): Avoid adding duplicate shader resources. BZLZHH 2025-06-09 00:25:50 +08:00
  • b73c6e749e [Fix] (Diligent/Texture): Remove useless judgement in glTexSubImage2D. BZLZHH 2025-06-08 23:23:23 +08:00
  • 1022a4dfc3 [Fix] (Diligent/Buffer): Update all dynamic buffers in glDraw*. BZLZHH 2025-06-08 23:00:13 +08:00
  • ee72f7d07f [Fix] (Diligent/Framebuffer): Make sure glBlitFramebuffer is not in renderpass. BZLZHH 2025-06-08 22:23:12 +08:00
  • 8af2aa262b Merge branch 'Feat/Diligent' of https://github.com/MobileGL-Dev/MobileGL into feat/Diligent swung0x48 2025-06-08 20:19:36 +08:00
  • 40a458b743 [Fix]: save order of uniform names, and apply it at linking and buffer mapping swung0x48 2025-06-08 20:19:06 +08:00
  • e645167c94 [Fix] (Diligent/PSO): Set stride value for layout element. BZLZHH 2025-06-08 18:56:56 +08:00
  • c183203264 [Fix] (Diligent/Drawing): Use real type for IBO. BZLZHH 2025-06-08 18:17:05 +08:00
  • 4dfbc01479 [Fix] (Diligent/PSO): Build InputLayout for PSO. BZLZHH 2025-06-08 17:29:10 +08:00
  • f3497bd2fa [Improvement] (ProgramState): Rename AttributeBindings -> AttributeLocations. BZLZHH 2025-06-08 16:01:31 +08:00
  • 3c98bc5eca [Improvement] (ProgramState): Remove useless programObj.attribBindings. BZLZHH 2025-06-08 15:54:10 +08:00
  • 9640e167df [Feat] (GL_Buffer.cpp): name buffers swung0x48 2025-06-08 13:46:41 +08:00
  • b580605c86 [Fix] (EGL_impl.h): get rid of redundant extern var swung0x48 2025-06-08 13:45:27 +08:00
  • 292c7eeecf [Fix] (Diligent/Buffer): Create dynamic buffer in glDraw*. BZLZHH 2025-06-08 13:35:32 +08:00