[][src]Struct libmpv_sys::mpv_opengl_drm_params_v2

#[repr(C)]pub struct mpv_opengl_drm_params_v2 {
    pub fd: c_int,
    pub crtc_id: c_int,
    pub connector_id: c_int,
    pub atomic_request_ptr: *mut *mut _drmModeAtomicReq,
    pub render_fd: c_int,
}

For MPV_RENDER_PARAM_DRM_DISPLAY_V2.

Fields

fd: c_int

DRM fd (int). Set to -1 if invalid.

crtc_id: c_int

Currently used crtc id

connector_id: c_int

Currently used connector id

atomic_request_ptr: *mut *mut _drmModeAtomicReq

Pointer to a drmModeAtomicReq pointer that is being used for the renderloop. This pointer should hold a pointer to the atomic request pointer The atomic request pointer is usually changed at every renderloop.

render_fd: c_int

DRM render node. Used for VAAPI interop. Set to -1 if invalid.

Trait Implementations

impl Clone for mpv_opengl_drm_params_v2[src]

impl Copy for mpv_opengl_drm_params_v2[src]

impl Debug for mpv_opengl_drm_params_v2[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.