Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #54 from RobWalt/feat/wayland-support
Browse files Browse the repository at this point in the history
feature: add wayland support
  • Loading branch information
darthdeus authored Oct 19, 2023
2 parents f51844c + 7969f2c commit f5cb05f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions comfy-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ memprof = ["tracy"]
lua = ["mlua"]
blobs = ["dep:blobs"]

wayland = ["winit/wayland"]

[dependencies]
smallvec = "1.10.0"

Expand Down
4 changes: 3 additions & 1 deletion comfy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ demo = []
dev = []
embedded-assets = []
quick-exit = []
ci-release = ["comfy-core/ci-release", "comfy-wgpu/ci-release"]
ci-release = ["comfy-core/ci-release", "comfy-wgpu/ci-release", "wayland"]

tracy = ["comfy-core/tracy", "comfy-wgpu/tracy"]
# tracy = ["comfy-core/tracy", "blobs/tracy", "comfy-wgpu/tracy"]

jemalloc = ["comfy-core/jemalloc"]
lua = ["comfy-core/lua"]

wayland = ["comfy-core/wayland"]

[dependencies]
comfy-wgpu = { path = "../comfy-wgpu", version = "0.2.0" }
comfy-core = { path = "../comfy-core", version = "0.2.0" }
Expand Down
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@
vulkan-loader
vulkan-validation-layers

# wayland
# X
xorg.libX11
xorg.libXcursor
xorg.libXi
xorg.libXrandr

# wayland
wayland

# extra tooling
tracy # profiler, call with ~Tracy~
];
Expand All @@ -66,6 +69,8 @@
vulkan-loader

# wayland
wayland

# xstuff
xorg.libX11
xorg.libXcursor
Expand Down

0 comments on commit f5cb05f

Please sign in to comment.