GUI: prepare for new pattern renderer

likely two stages, depending on how efficient the first one is

stage 1:
- no more Selectables
- using ImDrawList to draw the pattern
  - perhaps even bypassing that and directly firing quads at the draw queue

stage 2:
- using textures and tiles to draw the pattern
This commit is contained in:
tildearrow 2025-12-27 18:16:33 -05:00
parent 240d3c5718
commit 4db4509621
6 changed files with 115 additions and 0 deletions

View file

@ -4931,6 +4931,8 @@ bool FurnaceGUI::loop() {
}
ImGui::EndMenu();
}
ImGui::Checkbox("New Pattern",&newPatternRenderer);
ImGui::SameLine();
ImGui::PushStyleColor(ImGuiCol_Text,uiColors[GUI_COLOR_PLAYBACK_STAT]);
if (e->isPlaying() && settings.playbackTime) {
TimeMicros totalTime=e->getCurTime();
@ -8765,6 +8767,7 @@ FurnaceGUI::FurnaceGUI():
replacePendingSample(false),
displayExportingROM(false),
displayExportingCS(false),
newPatternRenderer(false),
quitNoSave(false),
changeCoarse(false),
orderLock(false),