Struct gstreamer_gl_sys::GstGLContextClass
source · #[repr(C)]pub struct GstGLContextClass {Show 16 fields
pub parent_class: GstObjectClass,
pub get_current_context: Option<unsafe extern "C" fn() -> uintptr_t>,
pub get_gl_context: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> uintptr_t>,
pub get_gl_api: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> GstGLAPI>,
pub get_gl_platform: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> GstGLPlatform>,
pub get_proc_address: Option<unsafe extern "C" fn(_: GstGLAPI, _: *const c_char) -> gpointer>,
pub activate: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: gboolean) -> gboolean>,
pub choose_format: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut *mut GError) -> gboolean>,
pub create_context: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: GstGLAPI, _: *mut GstGLContext, _: *mut *mut GError) -> gboolean>,
pub destroy_context: Option<unsafe extern "C" fn(_: *mut GstGLContext)>,
pub swap_buffers: Option<unsafe extern "C" fn(_: *mut GstGLContext)>,
pub check_feature: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *const c_char) -> gboolean>,
pub get_gl_platform_version: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut c_int, _: *mut c_int)>,
pub get_config: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> *mut GstStructure>,
pub request_config: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut GstStructure) -> gboolean>,
pub _reserved: [gpointer; 2],
}
Fields§
§parent_class: GstObjectClass
§get_current_context: Option<unsafe extern "C" fn() -> uintptr_t>
§get_gl_context: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> uintptr_t>
§get_gl_api: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> GstGLAPI>
§get_gl_platform: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> GstGLPlatform>
§get_proc_address: Option<unsafe extern "C" fn(_: GstGLAPI, _: *const c_char) -> gpointer>
§activate: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: gboolean) -> gboolean>
§choose_format: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut *mut GError) -> gboolean>
§create_context: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: GstGLAPI, _: *mut GstGLContext, _: *mut *mut GError) -> gboolean>
§destroy_context: Option<unsafe extern "C" fn(_: *mut GstGLContext)>
§swap_buffers: Option<unsafe extern "C" fn(_: *mut GstGLContext)>
§check_feature: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *const c_char) -> gboolean>
§get_gl_platform_version: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut c_int, _: *mut c_int)>
§get_config: Option<unsafe extern "C" fn(_: *mut GstGLContext) -> *mut GstStructure>
§request_config: Option<unsafe extern "C" fn(_: *mut GstGLContext, _: *mut GstStructure) -> gboolean>
§_reserved: [gpointer; 2]
Trait Implementations§
source§impl Clone for GstGLContextClass
impl Clone for GstGLContextClass
source§fn clone(&self) -> GstGLContextClass
fn clone(&self) -> GstGLContextClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GstGLContextClass
impl Debug for GstGLContextClass
impl Copy for GstGLContextClass
Auto Trait Implementations§
impl Freeze for GstGLContextClass
impl RefUnwindSafe for GstGLContextClass
impl !Send for GstGLContextClass
impl !Sync for GstGLContextClass
impl Unpin for GstGLContextClass
impl UnwindSafe for GstGLContextClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)