summary refs log tree commit diff
path: root/gpu_display/src/dwl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gpu_display/src/dwl.rs')
-rw-r--r--gpu_display/src/dwl.rs46
1 files changed, 24 insertions, 22 deletions
diff --git a/gpu_display/src/dwl.rs b/gpu_display/src/dwl.rs
index cbe337d..41751a7 100644
--- a/gpu_display/src/dwl.rs
+++ b/gpu_display/src/dwl.rs
@@ -1,6 +1,5 @@
 /* automatically generated by rust-bindgen */
 
-
 /// @page page_xdg_shell_unstable_v6 The xdg_shell_unstable_v6 protocol
 /// @section page_ifaces_xdg_shell_unstable_v6 Interfaces
 /// - @subpage page_iface_zxdg_shell_v6 - create desktop-style surfaces
@@ -61,9 +60,10 @@ extern "C" {
     pub fn dwl_context_destroy(self_: *mut *mut dwl_context);
 }
 extern "C" {
-    pub fn dwl_context_setup(self_: *mut dwl_context,
-                             socket_path: *const ::std::os::raw::c_char)
-                             -> bool;
+    pub fn dwl_context_setup(
+        self_: *mut dwl_context,
+        socket_path: *const ::std::os::raw::c_char,
+    ) -> bool;
 }
 extern "C" {
     pub fn dwl_context_fd(self_: *mut dwl_context) -> ::std::os::raw::c_int;
@@ -72,29 +72,31 @@ extern "C" {
     pub fn dwl_context_dispatch(self_: *mut dwl_context);
 }
 extern "C" {
-    pub fn dwl_context_dmabuf_new(self_: *mut dwl_context,
-                                  fd: ::std::os::raw::c_int,
-                                  offset: u32,
-                                  stride: u32,
-                                  modifiers: u64,
-                                  width: u32,
-                                  height: u32,
-                                  fourcc: u32)
-                                  -> *mut dwl_dmabuf;
+    pub fn dwl_context_dmabuf_new(
+        self_: *mut dwl_context,
+        fd: ::std::os::raw::c_int,
+        offset: u32,
+        stride: u32,
+        modifiers: u64,
+        width: u32,
+        height: u32,
+        fourcc: u32,
+    ) -> *mut dwl_dmabuf;
 }
 extern "C" {
     pub fn dwl_dmabuf_destroy(self_: *mut *mut dwl_dmabuf);
 }
 extern "C" {
-    pub fn dwl_context_surface_new(self_: *mut dwl_context,
-                                   parent: *mut dwl_surface,
-                                   shm_fd: ::std::os::raw::c_int,
-                                   shm_size: usize,
-                                   buffer_size: usize,
-                                   width: u32,
-                                   height: u32,
-                                   stride: u32)
-                                   -> *mut dwl_surface;
+    pub fn dwl_context_surface_new(
+        self_: *mut dwl_context,
+        parent: *mut dwl_surface,
+        shm_fd: ::std::os::raw::c_int,
+        shm_size: usize,
+        buffer_size: usize,
+        width: u32,
+        height: u32,
+        stride: u32,
+    ) -> *mut dwl_surface;
 }
 extern "C" {
     pub fn dwl_surface_destroy(self_: *mut *mut dwl_surface);