#[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,
}Expand description
For MPV_RENDER_PARAM_DRM_DISPLAY_V2.
Fields§
§fd: c_intDRM fd (int). Set to -1 if invalid.
crtc_id: c_intCurrently used crtc id
connector_id: c_intCurrently used connector id
atomic_request_ptr: *mut *mut _drmModeAtomicReqPointer 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_intDRM render node. Used for VAAPI interop. Set to -1 if invalid.
Trait Implementations§
Source§impl Clone for mpv_opengl_drm_params_v2
impl Clone for mpv_opengl_drm_params_v2
Source§fn clone(&self) -> mpv_opengl_drm_params_v2
fn clone(&self) -> mpv_opengl_drm_params_v2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for mpv_opengl_drm_params_v2
impl Debug for mpv_opengl_drm_params_v2
impl Copy for mpv_opengl_drm_params_v2
Auto Trait Implementations§
impl Freeze for mpv_opengl_drm_params_v2
impl RefUnwindSafe for mpv_opengl_drm_params_v2
impl !Send for mpv_opengl_drm_params_v2
impl !Sync for mpv_opengl_drm_params_v2
impl Unpin for mpv_opengl_drm_params_v2
impl UnwindSafe for mpv_opengl_drm_params_v2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more