Trait gdk4::prelude::GLContextExt
source · pub trait GLContextExt: IsA<GLContext> + Sealed + 'static {
Show 15 methods
// Provided methods
fn is_debug_enabled(&self) -> bool { ... }
fn display(&self) -> Option<Display> { ... }
fn is_forward_compatible(&self) -> bool { ... }
fn required_version(&self) -> (i32, i32) { ... }
fn shared_context(&self) -> Option<GLContext> { ... }
fn surface(&self) -> Option<Surface> { ... }
fn uses_es(&self) -> bool { ... }
fn version(&self) -> (i32, i32) { ... }
fn is_legacy(&self) -> bool { ... }
fn make_current(&self) { ... }
fn realize(&self) -> Result<(), Error> { ... }
fn set_debug_enabled(&self, enabled: bool) { ... }
fn set_forward_compatible(&self, compatible: bool) { ... }
fn set_required_version(&self, major: i32, minor: i32) { ... }
fn set_use_es(&self, use_es: i32) { ... }
}Provided Methods§
fn is_debug_enabled(&self) -> bool
fn display(&self) -> Option<Display>
fn is_forward_compatible(&self) -> bool
fn required_version(&self) -> (i32, i32)
fn surface(&self) -> Option<Surface>
fn uses_es(&self) -> bool
fn version(&self) -> (i32, i32)
fn is_legacy(&self) -> bool
fn make_current(&self)
fn realize(&self) -> Result<(), Error>
fn set_debug_enabled(&self, enabled: bool)
fn set_forward_compatible(&self, compatible: bool)
fn set_required_version(&self, major: i32, minor: i32)
fn set_use_es(&self, use_es: i32)
Object Safety§
This trait is not object safe.