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;
}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]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<GLBaseFilter>> GLBaseFilterExt for O[src]
impl<O: IsA<GLBaseFilter>> GLBaseFilterExt for O[src]fn find_gl_context(&self) -> bool[src]
fn find_gl_context(&self) -> bool[src]This is supported on crate feature
v1_16 only.fn gl_context(&self) -> Option<GLContext>[src]
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]
&self,
f: F
) -> SignalHandlerId