Skip to main content

Module surface

Module surface 

Source
Expand description

Abstract hardware presentation surfaces, swapchain configuration, and frame pacing.

Structs§

FramePacer
Frame pacing coordinator that stabilizes frame presentation deadlines and calculates sleep intervals.
SoftwareSurfacePresenter
Zero-dependency software presentation surface holding a target backing pixel store.
SurfaceConfig
Configuration descriptor for a presentation surface and its swapchain.
SurfaceHandle
Abstract opaque handle to a native window surface for presentation.
SwapchainCompositor
Orchestrates display list compilation, damage scissoring, and swapchain presentation.

Enums§

PresentError
Potential presentation and swapchain errors.
PresentMode
Presentation mode defining how swapchain images are presented to the display server.
RefreshRate
Target display refresh rate for frame pacing and VSync synchronization.
SwapchainFormat
Color format for pixel data stored in the swapchain surface.

Traits§

SurfacePresenter
Abstract hardware presentation surface capable of receiving rendered frames.