1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Pipeline stage 5 — output.
//!
//! Framebuffer backends ([`display_backend`]), triple-buffered presentation
//! ([`swapchain`]), async DMA completion slots ([`completion`]), and the 2D
//! [`hud`] overlay composited over the rendered frame.
//!
//! # Writing a display backend
//!
//! The traits below name types from `embedded-graphics-framebuf` in their
//! signatures, so they are re-exported here: a driver needs exactly one `use`:
//!
//! ```
//! use embedded_3dgfx::pipeline::output::{
//! DisplayBackend, DisplayRegion, DmaTransfer, FrameBuf, StandardSwapChain, TransferError,
//! };
//! ```
// Stage facade: the vocabulary for driving a panel, gathered so that a board
// driver imports one path instead of reaching into four submodules. Individual
// submodules stay minimal — this is the deliberate, curated surface for the
// stage as a whole.
pub use ;
pub use ;
pub use ;
// Re-exported because `DisplayBackend` and `DmaTransfer` name them in their
// signatures: an implementor must be able to spell these types without adding
// `embedded-graphics-framebuf` to its own dependencies.
pub use ;
pub use ;