[][src]Trait gstreamer_gl::prelude::GLBaseFilterExt

pub trait GLBaseFilterExt: 'static {
    fn find_gl_context(&self) -> bool;
fn get_gl_context(&self) -> Option<GLContext>;
fn get_property_context(&self) -> Option<GLContext>;
fn connect_property_context_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Trait containing all GLBaseFilter methods.

Feature: v1_16

Implementors

GLBaseFilter

Required methods

fn find_gl_context(&self) -> bool

Feature: v1_16

Returns

Whether an OpenGL context could be retrieved or created successfully

fn get_gl_context(&self) -> Option<GLContext>

Feature: v1_18

Returns

the GLContext found by self

fn get_property_context(&self) -> Option<GLContext>

fn connect_property_context_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<GLBaseFilter>> GLBaseFilterExt for O[src]

Loading content...