mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
compositing: Add memory reporter for WebRender. (#36557)
This adds a memory reporter for WebRender's memory usage. I seeded it with a couple entries that looked reasonable based on https://searchfox.org/mozilla-central/rev/2c71f1e9b5947612abdc16b64008162c58c1b9d3/gfx/thebes/gfxPlatform.cpp#722-738. Testing: Verified that new numbers appear in about:memory for servo.org. The new images category is surprisingly large (40mb). Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
afe98e9e1e
commit
af000d6c91
9 changed files with 98 additions and 8 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1106,6 +1106,7 @@ dependencies = [
|
|||
"pixels",
|
||||
"profile_traits",
|
||||
"script_traits",
|
||||
"servo_allocator",
|
||||
"servo_config",
|
||||
"servo_geometry",
|
||||
"stylo_traits",
|
||||
|
@ -1114,6 +1115,7 @@ dependencies = [
|
|||
"webrender",
|
||||
"webrender_api",
|
||||
"webxr",
|
||||
"wr_malloc_size_of",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -1132,6 +1134,7 @@ dependencies = [
|
|||
"ipc-channel",
|
||||
"log",
|
||||
"pixels",
|
||||
"profile_traits",
|
||||
"raw-window-handle",
|
||||
"serde",
|
||||
"servo_geometry",
|
||||
|
@ -4353,6 +4356,7 @@ dependencies = [
|
|||
"servo-media",
|
||||
"servo-media-dummy",
|
||||
"servo-media-gstreamer",
|
||||
"servo_allocator",
|
||||
"servo_config",
|
||||
"servo_geometry",
|
||||
"servo_url",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue