render: implement a vulkan renderer
This commit is contained in:
parent
4ba8550da8
commit
cf332e8436
66 changed files with 4287 additions and 239 deletions
|
|
@ -263,6 +263,7 @@ impl EglDisplay {
|
|||
width: buf.width,
|
||||
height: buf.height,
|
||||
external_only: format.external_only,
|
||||
format: buf.format,
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
use {
|
||||
crate::gfx_apis::gl::egl::{
|
||||
display::EglDisplay,
|
||||
sys::{EGLImageKHR, EGL_FALSE},
|
||||
PROCS,
|
||||
crate::{
|
||||
format::Format,
|
||||
gfx_apis::gl::egl::{
|
||||
display::EglDisplay,
|
||||
sys::{EGLImageKHR, EGL_FALSE},
|
||||
PROCS,
|
||||
},
|
||||
},
|
||||
std::rc::Rc,
|
||||
};
|
||||
|
|
@ -13,6 +16,7 @@ pub struct EglImage {
|
|||
pub width: i32,
|
||||
pub height: i32,
|
||||
pub external_only: bool,
|
||||
pub format: &'static Format,
|
||||
}
|
||||
|
||||
impl Drop for EglImage {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue