LavaUI docs GitHub

message VideoTarget

Control plane

message VideoTarget

Where a client must render a frame for the compositor to sample it without a copy through the CPU: which GPU, and which layouts of DRM_FORMAT_ABGR8888 that GPU can import.

The client allocates on renderNode because a dma-buf from another GPU is a buffer this device cannot read — on a laptop with two, that is the usual way to get it wrong. modifiers is what the compositor can blit from; the client's allocator picks one it can also render to.

idl/lava.npidl:121

Fields

modifiers: vector<u64>

Not documented.

idl/lava.npidl:125

renderNode: string

/dev/dri/renderD* of the compositor's device. Empty if it has none it can name, in which case there is no video path.

idl/lava.npidl:124