pub trait GLContextExt {
fn get_debug_enabled(&self) -> bool;
fn get_display(&self) -> Option<Display>;
fn get_forward_compatible(&self) -> bool;
fn get_required_version(&self) -> (i32, i32);
fn get_shared_context(&self) -> Option<GLContext>;
fn get_use_es(&self) -> bool;
fn get_version(&self) -> (i32, i32);
fn get_window(&self) -> Option<Window>;
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);
}
Required Methods
Implementors