mirror of
https://github.com/servo/servo.git
synced 2025-06-06 00:25:37 +00:00
This adds a *very* basic implementation of the `RefreshDriver` concept to the Servo renderer. The initial idea is that controls the frequency of display during animations. It eliminates the "slowdown" workaround for WPT tests and now Servo animations don't move faster than 120 FPS (observed to be slower in practice). This establishes a base change which will be used to implement non-display-list-producing layouts in a followup change. Fixes #3406. (though much more work remains) Testing: Covered by existing WPT tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
name = "compositing"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "compositing"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
default = []
|
|
tracing = ["dep:tracing"]
|
|
webxr = ["dep:webxr"]
|
|
|
|
[dependencies]
|
|
base = { workspace = true }
|
|
bincode = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
compositing_traits = { workspace = true }
|
|
constellation_traits = { workspace = true }
|
|
crossbeam-channel = { workspace = true }
|
|
dpi = { workspace = true }
|
|
embedder_traits = { workspace = true }
|
|
euclid = { workspace = true }
|
|
fnv = { workspace = true }
|
|
gleam = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
libc = { workspace = true }
|
|
log = { workspace = true }
|
|
net = { path = "../net" }
|
|
pixels = { path = "../pixels" }
|
|
profile_traits = { workspace = true }
|
|
servo_allocator = { path = "../allocator" }
|
|
servo_config = { path = "../config" }
|
|
servo_geometry = { path = "../geometry" }
|
|
stylo_traits = { workspace = true }
|
|
timers = { path = "../timers" }
|
|
tracing = { workspace = true, optional = true }
|
|
webrender = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
webxr = { path = "../webxr", optional = true }
|
|
wr_malloc_size_of = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
surfman = { workspace = true }
|