Trait x11rb::protocol::xvmc::ConnectionExt

source ·
pub trait ConnectionExt: RequestConnection {
    // Provided methods
    fn xvmc_query_version(
        &self
    ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError> { ... }
    fn xvmc_list_surface_types(
        &self,
        port_id: Port
    ) -> Result<Cookie<'_, Self, ListSurfaceTypesReply>, ConnectionError> { ... }
    fn xvmc_create_context(
        &self,
        context_id: Context,
        port_id: Port,
        surface_id: Surface,
        width: u16,
        height: u16,
        flags: u32
    ) -> Result<Cookie<'_, Self, CreateContextReply>, ConnectionError> { ... }
    fn xvmc_destroy_context(
        &self,
        context_id: Context
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn xvmc_create_surface(
        &self,
        surface_id: Surface,
        context_id: Context
    ) -> Result<Cookie<'_, Self, CreateSurfaceReply>, ConnectionError> { ... }
    fn xvmc_destroy_surface(
        &self,
        surface_id: Surface
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn xvmc_create_subpicture(
        &self,
        subpicture_id: Subpicture,
        context: Context,
        xvimage_id: u32,
        width: u16,
        height: u16
    ) -> Result<Cookie<'_, Self, CreateSubpictureReply>, ConnectionError> { ... }
    fn xvmc_destroy_subpicture(
        &self,
        subpicture_id: Subpicture
    ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... }
    fn xvmc_list_subpicture_types(
        &self,
        port_id: Port,
        surface_id: Surface
    ) -> Result<Cookie<'_, Self, ListSubpictureTypesReply>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

fn xvmc_query_version( &self ) -> Result<Cookie<'_, Self, QueryVersionReply>, ConnectionError>

source

fn xvmc_list_surface_types( &self, port_id: Port ) -> Result<Cookie<'_, Self, ListSurfaceTypesReply>, ConnectionError>

source

fn xvmc_create_context( &self, context_id: Context, port_id: Port, surface_id: Surface, width: u16, height: u16, flags: u32 ) -> Result<Cookie<'_, Self, CreateContextReply>, ConnectionError>

source

fn xvmc_destroy_context( &self, context_id: Context ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xvmc_create_surface( &self, surface_id: Surface, context_id: Context ) -> Result<Cookie<'_, Self, CreateSurfaceReply>, ConnectionError>

source

fn xvmc_destroy_surface( &self, surface_id: Surface ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xvmc_create_subpicture( &self, subpicture_id: Subpicture, context: Context, xvimage_id: u32, width: u16, height: u16 ) -> Result<Cookie<'_, Self, CreateSubpictureReply>, ConnectionError>

source

fn xvmc_destroy_subpicture( &self, subpicture_id: Subpicture ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xvmc_list_subpicture_types( &self, port_id: Port, surface_id: Surface ) -> Result<Cookie<'_, Self, ListSubpictureTypesReply>, ConnectionError>

Object Safety§

This trait is not object safe.

Implementors§