summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/crash/many-segments.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/reftests/crash/many-segments.yaml
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/wr/wrench/reftests/crash/many-segments.yaml')
-rw-r--r--gfx/wr/wrench/reftests/crash/many-segments.yaml112
1 files changed, 112 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/crash/many-segments.yaml b/gfx/wr/wrench/reftests/crash/many-segments.yaml
new file mode 100644
index 0000000000..f7301ac449
--- /dev/null
+++ b/gfx/wr/wrench/reftests/crash/many-segments.yaml
@@ -0,0 +1,112 @@
+# Ensure that in the case of a huge number of overlapping and intersecting rounded
+# clips we don't generate too many segments, causing the GPU cache to assert.
+---
+root:
+ items:
+ -
+ type: clip
+ complex:
+ - rect: [128, 128, 632, 632]
+ radius: 300
+ id: 2
+ -
+ type: clip
+ complex:
+ - rect: [126, 126, 628, 628]
+ radius: 300
+ id: 3
+ -
+ type: clip
+ complex:
+ - rect: [123, 123, 624, 624]
+ radius: 300
+ id: 4
+ -
+ type: clip
+ complex:
+ - rect: [120, 120, 626, 626]
+ radius: 300
+ id: 5
+ -
+ type: clip
+ complex:
+ - rect: [117, 117, 622, 622]
+ radius: 300
+ id: 6
+ -
+ type: clip
+ complex:
+ - rect: [114, 114, 619, 619]
+ radius: 300
+ id: 7
+ -
+ type: clip
+ complex:
+ - rect: [111, 111, 615, 615]
+ radius: 300
+ id: 8
+ -
+ type: clip
+ complex:
+ - rect: [108, 108, 612, 612]
+ radius: 300
+ id: 9
+ -
+ type: clip
+ complex:
+ - rect: [105, 105, 609, 609]
+ radius: 300
+ id: 10
+ -
+ type: clip
+ complex:
+ - rect: [102, 102, 606, 606]
+ radius: 300
+ id: 11
+ -
+ type: clip
+ complex:
+ - rect: [99, 99, 603, 603]
+ radius: 300
+ id: 12
+ -
+ type: clip
+ complex:
+ - rect: [96, 96, 600, 600]
+ radius: 300
+ id: 13
+ -
+ type: clip
+ complex:
+ - rect: [93, 93, 612, 612]
+ radius: 300
+ id: 14
+ -
+ type: clip
+ complex:
+ - rect: [90, 90, 609, 609]
+ radius: 300
+ id: 15
+ -
+ type: clip
+ complex:
+ - rect: [87, 87, 606, 606]
+ radius: 300
+ id: 16
+ -
+ type: clip
+ complex:
+ - rect: [84, 84, 603, 603]
+ radius: 300
+ id: 17
+
+ -
+ type: "clip-chain"
+ id: 1024
+ clips: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
+ -
+ bounds: [128, 128, 632, 632]
+ clip-rect: [128, 128, 632, 632]
+ clip-chain: 1024
+ type: rect
+ color: 0 255 0 1