Skip to main content

Module aux_target

Module aux_target 

Source
Expand description

The secondary present target: a second surface on the renderer’s existing device (ADR-0143).

The core learns nothing about what the second window means. It is handed a window handle and a list of TextRuns, and it presents them. Every question about which rows, what they say and when they change stays in the shell, where the modal state machines already live.

Behind the text feature, because a secondary target that carries no text and no picture has no consumer: the only frontend that opens one is the standalone, which enables the feature. The plugin’s cdylib, the default cargo build and the core test suite compile this module out entirely, exactly as they do the text layer it is built on.

Structs§

AuxCounts
What AuxTarget::present did with the calls it was given, since attach.
AuxTarget
A second swapchain plus its own text layer.

Enums§

AuxPresentMode
The present mode a secondary surface ended up with, so the shell can record which arm ran (ADR-0071 reporting: a frame-time measurement that does not name its present mode cannot be compared with another machine’s).