Commit Graph
182 Commits
Author SHA1 Message Date
tobid7 2df2725ed7 Add FontStack to UI7 and uncomment layer lines 2026-09-06 16:06:14 +02:00
tobid7 31e5cee5f9 move and fix scrolling to layout
Scrolling was hardcoded to 3ds sCrEeNhEiGhT wTh
2026-09-06 16:06:14 +02:00
tobid7 db2757ff1b Layers are back 2026-09-06 16:06:14 +02:00
tobid7 4d1a89fb52 hotfix 2026-09-06 16:06:14 +02:00
tobid7 01bc881875 Add Hid3DS 2026-09-06 16:06:14 +02:00
tobid7 9d9e4d26b4 Bring back global lithium pools
why?
cause sorting around the global driver pool would basically use more cpu power then just copy data sequences into the right order
And sorting data references costs 0 performance at all
2026-09-06 16:06:14 +02:00
tobid7 029b91975b Add Drawlist Vertex and Indexcount geteter (for debugging usage only) 2026-09-06 16:06:14 +02:00
tobid7 afe5b4b003 Fix The rest of UI7 Mem leaks
Throw OneFrame living objs into a pool
2026-09-06 16:06:14 +02:00
tobid7 3a1ea8c37f stop leaking idobj memory (and coloredit layout mem) 2026-09-06 16:06:14 +02:00
tobid7 6d4796ac19 dx9: update device size on window size change 2026-09-06 16:06:14 +02:00
tobid7 a83a1f4ef1 format documents 2026-09-06 16:06:14 +02:00
tobid7 f159f3bb3f unload debugfont and add Gfx debug menu 2026-09-06 16:06:14 +02:00
tobid7 e980559e85 fix random garbage ptr issues 2026-09-06 16:06:14 +02:00
tobid7 5297917775 Fix Indexorder issues and patchfixsomehow dx9 tex filtering 2026-09-06 16:06:14 +02:00
tobid7 461320bef8 No big update without msvc compiler errors :/ 2026-09-06 16:06:14 +02:00
tobid7 fec349a575 More timings 2026-09-06 16:06:14 +02:00
tobid7 c84144bf9e UI7 is BACK!
took me about a full week to get something to render again withour shared_ptrs
as of now this is very unstable, untested and lacking a lot of features due to lithium is lacking the base for that
Added JetBrainsMono font as debug font for the metrics
2026-09-06 16:06:14 +02:00
tobid7 2adb9c0126 Add missing GetDriverName to Os 2026-09-06 16:06:14 +02:00
tobid7 bc161c77ad Draw the line (oder so) 2026-09-06 16:06:14 +02:00
tobid7 bb4d06d28b Load the font async for now 2026-09-06 16:06:14 +02:00
tobid7 38871d9d75 n3ds-boost 2026-09-06 16:06:14 +02:00
tobid7 17e3b3a1d3 SDF & MONOSPACE FONT RENDERING 2026-09-06 16:06:14 +02:00
tobid7 4ce261851b save 75% of font memory 2026-09-06 16:06:14 +02:00
tobid7 79ef0c5a21 Upload pools once per Gfx::Draw and FIX DX9 2026-09-06 16:06:14 +02:00
tobid7 4c8befb6b7 reset pools on newframe 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 02be117b5a faster rect command creation 2026-09-06 16:06:14 +02:00
tobid7 9f6deeb18d cache ascii chars directly 2026-09-06 16:06:14 +02:00
tobid7 b6f9688de5 insane performance boost (on 3ds) 2026-09-06 16:06:14 +02:00
tobid7 b8e46a047f time trace is back 2026-09-06 16:06:14 +02:00
tobid7 10768985ff implement Image::Convert and Image::Flip 2026-09-06 16:06:14 +02:00
tobid7 ec0020a877 pool append move and copy 2026-09-06 16:06:14 +02:00
tobid7 efbdd7453f # small fixes
- Fix Os::GetTimeNano()
- only build tests on non vendored usage
2026-09-06 16:06:14 +02:00
tobid7 e461f64c02 Fix 2026-09-06 16:06:14 +02:00
tobid7 6c994fab6a Fix 3ds build and update libpicasso 2026-09-06 16:06:14 +02:00
tobid7 b74c3e8c10 remove poc func 2026-09-06 16:06:14 +02:00
tobid7 a8f4aeb3b9 Add support for rotated gradients 2026-09-06 16:06:14 +02:00
tobid7 f26dd2fec4 Add stick and trigger input support 2026-09-06 16:06:14 +02:00
tobid7 4ada21840f Fix clang warning 2026-09-06 16:06:14 +02:00
tobid7 c0289281ba fix preset names for Selection Views 2026-09-06 16:06:14 +02:00
tobid7 ddd1765ba3 Add NX Hid Driver Template
- Add WIP HidNX Driver (clangd not working with devkitpro for switch on windows)
- Add default-release as default search path for compile_commands.json
- remove mingw preset (casue its exactly the default target)
- Move Mouse pos cycle into HidDriver::Update
- Test around with HidGlfw on Nintendo switch
2026-09-06 16:06:14 +02:00
tobid7 86db24b382 Add proper Gamepad support (WIP) 2026-09-06 16:06:14 +02:00
tobid7 d6b03f7f3c allo wPD::Color in Drawlist 2026-09-06 16:06:14 +02:00
tobid7 09872b1fbe Add Input functionality to Ultra
- Add point InSpace check to PD::Li::Math
- Add Universal AlignmentCenter flag for Horizontal and and Vertical Alignment
-  Add Fallbackfont to Layout (if you dont want to set font per object)
- Add Button Object WIP
- Rename OnHover to OnFocus and add OnUnfocus
- Move font and FontScale to ElementBase (for fallback logic etc)
- Add UpdateInput func to ElementBase
- Corectly Set fontScale in Text Rendering
- Update ecample
2026-09-06 16:06:14 +02:00
tobid7 fd19c48f73 Allow implicit usage of "#ffffffff" etc 2026-09-06 16:06:14 +02:00
tobid7 0ac1e08d54 Add HidDriver base and small HidGLFW driver 2026-09-06 16:06:14 +02:00
tobid7 f7c2e7fa4f rename PDBackendFlags to PDGfxBackendFlags 2026-09-06 16:06:14 +02:00
tobid7 ca8f2f7dbb Implement VCanvas and Update TextElem
- Text now requires a font and is able to take an individual scale
- Container requires &ref for Elements to make sure they always exist
- SetViewport now sets the canvas as well
- SetBaseViewport Sets the Virtual Canvas Size
- Layout Now requires a Drawlist reference in Render function
- main.cpp: updated the template
2026-09-06 16:06:14 +02:00
tobid7 877f48d7b3 Actually implement ultra-rendering 2026-09-06 16:06:14 +02:00
tobid7 996ab44867 Rework Project Ultra
- Added container
- Made container the base of Layout
- Set Containers theirself as pParent for Elements on Push
2026-09-06 16:06:14 +02:00