Enum smithay::backend::egl::Error [−][src]
pub enum Error {}Show 14 variants
OpenGlVersionNotSupported((u8, u8)), OpenGlesNotSupported(Option<EGLError>), NoAvailablePixelFormat, NonMatchingBackend(&'static str), DisplayCreationError(EGLError), DisplayNotSupported, InitFailed(EGLError), ConfigFailed(EGLError), CreationFailed(EGLError), EglExtensionNotSupported(&'static [&'static str]), OtherEGLDisplayAlreadyBound(EGLError), NoEGLDisplayBound, PlaneIndexOutOfBounds, EGLImageCreationFailed,
Expand description
EGL errors
Variants
The requested OpenGL version is not supported
The EGL implementation does not support creating OpenGL ES contexts
No available pixel format matched the criteria
NonMatchingBackend(&'static str)
Backend does not match the context type
DisplayCreationError(EGLError)
Display creation failed
Unable to obtain a valid EGL Display
InitFailed(EGLError)
eglInitialize
returned an error
ConfigFailed(EGLError)
Failed to configure the EGL context
CreationFailed(EGLError)
Context creation failed as one or more requirements could not be met. Try removing some gl attributes or pixel format requirements
EglExtensionNotSupported(&'static [&'static str])
The required EGL extension is not supported by the underlying EGL implementation
OtherEGLDisplayAlreadyBound(EGLError)
Only one EGLDisplay may be bound to a given WlDisplay
at any time
No EGLDisplay is currently bound to this WlDisplay
Index of plane is out of bounds for EGLBuffer
Failed to create EGLBuffer
from the buffer
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
pub fn vzip(self) -> V