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

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

Trait containing all GLBaseFilter methods.

Implementors

crate::GLBaseFilter, crate::GLFilter

Required methods

fn find_gl_context(&self) -> bool[src]

This is supported on crate feature v1_16 only.

Returns

Whether an OpenGL context could be retrieved or created successfully

fn gl_context(&self) -> Option<GLContext>[src]

This is supported on crate feature v1_18 only.

Returns

the crate::GLContext found by self

fn context(&self) -> Option<GLContext>[src]

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

Loading content...

Implementors

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

fn find_gl_context(&self) -> bool[src]

This is supported on crate feature v1_16 only.

fn gl_context(&self) -> Option<GLContext>[src]

This is supported on crate feature v1_18 only.

fn context(&self) -> Option<GLContext>[src]

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

Loading content...