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:
Ian Douglas Scott 2025-05-08 18:51:53 -07:00 • committed by Ashley Wulber
parent 5865264964
commit d0b4d0e9c9
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
2 changed files with 156 additions and 0 deletions

View 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"] }