[][src]Trait gstreamer_gl::GLDisplayExt

pub trait GLDisplayExt: 'static {
    pub fn add_context<P: IsA<GLContext>>(
        &self,
        context: &P
    ) -> Result<(), BoolError>;
pub fn create_context<P: IsA<GLContext>>(
        &self,
        other_context: &P
    ) -> Result<GLContext, Error>;
pub fn create_window(&self) -> Result<GLWindow, BoolError>;
pub fn filter_gl_api(&self, gl_api: GLAPI);
pub fn get_gl_api(&self) -> GLAPI;
pub fn get_gl_api_unlocked(&self) -> GLAPI;
pub fn get_handle_type(&self) -> GLDisplayType;
pub fn remove_context<P: IsA<GLContext>>(&self, context: &P);
pub fn remove_window<P: IsA<GLWindow>>(
        &self,
        window: &P
    ) -> Result<(), BoolError>;
pub fn connect_create_context<F: Fn(&Self, &GLContext) -> GLContext + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

pub fn add_context<P: IsA<GLContext>>(
    &self,
    context: &P
) -> Result<(), BoolError>
[src]

pub fn create_context<P: IsA<GLContext>>(
    &self,
    other_context: &P
) -> Result<GLContext, Error>
[src]

pub fn create_window(&self) -> Result<GLWindow, BoolError>[src]

pub fn filter_gl_api(&self, gl_api: GLAPI)[src]

pub fn get_gl_api(&self) -> GLAPI[src]

pub fn get_gl_api_unlocked(&self) -> GLAPI[src]

pub fn get_handle_type(&self) -> GLDisplayType[src]

pub fn remove_context<P: IsA<GLContext>>(&self, context: &P)[src]

pub fn remove_window<P: IsA<GLWindow>>(
    &self,
    window: &P
) -> Result<(), BoolError>
[src]

pub fn connect_create_context<F: Fn(&Self, &GLContext) -> GLContext + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<GLDisplay>> GLDisplayExt for O[src]

Loading content...