Commit Graph
183 Commits
Author SHA1 Message Date
tobid7 15667c17de reset layers and give menus a base layer to gather perfect ordered rendering 2026-09-06 16:13:41 +02:00
tobid7 23cb94267a Add FontStack to UI7 and uncomment layer lines 2026-09-06 16:13:41 +02:00
tobid7 763d947413 move and fix scrolling to layout
Scrolling was hardcoded to 3ds sCrEeNhEiGhT wTh
2026-09-06 16:13:40 +02:00
tobid7 e6a9604c55 Layers are back 2026-09-06 16:13:40 +02:00
tobid7 619b4d4e93 hotfix 2026-09-06 16:13:39 +02:00
tobid7 597488717f Add Hid3DS 2026-09-06 16:13:39 +02:00
tobid7 5d8ce7f56f 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:13:38 +02:00
tobid7 8cd292bcc3 Add Drawlist Vertex and Indexcount geteter (for debugging usage only) 2026-09-06 16:13:38 +02:00
tobid7 9ef52bcd05 Fix The rest of UI7 Mem leaks
Throw OneFrame living objs into a pool
2026-09-06 16:13:37 +02:00
tobid7 e8bc35b2fb stop leaking idobj memory (and coloredit layout mem) 2026-09-06 16:13:37 +02:00
tobid7 fa20c743d0 dx9: update device size on window size change 2026-09-06 16:13:36 +02:00
tobid7 79e7682e2d format documents 2026-09-06 16:13:36 +02:00
tobid7 3fd005e8a6 unload debugfont and add Gfx debug menu 2026-09-06 16:13:35 +02:00
tobid7 fa4d32fa5e fix random garbage ptr issues 2026-09-06 16:13:34 +02:00
tobid7 6521bdc711 Fix Indexorder issues and patchfixsomehow dx9 tex filtering 2026-09-06 16:13:34 +02:00
tobid7 457460e7a8 No big update without msvc compiler errors :/ 2026-09-06 16:13:33 +02:00
tobid7 a04efd602a More timings 2026-09-06 16:13:33 +02:00
tobid7 d7188aa140 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:13:32 +02:00
tobid7 a958222c29 Add missing GetDriverName to Os 2026-09-06 16:13:32 +02:00
tobid7 391221a6a6 Draw the line (oder so) 2026-09-06 16:13:31 +02:00
tobid7 fb04d5ec79 Load the font async for now 2026-09-06 16:13:31 +02:00
tobid7 89e98bbcc2 n3ds-boost 2026-09-06 16:13:30 +02:00
tobid7 83e06e013f SDF & MONOSPACE FONT RENDERING 2026-09-06 16:13:30 +02:00
tobid7 70e5f8859a save 75% of font memory 2026-09-06 16:13:29 +02:00
tobid7 b1cf3840af Upload pools once per Gfx::Draw and FIX DX9 2026-09-06 16:13:29 +02:00
tobid7 ccb5191551 reset pools on newframe 2026-09-06 16:13:28 +02:00
tobid7 affad4febd move global pools into gfx driver
prevents double copy problems
saves memory
(needs to be optimized...)
2026-09-06 16:13:28 +02:00
tobid7 839af66858 faster rect command creation 2026-09-06 16:13:27 +02:00
tobid7 847259cb48 cache ascii chars directly 2026-09-06 16:13:26 +02:00
tobid7 fa7812a51b insane performance boost (on 3ds) 2026-09-06 16:13:26 +02:00
tobid7 e05c915c36 time trace is back 2026-09-06 16:13:25 +02:00
tobid7 2423784ec7 implement Image::Convert and Image::Flip 2026-09-06 16:13:25 +02:00
tobid7 4ee10208c7 pool append move and copy 2026-09-06 16:13:24 +02:00
tobid7 03418f38d5 # small fixes
- Fix Os::GetTimeNano()
- only build tests on non vendored usage
2026-09-06 16:13:24 +02:00
tobid7 8a7a1d7fe8 Fix 2026-09-06 16:13:23 +02:00
tobid7 3d385583f2 Fix 3ds build and update libpicasso 2026-09-06 16:13:23 +02:00
tobid7 4c15f91e88 remove poc func 2026-09-06 16:13:22 +02:00
tobid7 da4baf8fbd Add support for rotated gradients 2026-09-06 16:13:22 +02:00
tobid7 eda4213ffc Add stick and trigger input support 2026-09-06 16:13:21 +02:00
tobid7 9535ec06c0 Fix clang warning 2026-09-06 16:13:21 +02:00
tobid7 979a043034 fix preset names for Selection Views 2026-09-06 16:13:20 +02:00
tobid7 6116f97bba 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:13:20 +02:00
tobid7 8ac08b15d4 Add proper Gamepad support (WIP) 2026-09-06 16:13:19 +02:00
tobid7 429514ce8b allo wPD::Color in Drawlist 2026-09-06 16:13:19 +02:00
tobid7 69936b1cf0 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:13:18 +02:00
tobid7 f058dfd0b8 Allow implicit usage of "#ffffffff" etc 2026-09-06 16:13:18 +02:00
tobid7 d43ed70ba3 Add HidDriver base and small HidGLFW driver 2026-09-06 16:13:17 +02:00
tobid7 5db9bae9f8 rename PDBackendFlags to PDGfxBackendFlags 2026-09-06 16:13:17 +02:00
tobid7 82d5fa6ae3 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:13:16 +02:00
tobid7 3805e08b31 Actually implement ultra-rendering 2026-09-06 16:13:16 +02:00