Trait gstreamer_gl::prelude::GLDisplayExt
source · pub trait GLDisplayExt:
IsA<GLDisplay>
+ Sealed
+ 'static {
// Provided methods
fn create_window(&self) -> Result<GLWindow, BoolError> { ... }
fn filter_gl_api(&self, gl_api: GLAPI) { ... }
fn gl_api(&self) -> GLAPI { ... }
fn gl_api_unlocked(&self) -> GLAPI { ... }
fn handle_type(&self) -> GLDisplayType { ... }
fn remove_window(
&self,
window: &impl IsA<GLWindow>,
) -> Result<(), BoolError> { ... }
fn connect_create_context<F: Fn(&Self, &GLContext) -> Option<GLContext> + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn create_window(&self) -> Result<GLWindow, BoolError>
fn filter_gl_api(&self, gl_api: GLAPI)
fn gl_api(&self) -> GLAPI
fn gl_api_unlocked(&self) -> GLAPI
fn handle_type(&self) -> GLDisplayType
fn remove_window(&self, window: &impl IsA<GLWindow>) -> Result<(), BoolError>
fn connect_create_context<F: Fn(&Self, &GLContext) -> Option<GLContext> + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.