Skip to main content

Crate libdrmtap_sys

Crate libdrmtap_sys 

Source

Structs§

drmtap_config
Configuration for opening a capture context
drmtap_cursor_info
Cursor state
drmtap_device
A capturable DRM device, as reported by drmtap_list_devices. Layout is frozen: it is written into caller-owned storage, so a future addition must come as a new accessor rather than a new field here.
drmtap_display
Information about a connected display
drmtap_dmabuf_desc
Descriptor of an externally-supplied scanout DMA-BUF (split capture): metadata from the privileged exporter shipped over IPC into drmtap_convert_dmabuf() on the unprivileged side.
drmtap_frame_info
Captured frame data
drmtap_rect
Dirty rectangle from frame differencing

Enums§

drmtap_ctx
Opaque capture context

Constants§

DRMTAP_EOTF_HLG
DRMTAP_EOTF_PQ
DRMTAP_EOTF_SDR
Scanout EOTF (from the connector HDR_OUTPUT_METADATA, CTA-861 numbering)

Functions§

drmtap_close
drmtap_convert_dmabuf
drmtap_convert_format
drmtap_cursor_release
drmtap_deswizzle
drmtap_diff_frames
drmtap_displays_changed
drmtap_error
drmtap_frame_release
drmtap_get_cursor
drmtap_gpu_driver
drmtap_grab
drmtap_grab_desc
drmtap_grab_mapped
drmtap_list_devices
Enumerate every DRM device with KMS resources. A context is bound to one device, so this is how a multi-GPU consumer finds the other cards instead of only ever advertising the displays of the first one.
drmtap_list_displays
drmtap_open
drmtap_open_render
drmtap_render_node
Render node of the device backing ctx, for handing to drmtap_open_render on the converting side of a split so it binds to the GPU that exported the frame. Owned by ctx; NULL if it has none.
drmtap_set_output_buffer
Point the conversion paths at a caller-owned buffer instead of a library-owned one, so a consumer that must end up with the pixels in its own memory does not copy the frame.
drmtap_version