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§

Provided Methods§

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.

source

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.

Implementors§