summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/benchmarks/clip-clear.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /gfx/wr/wrench/benchmarks/clip-clear.yaml
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--gfx/wr/wrench/benchmarks/clip-clear.yaml48
1 files changed, 48 insertions, 0 deletions
diff --git a/gfx/wr/wrench/benchmarks/clip-clear.yaml b/gfx/wr/wrench/benchmarks/clip-clear.yaml
new file mode 100644
index 0000000000..f23440a3f1
--- /dev/null
+++ b/gfx/wr/wrench/benchmarks/clip-clear.yaml
@@ -0,0 +1,48 @@
+# Benchmark to test the cost of clears on a clip mask target that
+# is large but has low usage.
+---
+root:
+ items:
+ -
+ bounds: 0 0 1000 1000
+ type: stacking-context
+ items:
+ - type: clip
+ bounds: [50, 50, 300, 300]
+ complex:
+ - rect: [50, 50, 300, 300]
+ radius: 50
+ items:
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red
+ - type: rect
+ bounds: 50 50 300 300
+ color: red