gstreamer_gl::subclass::prelude

Trait GLBaseFilterImpl

Source
pub trait GLBaseFilterImpl: BaseTransformImpl + ObjectSubclass<Type: IsA<GLBaseFilter>> {
    // Provided methods
    fn gl_set_caps(
        &self,
        incaps: &Caps,
        outcaps: &Caps,
    ) -> Result<(), LoggableError> { ... }
    fn gl_start(&self) -> Result<(), LoggableError> { ... }
    fn gl_stop(&self) { ... }
}

Provided Methods§

Source

fn gl_set_caps( &self, incaps: &Caps, outcaps: &Caps, ) -> Result<(), LoggableError>

called in the GL thread when caps are set on self. Note: this will also be called when changing OpenGL contexts where set_caps may not.

Source

fn gl_start(&self) -> Result<(), LoggableError>

called in the GL thread to setup the element GL state.

Source

fn gl_stop(&self)

called in the GL thread to setup the element GL state.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§