Trait gstreamer_gl::subclass::prelude::GLBaseFilterImpl
source · pub trait GLBaseFilterImpl: GLBaseFilterImplExt + BaseTransformImpl {
// 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§
sourcefn gl_set_caps(
&self,
incaps: &Caps,
outcaps: &Caps,
) -> Result<(), LoggableError>
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.
sourcefn gl_start(&self) -> Result<(), LoggableError>
fn gl_start(&self) -> Result<(), LoggableError>
called in the GL thread to setup the element GL state.
Object Safety§
This trait is not object safe.