autocommit 2022-04-04 14:29:04 CEST
This commit is contained in:
parent
1f71290dab
commit
e897d271af
21 changed files with 278 additions and 127 deletions
|
|
@ -21,6 +21,7 @@ macro_rules! egl_transparent {
|
|||
use crate::drm::drm::DrmError;
|
||||
pub use renderer::*;
|
||||
use thiserror::Error;
|
||||
use crate::drm::gbm::GbmError;
|
||||
|
||||
mod egl;
|
||||
mod ext;
|
||||
|
|
@ -49,6 +50,10 @@ pub enum RenderError {
|
|||
BindFailed,
|
||||
#[error("EGL library does not support device enumeration")]
|
||||
DeviceEnumeration,
|
||||
#[error("EGL library does not support the GBM platform")]
|
||||
GbmExt,
|
||||
#[error("Could not create a GBM device")]
|
||||
Gbm(#[source] GbmError),
|
||||
#[error("EGL library does not support device querying")]
|
||||
DeviceQuery,
|
||||
#[error("`eglQueryDeviceStringEXT` failed")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue