mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
ec1e919b3d
Using jemalloc's thread-local arena can remove lock contention during allocation and deallocation (if they all happen on the same thread). This patch only adds knobs to turn them on and off on worker threads, render backend threads and scene builder threads, but leaves the current behavior unchanged. Differential Revision: https://phabricator.services.mozilla.com/D217710
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[package]
|
|
name = "webrender_bindings"
|
|
version = "0.1.0"
|
|
authors = ["The Mozilla Project Developers"]
|
|
license = "MPL-2.0"
|
|
|
|
[dependencies]
|
|
dirs = "4"
|
|
rayon = "1"
|
|
num_cpus = "1.7.0"
|
|
tracy-rs = "0.1"
|
|
euclid = { version = "0.22.5", features = ["serde"] }
|
|
app_units = "0.7"
|
|
gleam = "0.15"
|
|
log = "0.4"
|
|
nsstring = { path = "../../xpcom/rust/nsstring" }
|
|
bincode = "1.0"
|
|
uuid = { version = "1.0", features = ["v4"] }
|
|
fxhash = "0.2.1"
|
|
thin-vec = { version = "0.2.1", features = ["gecko-ffi"] }
|
|
swgl = { path = "../wr/swgl" }
|
|
wr_malloc_size_of = { path = "../wr/wr_malloc_size_of" }
|
|
gecko-profiler = { path = "../../tools/profiler/rust-api" }
|
|
static_prefs = { path = "../../modules/libpref/init/static_prefs" }
|
|
remove_dir_all = "0.5.3"
|
|
|
|
[dependencies.webrender]
|
|
path = "../wr/webrender"
|
|
version = "0.62.0"
|
|
default-features = false
|
|
features = ["capture", "serialize_program", "gecko", "sw_compositor"]
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
dwrote = "0.11"
|
|
winapi = "0.3"
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
|
core-foundation = "0.9"
|
|
core-graphics = "0.23"
|
|
foreign-types = "0.5.0"
|
|
objc = "0.2"
|