message GpuAllocation
Control plane
message GpuAllocation
One allocation, and who asked for it.
idl/lava.npidl:706
Fields
bytes: u64
Not documented.
idl/lava.npidl:720
category: string
The category's name, so a viewer needs no table of its own.
idl/lava.npidl:713
detail: string
Free text from whoever allocated it: "multisampled depth attachment", a texture cache key, "blur level".
idl/lava.npidl:719
foreign: boolean
Another process's memory, mapped in for sampling — a client's buffer.
Never counted in ownBytes.
idl/lava.npidl:733
height: u32
Not documented.
idl/lava.npidl:724
isImage: boolean
False for buffers, where the dimensions below mean nothing.
idl/lava.npidl:722
kind: u32
GpuCategory as a number: what role this plays. Kept as an integer
rather than an enum so a compositor that learns a new category does not
break a debug app built against the old list — an unknown number displays
as its own name from category.
idl/lava.npidl:711
mipLevels: u32
Not documented.
idl/lava.npidl:727
retiring: boolean
Freed but not yet released, because a submitted frame may still name it. Still occupying memory, which is why it is still in the report.
idl/lava.npidl:730
samples: u32
1 for everything that is not a render target.
idl/lava.npidl:726
width: u32
Not documented.
idl/lava.npidl:723
windowId: u32
The canvas window this belongs to, or 0 for something device-wide. Look
it up in GpuReport.windows for a name.
idl/lava.npidl:716