Commit Graph

  • ea30e0ee92 [Feat] (MG_Util/Compiler): shader compiler WIP swung0x48 2025-07-13 21:14:18 +08:00
  • d6bdd6854f [Misc] (include): add missing headers in glslang swung0x48 2025-07-13 09:13:06 +08:00
  • 9194e1c97f [Feat] (All): Continue building the basic structure. BZLZHH 2025-07-12 20:29:20 +08:00
  • 9542512209 [Feat] (MG_Util/Converter): Implement ConvertGLEnumToString. BZLZHH 2025-07-12 15:42:59 +08:00
  • c552bc6a4e [Chore] (Config): Rename log file name. BZLZHH 2025-07-11 19:18:59 +08:00
  • f928661045 [Feat] (MG_Impl/EGL): Implement a simplified egl temporarily. BZLZHH 2025-07-11 19:16:56 +08:00
  • 3078667e1d [Feat] (MG_Impl/GLX): Implement glXGetProcAddress. BZLZHH 2025-07-11 18:47:42 +08:00
  • 62e141000e [Fix] (All): Fix compiling error. BZLZHH 2025-07-11 18:20:50 +08:00
  • b76c23429f [Feat] (All): Implement init, log and other related components. BZLZHH 2025-07-11 18:09:45 +08:00
  • 0eed6f17a2 Merge remote-tracking branch 'origin/dev' into Feat/Rewritting BZLZHH 2025-07-11 16:37:44 +08:00
  • 08ca58c867 Merge commit '05493e5e150febc5a1ccf236465e3859f30021b2' into Feat/Rewritting BZLZHH 2025-07-11 16:34:57 +08:00
  • 614730543c Remove most stuff, ready to rewrite this project. BZLZHH 2025-07-11 16:26:10 +08:00
  • 8f950fc345 [Chore] (Global): Disable debug. Set log target to all. Deprecated/Feat/Diligent BZLZHH 2025-07-11 09:17:57 +08:00
  • 83cfacf94b [Fix] (MG_State/Buffer): Prevent crashing when buffer obj is not created but is going to be deleted. BZLZHH 2025-07-10 23:08:38 +08:00
  • dae5827666 [Fix] (MG_Util/GLSL): Enhance BindInputLayoutLocationsForGLSL. BZLZHH 2025-07-10 23:07:44 +08:00
  • b119c45c16 [Feat] (Diligent/Drawing): Convert Uint8 IBO into Uint16. BZLZHH 2025-07-10 19:45:24 +08:00
  • a59fe679a7 Merge branch 'Feat/Diligent' of https://github.com/MobileGL-Dev/MobileGL into feat/Diligent swung0x48 2025-07-10 18:04:41 +08:00
  • 82a4be37f2 [Fix] (MG_State/Program): fixing discrapencies between builtins of Vulkan and OpenGL GLSL (gl_VertexID/gl_VertexIndex) swung0x48 2025-07-10 18:04:19 +08:00
  • f56453093f [Improvement] (Diligent/PSO): Add UniformStageCache. BZLZHH 2025-07-10 17:09:53 +08:00
  • 59e0291f9e [Improvement] (HeaderSystem): Optimize header system, highly improving performance. BZLZHH 2025-07-10 14:01:09 +08:00
  • 833679e58a [Chore] (gitignore): Ignore Visual Studio directory and output directory. BZLZHH 2025-07-10 11:41:33 +08:00
  • f04207905f [Chore] (DEBUG): Enable debug. BZLZHH 2025-07-09 18:16:37 +08:00
  • 8c98afb1ac [Fix] (MG_State/Buffer): 1. Don't check on GetBufferObject(), do it on creation 2. Don't modify g_BufferMap on querying swung0x48 2025-07-08 17:53:21 +08:00
  • 8c52cd34ed [Fix] (MG_State/Clear): set render targets before clear swung0x48 2025-07-08 16:17:47 +08:00
  • fbb1fc1fdb [Misc] (MG_State/Buffer): reserve buffer size rounding up to next power of 2 to make resize complexity logarithmic swung0x48 2025-07-08 15:44:11 +08:00
  • c43ae7ed2c [Misc] (Diligent/Present): hard code disable vsync for now swung0x48 2025-07-08 15:42:18 +08:00
  • ad626025d5 [Fix] (Diligent/Init): request NativeMultiDraw feature swung0x48 2025-07-08 15:41:10 +08:00
  • 9db24e6593 [Optimization] (Diligent/Framebuffer): explicitly unbind framebuffer on texture copy (BlitFramebuffer) swung0x48 2025-07-08 14:32:25 +08:00
  • e3765f1f50 [Optimization] (MG_Constant): use vector instead of unordered_set to improve performance swung0x48 2025-07-08 12:39:39 +08:00
  • 532ca5ced5 [Fix] (MG_State/Texture, MG_State/Framebuffer): add stub for glCopyTexSubImage2D, glDrawBuffer, glDrawBuffers and glReadBuffer swung0x48 2025-07-07 17:45:14 +08:00
  • 20d02b75e1 [Fix] (MG_State/Texture): re-enable multi-miplevels swung0x48 2025-07-07 10:39:00 +08:00
  • 992ea967a7 [Fix] (MG_State/Texture): correctly maintain mag filter compare mode swung0x48 2025-07-07 10:05:19 +08:00
  • 9e3a5aefad [Optimize] (Diligent/RenderPass): remove renderpass usage swung0x48 2025-07-06 10:21:15 +08:00
  • bf0c29b384 [Fix] (MG_Util/Program): Completely fix uniform conflicting. BZLZHH 2025-07-05 12:25:22 +08:00
  • 164c2f25d4 [Fix] (MG_Util/Program): Avoid uniform variables conflicting. BZLZHH 2025-07-05 11:56:15 +08:00
  • 4cf85c4f2a [Fix] (MG_State/Program): Map IO binding in FinalizeProgramPipeline. BZLZHH 2025-07-05 10:28:39 +08:00
  • bcaf0e6e32 Revert "[Fix] (MG_Util/GLSLTool): actually linking & mapping IO?" swung0x48 2025-07-04 20:11:33 +08:00
  • 92cd0f3a82 [Fix] (MG_Util/GLSLTool): actually linking & mapping IO? swung0x48 2025-07-02 14:35:41 +08:00
  • 067d517527 [Fix] (MG_Util/GLSLTool): get rid of unnecessary whitespace removal swung0x48 2025-06-30 15:32:59 +08:00
  • a6bcded3e4 [Fix] (Diligent/Drawing): set g_TriangleFanIndexBuffer to null after release swung0x48 2025-06-30 13:48:24 +08:00
  • 79e5eb6a74 [Fix] (MG_State/Buffer): ignore 0-sized reallocation swung0x48 2025-06-30 13:47:07 +08:00
  • 1078a33147 [Fix] (MG_Util/GLSLTool): set preamble to fix compilation error with vulkan target swung0x48 2025-06-30 13:02:09 +08:00
  • 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