Update smithay, egui, and smithay-egui
This commit is contained in:
parent
48a165d182
commit
614d99fc05
5 changed files with 34 additions and 32 deletions
42
Cargo.lock
generated
42
Cargo.lock
generated
|
|
@ -1333,9 +1333,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ecolor"
|
name = "ecolor"
|
||||||
version = "0.30.0"
|
version = "0.31.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "7d72e9c39f6e11a2e922d04a34ec5e7ef522ea3f5a1acfca7a19d16ad5fe50f5"
|
checksum = "bc4feb366740ded31a004a0e4452fbf84e80ef432ecf8314c485210229672fd1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytemuck",
|
"bytemuck",
|
||||||
"emath",
|
"emath",
|
||||||
|
|
@ -1343,11 +1343,12 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui"
|
name = "egui"
|
||||||
version = "0.30.0"
|
version = "0.31.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "252d52224d35be1535d7fd1d6139ce071fb42c9097773e79f7665604f5596b5e"
|
checksum = "25dd34cec49ab55d85ebf70139cb1ccd29c977ef6b6ba4fe85489d6877ee9ef3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
|
"bitflags 2.9.1",
|
||||||
"emath",
|
"emath",
|
||||||
"epaint",
|
"epaint",
|
||||||
"nohash-hasher",
|
"nohash-hasher",
|
||||||
|
|
@ -1356,9 +1357,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_extras"
|
name = "egui_extras"
|
||||||
version = "0.30.0"
|
version = "0.31.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "3d7a8198c088b1007108cb2d403bc99a5e370999b200db4f14559610d7330126"
|
checksum = "624659a2e972a46f4d5f646557906c55f1cd5a0836eddbe610fdf1afba1b4226"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
"egui",
|
"egui",
|
||||||
|
|
@ -1371,9 +1372,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_glow"
|
name = "egui_glow"
|
||||||
version = "0.30.0"
|
version = "0.31.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "3eaf6264cc7608e3e69a7d57a6175f438275f1b3889c1a551b418277721c95e6"
|
checksum = "910906e3f042ea6d2378ec12a6fd07698e14ddae68aed2d819ffe944a73aab9e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
"bytemuck",
|
"bytemuck",
|
||||||
|
|
@ -1388,9 +1389,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_plot"
|
name = "egui_plot"
|
||||||
version = "0.30.0"
|
version = "0.31.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c226cae80a6ee10c4d3aaf9e33bd9e9b2f1c0116b6036bdc2a1cfc9d2d0dcc10"
|
checksum = "1794c66fb727dac28dffed2e4b548e5118d1cccc331d368a35411d68725dde71"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
"egui",
|
"egui",
|
||||||
|
|
@ -1399,9 +1400,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "emath"
|
name = "emath"
|
||||||
version = "0.30.0"
|
version = "0.31.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c4fe73c1207b864ee40aa0b0c038d6092af1030744678c60188a05c28553515d"
|
checksum = "9e4cadcff7a5353ba72b7fea76bf2122b5ebdbc68e8155aa56dfdea90083fe1b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytemuck",
|
"bytemuck",
|
||||||
]
|
]
|
||||||
|
|
@ -1465,9 +1466,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "epaint"
|
name = "epaint"
|
||||||
version = "0.30.0"
|
version = "0.31.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5666f8d25236293c966fbb3635eac18b04ad1914e3bab55bc7d44b9980cafcac"
|
checksum = "41fcc0f5a7c613afd2dee5e4b30c3e6acafb8ad6f0edb06068811f708a67c562"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ab_glyph",
|
"ab_glyph",
|
||||||
"ahash",
|
"ahash",
|
||||||
|
|
@ -1482,9 +1483,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "epaint_default_fonts"
|
name = "epaint_default_fonts"
|
||||||
version = "0.30.0"
|
version = "0.31.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "66f6ddac3e6ac6fd4c3d48bb8b1943472f8da0f43a4303bcd8a18aa594401c80"
|
checksum = "fc7e7a64c02cf7a5b51e745a9e45f60660a286f151c238b9d397b3e923f5082f"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "equivalent"
|
name = "equivalent"
|
||||||
|
|
@ -4730,8 +4731,9 @@ checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "smithay"
|
name = "smithay"
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
source = "git+https://github.com/smithay/smithay.git?rev=776ba42#776ba424423584400e76317e688b160546e68ca7"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "740cea6927892bc182d5bf70c8f79806c8bc9f68f2fb96e55a30be171b63af98"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aliasable",
|
"aliasable",
|
||||||
"appendlist",
|
"appendlist",
|
||||||
|
|
@ -4821,9 +4823,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "smithay-egui"
|
name = "smithay-egui"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "0f69e928bd02c12d7b66ba74fc68b984d77181be4309dd969ed4ef141c150241"
|
checksum = "6794c95b83518f9f91ae8c2faee52302d521c0d541d016b4ed632374041d9c42"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cgmath",
|
"cgmath",
|
||||||
"egui",
|
"egui",
|
||||||
|
|
|
||||||
10
Cargo.toml
10
Cargo.toml
|
|
@ -22,8 +22,8 @@ cosmic-protocols = {git = "https://github.com/pop-os/cosmic-protocols", rev = "e
|
||||||
cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon" }
|
cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon" }
|
||||||
cosmic-text = { git = "https://github.com/pop-os/cosmic-text.git", features = ["shape-run-cache"] }
|
cosmic-text = { git = "https://github.com/pop-os/cosmic-text.git", features = ["shape-run-cache"] }
|
||||||
libdisplay-info = "0.2.0"
|
libdisplay-info = "0.2.0"
|
||||||
egui = {version = "0.30.0", optional = true}
|
egui = {version = "0.31.0", optional = true}
|
||||||
egui_plot = {version = "0.30.0", optional = true}
|
egui_plot = {version = "0.31.0", optional = true}
|
||||||
i18n-embed = {version = "0.15", features = ["fluent-system", "desktop-requester"]}
|
i18n-embed = {version = "0.15", features = ["fluent-system", "desktop-requester"]}
|
||||||
i18n-embed-fl = "0.9"
|
i18n-embed-fl = "0.9"
|
||||||
iced_tiny_skia = {git = "https://github.com/pop-os/libcosmic/"}
|
iced_tiny_skia = {git = "https://github.com/pop-os/libcosmic/"}
|
||||||
|
|
@ -72,7 +72,7 @@ branch = "feature/copy_clone"
|
||||||
git = "https://github.com/Drakulix/id-tree.git"
|
git = "https://github.com/Drakulix/id-tree.git"
|
||||||
|
|
||||||
[dependencies.smithay]
|
[dependencies.smithay]
|
||||||
version = "0.6.0"
|
version = "0.7.0"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = [
|
features = [
|
||||||
"backend_drm",
|
"backend_drm",
|
||||||
|
|
@ -93,7 +93,7 @@ features = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies.smithay-egui]
|
[dependencies.smithay-egui]
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
features = ["svg"]
|
features = ["svg"]
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
|
|
@ -124,4 +124,4 @@ cosmic-protocols = { git = "https://github.com/pop-os//cosmic-protocols", branch
|
||||||
cosmic-client-toolkit = { git = "https://github.com/pop-os//cosmic-protocols", branch = "main" }
|
cosmic-client-toolkit = { git = "https://github.com/pop-os//cosmic-protocols", branch = "main" }
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
smithay = { git = "https://github.com/smithay/smithay.git", rev = "776ba42" }
|
# smithay = { git = "https://github.com/smithay/smithay.git", branch = "a166cf4" }
|
||||||
|
|
|
||||||
|
|
@ -264,7 +264,7 @@ impl State {
|
||||||
gbm.clone(),
|
gbm.clone(),
|
||||||
GbmBufferFlags::RENDERING | GbmBufferFlags::SCANOUT,
|
GbmBufferFlags::RENDERING | GbmBufferFlags::SCANOUT,
|
||||||
),
|
),
|
||||||
GbmFramebufferExporter::new(gbm.clone()),
|
GbmFramebufferExporter::new(gbm.clone(), Some(drm_node)),
|
||||||
Some(gbm.clone()),
|
Some(gbm.clone()),
|
||||||
[
|
[
|
||||||
Fourcc::Abgr2101010,
|
Fourcc::Abgr2101010,
|
||||||
|
|
|
||||||
|
|
@ -184,9 +184,9 @@ pub fn fps_ui<'a>(
|
||||||
for seat in seats {
|
for seat in seats {
|
||||||
ui.label(egui::RichText::new(format!("\t{}", seat.name())).strong());
|
ui.label(egui::RichText::new(format!("\t{}", seat.name())).strong());
|
||||||
if let Some(ptr) = seat.get_pointer() {
|
if let Some(ptr) = seat.get_pointer() {
|
||||||
egui::Frame::none()
|
egui::Frame::NONE
|
||||||
.fill(egui::Color32::DARK_GRAY)
|
.fill(egui::Color32::DARK_GRAY)
|
||||||
.rounding(5.)
|
.corner_radius(5.)
|
||||||
.inner_margin(10.)
|
.inner_margin(10.)
|
||||||
.show(ui, |ui| {
|
.show(ui, |ui| {
|
||||||
ui.label(
|
ui.label(
|
||||||
|
|
@ -213,9 +213,9 @@ pub fn fps_ui<'a>(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if let Some(kbd) = seat.get_keyboard() {
|
if let Some(kbd) = seat.get_keyboard() {
|
||||||
egui::Frame::none()
|
egui::Frame::NONE
|
||||||
.fill(egui::Color32::DARK_GRAY)
|
.fill(egui::Color32::DARK_GRAY)
|
||||||
.rounding(5.)
|
.corner_radius(5.)
|
||||||
.inner_margin(10.)
|
.inner_margin(10.)
|
||||||
.show(ui, |ui| {
|
.show(ui, |ui| {
|
||||||
let mut keysyms = format!(
|
let mut keysyms = format!(
|
||||||
|
|
|
||||||
|
|
@ -685,9 +685,9 @@ impl CosmicMapped {
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
.show(ctx, |ui| {
|
.show(ctx, |ui| {
|
||||||
egui::Frame::none()
|
egui::Frame::NONE
|
||||||
.fill(egui::Color32::BLACK)
|
.fill(egui::Color32::BLACK)
|
||||||
.rounding(5.0)
|
.corner_radius(5.0)
|
||||||
.inner_margin(10.0)
|
.inner_margin(10.0)
|
||||||
.show(ui, |ui| {
|
.show(ui, |ui| {
|
||||||
ui.heading(window.title());
|
ui.heading(window.title());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue