Commit Graph
9 Commits
Author SHA1 Message Date
tobid7 79ef0c5a21 Upload pools once per Gfx::Draw and FIX DX9 2026-09-06 16:06:14 +02:00
tobid7 1c257032ae move global pools into gfx driver
prevents double copy problems
saves memory
(needs to be optimized...)
2026-09-06 16:06:14 +02:00
tobid7 6f9baffc62 Add a PositionTranslate func and add Errors for TextureSize mismatch 2026-09-06 16:06:14 +02:00
tobid7 8b5a928d49 Refactor PD::Li Pools system, Upgrade PD::Pool and add better logging
- Add ResetFast to Pool using c++20 concept
- Add Put function to Pool
- Use Pool Index instead of pointers in Command
- Add accessor to Li Pools to prevent wrong command usage
- Add Command Formatter
- Use ResetFast for all Pools
- Add Reset func to Li::Vertex (for ResetFast)
- Add Pool Expandor and Put funcs to Lithium pools
- Add getters for GfxDriverBase to PD::Li Pools
2026-09-06 16:06:14 +02:00
tobid7 e8fdd586cf Replace spirv-helper stuff with a library that combines everything 2026-09-06 16:06:14 +02:00
tobid7 80b9e1d545 Add pdsg (palladium spirv-generator)
- remove glslang from pd-system
- use spirv blobs instead of glsl 460
- Use Legacy shaders for OpenGL2 backend
- add devnotes
2026-09-06 16:06:14 +02:00
tobid7 e62952d0fd Add SpirvHelper (Shader cross compilation)
- Make OpenGL2 and OpenGL3 use the same base shaders (using SpirvHelper)
- Add Transpose func to Mat4
2026-09-06 16:06:14 +02:00
tobid7 501aaaf45c Work at 3ds support and backend upgrades
- Track textures (not sure if this is done tbh)
- Add lithium formatters and move TextureID, TextureFormat and TextureFilter to lithium
- Only include gl-helper if any glDriver is included
- Add Li::Rect for UV stuff
- Add Li::Texture as Info holder (still thinking of making them to ptrs
- Add Check if textures are still loaded on exit
2026-09-06 16:06:14 +02:00
tobid7 fed65e41ff Add backends
- Renamed GfxOpenGL to GfxOPenGL2
- Added GfxOpenGL3 backend for OpenGL 3.3+
- Added WIP DirectX9 backend
- Added structure for Citro3D
- Added linear Allocator
2026-09-06 16:06:14 +02:00