LavaUI docs

message GpuWindow

Control plane

message GpuWindow

One canvas window and what its attachments cost.

A window here is not a window on screen: one visible window is up to four of these — its contents, its title bar, its drop shadow and the frost behind it — and they are different sizes, which is why title says which is which.

idl/lava.npidl:741

Fields

bytes: u64

Everything in the report tagged with this window.

idl/lava.npidl:751

height: u32

Not documented.

idl/lava.npidl:747

id: u32

Canvas window id, matching GpuAllocation.windowId.

idl/lava.npidl:743

presenting: boolean

False for an offscreen surface, which is every client window a compositor draws — only a windowed app presents through a swapchain.

idl/lava.npidl:754

samples: u32

Sample count its colour and depth attachments are multiplied by.

idl/lava.npidl:749

title: string

"LavaTerm (contents, surface 5)". Empty if the compositor cannot name it.

idl/lava.npidl:745

width: u32

Not documented.

idl/lava.npidl:746