implements PLN-0100

This commit is contained in:
2026-06-15 05:46:28 +01:00
parent a268bd0b75
commit 18cfeedbff
8 changed files with 62 additions and 16 deletions
@@ -2,7 +2,8 @@ use crate::{CrashReport, SystemOS};
use prometeu_hal::color::Color;
use prometeu_hal::primitives::Rect;
use prometeu_hal::{
FrameId, GfxUiCommand, HardwareBridge, InputSignals, RenderSubmission, ShellUiFramePacket,
FrameId, GfxUiCommand, HardwareBridge, InputSignals, LegacyHardwareRenderSubmissionSink,
RenderSubmission, RenderSubmissionSink, ShellUiFramePacket,
};
use prometeu_vm::VirtualMachine;
@@ -142,7 +143,9 @@ impl PrometeuHub {
}
ShellUiFramePacket::new(commands)
};
hw.publish_render_submission(&RenderSubmission::shell_ui(FrameId::ZERO, packet));
LegacyHardwareRenderSubmissionSink::new(hw)
.submit_render_submission(RenderSubmission::shell_ui(FrameId::ZERO, packet))
.expect("hub render submission should publish");
}
pub fn update_shell_profile(