examples: Add sctk_subsurface_img
Test scrolling. Single color buffers in `sctk_subsurface` aren't good for comparing it, and `sctk_subsurface_gst` isn't working on latest gst with explicit sync (and AppSync isn't accepting the dmabuf when I try to modify it.)
This commit is contained in:
parent
5865264964
commit
d0b4d0e9c9
2 changed files with 156 additions and 0 deletions
21
examples/sctk_subsurface_img/Cargo.toml
Normal file
21
examples/sctk_subsurface_img/Cargo.toml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[package]
|
||||
name = "sctk_subsurface_img"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
iced = { path = "../..", default-features = false, features = [
|
||||
"tokio",
|
||||
"wayland",
|
||||
"winit",
|
||||
"debug",
|
||||
"tiny-skia",
|
||||
"image",
|
||||
] }
|
||||
iced_runtime = { path = "../../runtime" }
|
||||
env_logger = "0.10"
|
||||
futures-channel = "0.3.29"
|
||||
calloop = "0.13"
|
||||
rustix = { version = "0.38.30", features = ["fs", "shm"] }
|
||||
cctk.workspace = true
|
||||
image = { workspace = true, features = ["png"] }
|
||||
Loading…
Add table
Add a link
Reference in a new issue