implements PLN-0082 render publication boundary

This commit is contained in:
2026-05-25 14:18:40 +01:00
parent 74df4b89ac
commit 41266d3fd5
11 changed files with 54 additions and 35 deletions
@@ -1,7 +1,9 @@
use crate::{CrashReport, SystemOS};
use prometeu_hal::color::Color;
use prometeu_hal::primitives::Rect;
use prometeu_hal::{GfxUiCommand, HardwareBridge, InputSignals, ShellUiFramePacket};
use prometeu_hal::{
FrameId, GfxUiCommand, HardwareBridge, InputSignals, RenderSubmission, ShellUiFramePacket,
};
use prometeu_vm::VirtualMachine;
const SHELL_A_BUTTON: Rect = Rect { x: 112, y: 108, w: 112, h: 48 };
@@ -140,7 +142,7 @@ impl PrometeuHub {
}
ShellUiFramePacket::new(commands)
};
hw.render_shell_ui_packet(&packet);
hw.publish_render_submission(&RenderSubmission::shell_ui(FrameId::ZERO, packet));
}
pub fn update_shell_profile(
@@ -162,7 +164,6 @@ impl PrometeuHub {
}
self.render(os, hw);
hw.present();
SystemProfileUpdate { crash, action }
}