Unify nineslice and standard rendering paths #84

Open
opened 2026-05-10 06:52:18 +00:00 by abart27 · 0 comments
abart27 commented 2026-05-10 06:52:18 +00:00 (Migrated from github.com)

The nineslice bitmap rendering hack is nasty.

We should look to unify these into one common path, so here's what we can do in ascending order of complexity:

  • Keep only standard rendering. Straight up remove nineslice rendering.
  • Keep only nineslice rendering. Then either:
    • require bitmap resources in the filesystem at all times alongside ugui (SO bad)
    • embed the bitmap resources in Lua and add a BreitbandGraphics API alongside a Mupen API to store and draw them (not bad but a lot of work)
  • Unify both paths under an svg-like abstraction
The nineslice bitmap rendering hack is nasty. We should look to unify these into one common path, so here's what we can do in ascending order of complexity: - Keep only standard rendering. Straight up remove nineslice rendering. - Keep only nineslice rendering. Then either: - require bitmap resources in the filesystem at all times alongside ugui (SO bad) - embed the bitmap resources in Lua and add a BreitbandGraphics API alongside a Mupen API to store and draw them (not bad but a lot of work) - Unify both paths under an svg-like abstraction
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mupen64/ugui#84
No description provided.