Function smithay::backend::renderer::buffer_dimensions [−][src]
pub fn buffer_dimensions(buffer: &WlBuffer) -> Option<Size<i32, Physical>>
Expand description
Returns the dimensions of a wl_buffer
Note: This will only return dimensions for buffer types known to smithay (see buffer_type
)