Skip to content

Commit

Permalink
DROP ME: wayland-protocols fork multi-gpu-dmabuf
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix committed Oct 3, 2024
1 parent df79eeb commit fcbcba4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ renderer_glow = ["renderer_gl", "glow"]
renderer_multi = ["backend_drm"]
renderer_pixman = ["pixman"]
renderer_test = []
use_system_lib = ["wayland_frontend", "wayland-backend/server_system", "wayland-sys", "gbm?/import-wayland"]
use_system_lib = ["wayland_frontend", "wayland-backend/server_system", "wayland-sys"]
use_bindgen = ["drm-ffi/use_bindgen", "gbm/use_bindgen", "input/use_bindgen"]
wayland_frontend = ["wayland-server", "wayland-protocols", "wayland-protocols-wlr", "wayland-protocols-misc", "tempfile"]
x11rb_event_source = ["x11rb"]
Expand Down Expand Up @@ -140,3 +140,15 @@ harness = false
[profile.release-with-debug]
inherits = "release"
debug = true

[patch.crates-io]
wayland-egl = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
wayland-protocols = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
wayland-protocols-wlr = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
wayland-protocols-misc = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
wayland-server = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
wayland-cursor = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
wayland-client = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
wayland-sys = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
wayland-backend = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
wayland-scanner = { git = "https://github.com/Drakulix/wayland-rs", branch = "multi-gpu-dmabuf" }
2 changes: 2 additions & 0 deletions src/backend/drm/gbm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ pub fn framebuffer_from_wayland_buffer<A: AsFd + 'static>(
}
}

/*
#[cfg(all(feature = "backend_egl", feature = "use_system_lib"))]
if matches!(
crate::backend::renderer::buffer_type(buffer),
Expand Down Expand Up @@ -118,6 +119,7 @@ pub fn framebuffer_from_wayland_buffer<A: AsFd + 'static>(
drm: drm.clone(),
}));
}
*/

Ok(None)
}
Expand Down

0 comments on commit fcbcba4

Please sign in to comment.