message GpuAllocation
Control plane
message GpuAllocation
One allocation, and who asked for it.
idl/lava.npidl:863
Fields
bytes: u64
Not documented.
idl/lava.npidl:877
category: string
The category's name, so a viewer needs no table of its own.
idl/lava.npidl:870
detail: string
Free text from whoever allocated it: "multisampled depth attachment", a texture cache key, "blur level".
idl/lava.npidl:876
foreign: boolean
Another process's memory, mapped in for sampling — a client's buffer.
Never counted in ownBytes.
idl/lava.npidl:890
height: u32
Not documented.
idl/lava.npidl:881
isImage: boolean
False for buffers, where the dimensions below mean nothing.
idl/lava.npidl:879
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:868
mipLevels: u32
Not documented.
idl/lava.npidl:884
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:887
samples: u32
1 for everything that is not a render target.
idl/lava.npidl:883
width: u32
Not documented.
idl/lava.npidl:880
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:873