Trait gstreamer_gl::subclass::prelude::GLBaseSrcImpl
source · pub trait GLBaseSrcImpl: GLBaseSrcImplExt + PushSrcImpl {
const SUPPORTED_GL_API: GLAPI;
// Provided methods
fn gl_start(&self) -> Result<(), LoggableError> { ... }
fn gl_stop(&self) { ... }
fn fill_gl_memory(&self, memory: &GLMemory) -> Result<(), LoggableError> { ... }
}
Required Associated Constants§
const SUPPORTED_GL_API: GLAPI
Provided Methods§
sourcefn gl_start(&self) -> Result<(), LoggableError>
fn gl_start(&self) -> Result<(), LoggableError>
called in the GL thread to setup the element GL state.
sourcefn fill_gl_memory(&self, memory: &GLMemory) -> Result<(), LoggableError>
fn fill_gl_memory(&self, memory: &GLMemory) -> Result<(), LoggableError>
called in the GL thread to fill the current video texture.
Object Safety§
This trait is not object safe.