aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/time.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/util/time.rs')
-rw-r--r--components/util/time.rs16
1 files changed, 9 insertions, 7 deletions
diff --git a/components/util/time.rs b/components/util/time.rs
index 8ac5bd05943..596b8931be2 100644
--- a/components/util/time.rs
+++ b/components/util/time.rs
@@ -77,9 +77,9 @@ pub enum TimeProfilerCategory {
LayoutParallelWarmupCategory,
LayoutShapingCategory,
LayoutDispListBuildCategory,
- RenderingDrawingCategory,
- RenderingPrepBuffCategory,
- RenderingCategory,
+ PaintingPerTileCategory,
+ PaintingPrepBuffCategory,
+ PaintingCategory,
}
impl Formatable for TimeProfilerCategory {
@@ -93,7 +93,9 @@ impl Formatable for TimeProfilerCategory {
LayoutMainCategory |
LayoutDispListBuildCategory |
LayoutShapingCategory |
- LayoutDamagePropagateCategory => "+ ",
+ LayoutDamagePropagateCategory |
+ PaintingPerTileCategory |
+ PaintingPrepBuffCategory => "+ ",
LayoutParallelWarmupCategory |
LayoutSelectorMatchCategory |
LayoutTreeBuilderCategory => "| + ",
@@ -112,9 +114,9 @@ impl Formatable for TimeProfilerCategory {
LayoutParallelWarmupCategory => "Parallel Warmup",
LayoutShapingCategory => "Shaping",
LayoutDispListBuildCategory => "Display List Construction",
- RenderingDrawingCategory => "Draw",
- RenderingPrepBuffCategory => "Buffer Prep",
- RenderingCategory => "Rendering",
+ PaintingPerTileCategory => "Painting Per Tile",
+ PaintingPrepBuffCategory => "Buffer Prep",
+ PaintingCategory => "Painting",
};
format!("{:s}{}", padding, name)
}