1
0
Fork 0
forked from wry/wry

autocommit 2022-04-04 14:29:04 CEST

This commit is contained in:
Julian Orth 2022-04-04 14:29:04 +02:00
parent 1f71290dab
commit e897d271af
21 changed files with 278 additions and 127 deletions

View file

@ -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")]