Skip to main content

Crate tilo_presentation

Crate tilo_presentation 

Source
Expand description

Platform-owned observations for native input and exact buffer presentation. Missing protocol support returns false while still presenting the buffer.

Modules§

clock
The platform’s own clock readings, kept apart from relative Instant offsets.
keys
The key an X11 or Wayland keysym names.
text_input
Optional original-field acknowledgements beside standard native IME delivery: no transcript, and no microphone or input ownership. A field’s purpose, its keyed fingerprint, its editing history’s status, and the receipts of edits a host defers to a field’s original owner are named here, so a toolkit and an engine share them.

Structs§

DamageRect
An outward-rounded rectangle in framebuffer pixels.

Enums§

Feedback

Functions§

crops_frames
Whether a frame present shows may fill only the top-left corner of a larger buffer: the window shows the frame’s own pixels, so its swapchain can outlast a change of size.
desktop_draws_frame
What the desktop said about the window’s frame: Some(true) where it draws it (KDE, X11 window managers), Some(false) where it asks the app to (GNOME on Wayland), None until it says or where desktops always draw it.
device_numbers
The (major, minor) of the device node at path, as the filesystem reports it; None where the path is no device node.
key_stamp
present
Present a frame of size pixels that present commits, at the size it was drawn for, and report its presentation to observer when one is given. Returns whether it is observed. The window’s next redraw waits for this frame’s callback: frames are paced by the display, whichever thread commits them.
supported