pub enum OpenGl {
Egl,
Cgl,
}Expand description
Which OpenGL the Mac driver gives a process.
The value is the process’s own: ntdll stores it for winemac.drv, which reads it when OpenGL is first initialized, so a program does not take the choice of the program that started it.
Variants§
Egl
Mesa’s EGL, with Zink on KosmicKrisp. Without a GPU KosmicKrisp
can use, the process gets no OpenGL.
Cgl
Apple’s OpenGL, upstream Wine’s.
Implementations§
Trait Implementations§
impl Copy for OpenGl
impl Eq for OpenGl
impl StructuralPartialEq for OpenGl
Auto Trait Implementations§
impl Freeze for OpenGl
impl RefUnwindSafe for OpenGl
impl Send for OpenGl
impl Sync for OpenGl
impl Unpin for OpenGl
impl UnsafeUnpin for OpenGl
impl UnwindSafe for OpenGl
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