LavaUI docs GitHub

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:898

Fields

bytes: u64

Everything in the report tagged with this window.

idl/lava.npidl:908

height: u32

Not documented.

idl/lava.npidl:904

id: u32

Canvas window id, matching GpuAllocation.windowId.

idl/lava.npidl:900

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:911

samples: u32

Sample count its colour and depth attachments are multiplied by.

idl/lava.npidl:906

title: string

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

idl/lava.npidl:902

width: u32

Not documented.

idl/lava.npidl:903