-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WayVR: Process cleanup support, Refactoring
- Loading branch information
1 parent
5443cc7
commit 9902a66
Showing
8 changed files
with
455 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,34 @@ | ||
#![allow(clippy::all)] | ||
|
||
//eglExportDMABUFImageMESA | ||
pub type PFNEGLEXPORTDMABUFIMAGEMESAPROC = Option< | ||
unsafe extern "C" fn( | ||
dpy: khronos_egl::EGLDisplay, | ||
image: khronos_egl::EGLImage, | ||
fds: *mut i32, | ||
strides: *mut khronos_egl::Int, | ||
offsets: *mut khronos_egl::Int, | ||
) -> khronos_egl::Boolean, | ||
unsafe extern "C" fn( | ||
dpy: khronos_egl::EGLDisplay, | ||
image: khronos_egl::EGLImage, | ||
fds: *mut i32, | ||
strides: *mut khronos_egl::Int, | ||
offsets: *mut khronos_egl::Int, | ||
) -> khronos_egl::Boolean, | ||
>; | ||
|
||
//eglQueryDmaBufModifiersEXT | ||
pub type PFNEGLQUERYDMABUFMODIFIERSEXTPROC = Option< | ||
unsafe extern "C" fn( | ||
dpy: khronos_egl::EGLDisplay, | ||
format: khronos_egl::Int, | ||
max_modifiers: khronos_egl::Int, | ||
modifiers: *mut u64, | ||
external_only: *mut khronos_egl::Boolean, | ||
num_modifiers: *mut khronos_egl::Int, | ||
) -> khronos_egl::Boolean, | ||
unsafe extern "C" fn( | ||
dpy: khronos_egl::EGLDisplay, | ||
format: khronos_egl::Int, | ||
max_modifiers: khronos_egl::Int, | ||
modifiers: *mut u64, | ||
external_only: *mut khronos_egl::Boolean, | ||
num_modifiers: *mut khronos_egl::Int, | ||
) -> khronos_egl::Boolean, | ||
>; | ||
|
||
//eglQueryDmaBufFormatsEXT | ||
pub type PFNEGLQUERYDMABUFFORMATSEXTPROC = Option< | ||
unsafe extern "C" fn( | ||
dpy: khronos_egl::EGLDisplay, | ||
max_formats: khronos_egl::Int, | ||
formats: *mut khronos_egl::Int, | ||
num_formats: *mut khronos_egl::Int, | ||
) -> khronos_egl::Boolean, | ||
unsafe extern "C" fn( | ||
dpy: khronos_egl::EGLDisplay, | ||
max_formats: khronos_egl::Int, | ||
formats: *mut khronos_egl::Int, | ||
num_formats: *mut khronos_egl::Int, | ||
) -> khronos_egl::Boolean, | ||
>; |
Oops, something went wrong.