Commit Graph
126 Commits
Author SHA1 Message Date
tobid7 d8b19e3993 WIP (Codename Ultra) UI lib 2026-09-06 16:13:11 +02:00
tobid7 17e000a02c implement font deletion 2026-09-06 16:13:11 +02:00
tobid7 8ebee69338 Fix font bugs 2026-09-06 16:13:10 +02:00
tobid7 283583c333 Add debug getters (and somehow text is not rendering :/) 2026-09-06 16:13:10 +02:00
tobid7 a96bb1e874 Fix Vertex Alloc usage at Index Alloc 2026-09-06 16:13:09 +02:00
tobid7 266075fe4b Readd font support (not workign yet) 2026-09-06 16:13:09 +02:00
tobid7 17df854d99 Update lazyvec / vec api as well as rect are mostly constexpr now 2026-09-06 16:13:08 +02:00
tobid7 d5998c317d Always disable glslang build for NintendoSwitch on Windows 2026-09-06 16:13:08 +02:00
tobid7 22d8e74f25 Present DX9 Frames ... 2026-09-06 16:13:07 +02:00
tobid7 bc09667346 Add a PositionTranslate func and add Errors for TextureSize mismatch 2026-09-06 16:13:07 +02:00
tobid7 1b663aa120 Add PD::Image and add a setter for logfilter 2026-09-06 16:13:06 +02:00
tobid7 71a1abed20 Forgot about dx9 (UNTESTED!!!) 2026-09-06 16:13:06 +02:00
tobid7 f02b67043f Add Os Bridge into test framework 2026-09-06 16:13:05 +02:00
tobid7 35ef853c49 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:13:05 +02:00
tobid7 0fe3872d08 Add nintendo switch support 2026-09-06 16:13:04 +02:00
tobid7 0d4723bd2b Remove Gfx Driver Vertex and IndexBuffer size config 2026-09-06 16:13:03 +02:00
tobid7 8ece89aa62 Add Drawlist
- Add Pool iterator support
- Add Pool Expandability
- Add Pool::Push
- Add Lithium Maths API
- Remove InitPools
- update spirv-helper
2026-09-06 16:13:03 +02:00
tobid7 d055521c2a Replace spirv-helper stuff with a library that combines everything 2026-09-06 16:13:02 +02:00
tobid7 3fa061e58e Add the shaders 2026-09-06 16:13:02 +02:00
tobid7 842ac99e2a 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:13:01 +02:00
tobid7 d0f780381b 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:13:01 +02:00
tobid7 290fece35a Add missing sources 2026-09-06 16:13:00 +02:00
tobid7 b6ba5eb64e Full 3ds support and fix dx9 2026-09-06 16:13:00 +02:00
tobid7 0f7223ff18 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:12:59 +02:00
tobid7 9359167a8e 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:12:59 +02:00
tobid7 1681ec458a More work to drivers
- Add gfx_test
- add texture loading to GfxOpenGL
- add full submit code
- add debug logging
- add construct and destroy functionality to Pool
- add command functionality
- add vertex and index pools to lithium (static and not threadsafe yet)
- Update GfxDriver Matrix with SetViewPort
- Add glfw (only dependency of gfx_test) maybe later required for input driver
2026-09-06 16:12:58 +02:00
tobid7 5ec73d20c3 - Update pool to use template allocator directly instead of std::vector
- Add a GfxDriver config Template to be able to modify settings like allocators / Types for specific Drivers
- Add glad
2026-09-06 16:12:57 +02:00
tobid7 8a94f0ccd0 0.7.0 rewrite dev
- remove everyting
- keep core
-rename bit_utils to bits
- add formatter for  color
- add float getters to color
- start with new drivers api
2026-09-06 16:06:14 +02:00
tobid7 0501a4f87c Make UI7::IO::CurrentViewPort a Reference (finally) 2026-03-18 21:33:35 +01:00
tobid7 3d8b57ead6 add .gitattributes file 2026-03-16 20:28:30 +01:00
tobid7 ac37ce9e12 Fix test 2026-03-14 21:15:40 +01:00
tobid7 ff1b574276 [pd-ui7] add getters for ui7 menu pos and size 2026-03-13 20:55:40 +01:00
tobid7 1b47ed843f [pd-drivers]: Ad more debug values
[pd-3ds]: Use new debug values
[pd-lithium]: Add functionality to DrawList::Optimize
[pd-ui7]: Add setters for Menu pos ans size
2026-03-12 20:18:27 +01:00
tobid7 02d2200edd Fix Render discard issue [pd-3ds]
- Clip Rects do now not discard when they move out of screen (cause the maths ends in < 0 which is not working with u32)
- Fixing ui7 crash wehn im input was nullptr
2026-03-10 18:57:29 +01:00
tobid7 97efca5173 Merge branch 'stable' of https://github.com/tobid7/palladium into stable 2026-03-09 20:47:53 +01:00
tobid7 68cc809555 Fix Drawlist::Clear / Add HashID / FNV Type traits 2026-03-09 20:46:41 +01:00
tobid7 ca490df915 Add U8Iterator and Pool base class 2026-03-05 20:24:47 +01:00
tobid7 da0f7320c8 Add stuff for cmake find_package
- Add build* to gitignore
- Fix year in license file
- other changes are result of clang-format
2026-03-01 21:41:53 +01:00
tobid7 8ee7006d2c Export OS correctly 2026-01-30 20:19:13 +01:00
tobid7 683c226ce0 Fix MSVC dll building 2026-01-29 20:17:04 +01:00
tobid7 1ec06a26cc Fix GL Scissor in Desktop Backend 2026-01-28 07:40:34 +01:00
tobid7 21b45f5855 WIP: Add CLipRects to UI7 Layouts
- Added Scissor Support to Font Rendering
2026-01-28 07:11:56 +01:00
tobid7 090656b30c Fix close sym input logic 2026-01-27 08:06:52 +01:00
tobid7 e8072a064c WIP Backend System Redesign Step 1
- Created 1 Context for Backend Management and Sharing
- Made every class that used a static Backend require the Context or specific Backend
- Bring Back 3ds support
2026-01-26 20:46:27 +01:00
tobid7 892f8ce0c4 Update License Header Text 2026-01-25 21:12:16 +01:00
tobid7 c373b15bab remove drivers pd_p_api header 2026-01-25 21:00:50 +01:00
tobid7 fb46f4d36a Let's just use 1 PD_API header 2026-01-25 20:57:14 +01:00
tobid7 337c016824 Unfiy all sub projects back into 1 libpalladium 2026-01-25 20:44:52 +01:00
tobid7 d2806b2061 Add Nee Backend Structure
Use TexAddress instead of Texture::Ref in Cmds
Add a .clang-format??
2026-01-25 00:04:40 +01:00
tobid7 da79db223f Add MacOS support as well as OpenGL 3.3 support 2026-01-24 23:08:03 +01:00