Trait x11rb_async::protocol::dri3::ConnectionExt
source · pub trait ConnectionExt: RequestConnection {
// Provided methods
fn dri3_query_version(
&self,
major_version: u32,
minor_version: u32
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>> + Send + '_>> { ... }
fn dri3_open(
&self,
drawable: Drawable,
provider: u32
) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'_, Self, OpenReply>, ConnectionError>> + Send + '_>> { ... }
fn dri3_pixmap_from_buffer<A>(
&self,
pixmap: Pixmap,
drawable: Drawable,
size: u32,
width: u16,
height: u16,
stride: u16,
depth: u8,
bpp: u8,
pixmap_fd: A
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
where A: Into<RawFdContainer> + Send + 'static { ... }
fn dri3_buffer_from_pixmap(
&self,
pixmap: Pixmap
) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'_, Self, BufferFromPixmapReply>, ConnectionError>> + Send + '_>> { ... }
fn dri3_fence_from_fd<A>(
&self,
drawable: Drawable,
fence: u32,
initially_triggered: bool,
fence_fd: A
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>>
where A: Into<RawFdContainer> + Send + 'static { ... }
fn dri3_fd_from_fence(
&self,
drawable: Drawable,
fence: u32
) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'_, Self, FDFromFenceReply>, ConnectionError>> + Send + '_>> { ... }
fn dri3_get_supported_modifiers(
&self,
window: u32,
depth: u8,
bpp: u8
) -> Pin<Box<dyn Future<Output = Result<Cookie<'_, Self, GetSupportedModifiersReply>, ConnectionError>> + Send + '_>> { ... }
fn dri3_pixmap_from_buffers(
&self,
pixmap: Pixmap,
window: Window,
width: u16,
height: u16,
stride0: u32,
offset0: u32,
stride1: u32,
offset1: u32,
stride2: u32,
offset2: u32,
stride3: u32,
offset3: u32,
depth: u8,
bpp: u8,
modifier: u64,
buffers: Vec<RawFdContainer>
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
fn dri3_buffers_from_pixmap(
&self,
pixmap: Pixmap
) -> Pin<Box<dyn Future<Output = Result<CookieWithFds<'_, Self, BuffersFromPixmapReply>, ConnectionError>> + Send + '_>> { ... }
fn dri3_set_drm_device_in_use(
&self,
window: Window,
drm_major: u32,
drm_minor: u32
) -> Pin<Box<dyn Future<Output = Result<VoidCookie<'_, Self>, ConnectionError>> + Send + '_>> { ... }
}Expand description
Extension trait defining the requests of this extension.