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§
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.
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.