LavaUI docs GitHub

struct VideoTarget

Swift

struct VideoTarget

Where a client must allocate its buffers: the renderer's GPU, and the layouts of DRM_FORMAT_ABGR8888 it can import.

Sources/LavaUI/VideoFrames.swift:12

Constructors

init(renderNode: String, modifiers: [UInt64])

Not documented.

Sources/LavaUI/VideoFrames.swift:18

Properties

var modifiers: [UInt64]

Not documented.

Sources/LavaUI/VideoFrames.swift:16

var renderNode: String

/dev/dri/renderD*. A buffer from another GPU is not importable at all, which on a laptop with two is the usual way to get this wrong.

Sources/LavaUI/VideoFrames.swift:15