implements PLN-0109
This commit is contained in:
@@ -31,6 +31,13 @@ MUST contain a frame id, the active app mode, and one typed packet:
|
||||
immutable. The runtime backpressure policy is latest-complete-submission-wins;
|
||||
it MUST NOT accumulate an unbounded frame queue.
|
||||
|
||||
The platform layer is the runtime-facing implementation boundary for render
|
||||
handoff. Runtime and firmware code publish completed frames through typed
|
||||
platform services such as `RenderSubmissionSink`, and they access Game 2D
|
||||
composition through `Game2DFrameComposer`. They MUST NOT depend on a monolithic
|
||||
hardware bridge, mutable `Hardware`, mutable `Gfx`, or live `FrameComposer`
|
||||
reference as the render handoff contract.
|
||||
|
||||
The current 2D graphics model is based on:
|
||||
|
||||
- framebuffer
|
||||
@@ -127,6 +134,10 @@ to the logical/runtime side before handoff, or to an owning service. They MUST
|
||||
NOT require the render consumer to hold mutable VM, `Hardware`, `Gfx`, or
|
||||
`FrameComposer` references.
|
||||
|
||||
Local host implementations may keep a concrete hardware object internally as a
|
||||
platform implementation detail. That object is not part of the runtime-facing
|
||||
render boundary; the boundary is the typed platform service set.
|
||||
|
||||
The runtime does not guarantee visual integrity if a developer or framework
|
||||
replaces resources behind an in-flight submission in a way that violates asset
|
||||
discipline.
|
||||
|
||||
Reference in New Issue
Block a user