struct Inner {
egl: EglContext,
version: (i32, i32),
supports_native_window: bool,
config: Config,
wl_display: Option<*mut c_void>,
force_gles_minor_version: Gles3MinorVersion,
srgb_kind: SrgbFrameBufferKind,
}
Fields§
§egl: EglContext
Note: the context contains a dummy pbuffer (1x1).
Required for eglMakeCurrent
on platforms that doesn’t supports EGL_KHR_surfaceless_context
.
version: (i32, i32)
§supports_native_window: bool
§config: Config
§wl_display: Option<*mut c_void>
§force_gles_minor_version: Gles3MinorVersion
§srgb_kind: SrgbFrameBufferKind
Method by which the framebuffer should support srgb
Implementations§
source§impl Inner
impl Inner
fn create( flags: InstanceFlags, egl: Arc<DynamicInstance<EGL1_4>>, display: Display, force_gles_minor_version: Gles3MinorVersion, ) -> Result<Self, InstanceError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inner
impl RefUnwindSafe for Inner
impl !Send for Inner
impl !Sync for Inner
impl Unpin for Inner
impl UnwindSafe for Inner
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