Trait gstreamer_gl::auto::gl_display::GLDisplayExt

source ·
pub trait GLDisplayExt:
    IsA<GLDisplay>
    + Sealed
    + 'static {
    // Provided methods
    fn create_window(&self) -> Result<GLWindow, BoolError> { ... }
    fn filter_gl_api(&self, gl_api: GLAPI) { ... }
    fn gl_api(&self) -> GLAPI { ... }
    fn gl_api_unlocked(&self) -> GLAPI { ... }
    fn handle_type(&self) -> GLDisplayType { ... }
    fn remove_window(
        &self,
        window: &impl IsA<GLWindow>,
    ) -> Result<(), BoolError> { ... }
    fn connect_create_context<F: Fn(&Self, &GLContext) -> Option<GLContext> + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn create_window(&self) -> Result<GLWindow, BoolError>

source

fn filter_gl_api(&self, gl_api: GLAPI)

source

fn gl_api(&self) -> GLAPI

source

fn gl_api_unlocked(&self) -> GLAPI

source

fn handle_type(&self) -> GLDisplayType

source

fn remove_window(&self, window: &impl IsA<GLWindow>) -> Result<(), BoolError>

source

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

Object Safety§

This trait is not object safe.

Implementors§