feat(runtime): support Studio Play and separate integration gates
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good
Add the windowless Studio host with authenticated binary control/frame channels, managed input, pause/resume/stop, frame ownership and save-aware shutdown. Preserve deterministic headless execution and add protocol/process fixtures. Separate unit CI and coverage from opt-in integration/socket qualification, retaining the prior combined coverage floors in the configuration history. Validation: tooling make verify passed runtime ci-domains and integration.
This commit is contained in:
@@ -40,6 +40,19 @@ impl LatestRenderFrameStore {
|
||||
pub fn latest_frame(&self) -> Option<OwnedRgba8888Frame> {
|
||||
self.latest.lock().unwrap().clone()
|
||||
}
|
||||
|
||||
/// Copy only a different complete publication; paused observers need not copy pixels.
|
||||
pub fn latest_frame_after(
|
||||
&self,
|
||||
previous: Option<(RenderOwnership, FrameId)>,
|
||||
) -> Option<OwnedRgba8888Frame> {
|
||||
self.latest
|
||||
.lock()
|
||||
.unwrap()
|
||||
.as_ref()
|
||||
.filter(|frame| previous != Some((frame.ownership, frame.frame_id)))
|
||||
.cloned()
|
||||
}
|
||||
}
|
||||
|
||||
impl RenderWorkerFrameSink for LatestRenderFrameStore {
|
||||
|
||||
Reference in New Issue
Block a user