aboutsummaryrefslogtreecommitdiffstats
path: root/third_party/webrender/wrench/reftests/clip
diff options
context:
space:
mode:
authorMukilan Thiyagarajan <mukilan@igalia.com>2023-09-14 15:00:42 +0530
committerMukilan Thiyagarajan <mukilan@igalia.com>2023-09-14 15:00:42 +0530
commitc385b3c9737c17d59cb02e520c3b68b232cb6497 (patch)
treead598ffbbdfbcecd6a4cf458abe2afc702d92c27 /third_party/webrender/wrench/reftests/clip
parent988e05a68b48c9e744bf49459faf41a1bd9b81d7 (diff)
downloadservo-revert-webrender.tar.gz
servo-revert-webrender.zip
Revert "Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 (#30323)"revert-webrender
This reverts commit a9d37cb85ac2c55fc630fccffe1ba60ff00f555b.
Diffstat (limited to 'third_party/webrender/wrench/reftests/clip')
-rw-r--r--third_party/webrender/wrench/reftests/clip/blend-container-ref.yaml6
-rw-r--r--third_party/webrender/wrench/reftests/clip/blend-container.yaml15
-rw-r--r--third_party/webrender/wrench/reftests/clip/border-with-rounded-clip.pngbin1846 -> 1900 bytes
-rw-r--r--third_party/webrender/wrench/reftests/clip/clip-45-degree-rotation-ref.pngbin13211 -> 13358 bytes
-rw-r--r--third_party/webrender/wrench/reftests/clip/clip-ellipse.pngbin9542 -> 9486 bytes
-rw-r--r--third_party/webrender/wrench/reftests/clip/clip-filter-raster-root-ref.yaml16
-rw-r--r--third_party/webrender/wrench/reftests/clip/clip-filter-raster-root.yaml23
-rw-r--r--third_party/webrender/wrench/reftests/clip/clip-mode.pngbin2783 -> 2740 bytes
-rw-r--r--third_party/webrender/wrench/reftests/clip/clip-rectangle-redundant-sc-ref.yaml7
-rw-r--r--third_party/webrender/wrench/reftests/clip/clip-rectangle-redundant-sc.yaml16
-rw-r--r--third_party/webrender/wrench/reftests/clip/reftest.list9
11 files changed, 3 insertions, 89 deletions
diff --git a/third_party/webrender/wrench/reftests/clip/blend-container-ref.yaml b/third_party/webrender/wrench/reftests/clip/blend-container-ref.yaml
deleted file mode 100644
index 2d3464959dd..00000000000
--- a/third_party/webrender/wrench/reftests/clip/blend-container-ref.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-root:
- items:
- - type: rect
- bounds: [ 50, 50, 100, 100 ]
- color: blue
diff --git a/third_party/webrender/wrench/reftests/clip/blend-container.yaml b/third_party/webrender/wrench/reftests/clip/blend-container.yaml
deleted file mode 100644
index 2a18d3a5e3d..00000000000
--- a/third_party/webrender/wrench/reftests/clip/blend-container.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-# Verify that clip-chains are correctly applied to root level blend containers (which get
-# optimized to be tile caches).
----
-root:
- items:
- - type: clip
- id: 2
- bounds: [ 50, 50, 100, 100 ]
- - type: stacking-context
- blend-container: true
- clip-node: 2
- items:
- - type: rect
- bounds: [ 0, 0, 200, 200 ]
- color: blue
diff --git a/third_party/webrender/wrench/reftests/clip/border-with-rounded-clip.png b/third_party/webrender/wrench/reftests/clip/border-with-rounded-clip.png
index 120b21b6cc3..f3400057149 100644
--- a/third_party/webrender/wrench/reftests/clip/border-with-rounded-clip.png
+++ b/third_party/webrender/wrench/reftests/clip/border-with-rounded-clip.png
Binary files differ
diff --git a/third_party/webrender/wrench/reftests/clip/clip-45-degree-rotation-ref.png b/third_party/webrender/wrench/reftests/clip/clip-45-degree-rotation-ref.png
index 7b27e84239d..620eb49e435 100644
--- a/third_party/webrender/wrench/reftests/clip/clip-45-degree-rotation-ref.png
+++ b/third_party/webrender/wrench/reftests/clip/clip-45-degree-rotation-ref.png
Binary files differ
diff --git a/third_party/webrender/wrench/reftests/clip/clip-ellipse.png b/third_party/webrender/wrench/reftests/clip/clip-ellipse.png
index 49570d0359b..49624825573 100644
--- a/third_party/webrender/wrench/reftests/clip/clip-ellipse.png
+++ b/third_party/webrender/wrench/reftests/clip/clip-ellipse.png
Binary files differ
diff --git a/third_party/webrender/wrench/reftests/clip/clip-filter-raster-root-ref.yaml b/third_party/webrender/wrench/reftests/clip/clip-filter-raster-root-ref.yaml
deleted file mode 100644
index 7fde17f1845..00000000000
--- a/third_party/webrender/wrench/reftests/clip/clip-filter-raster-root-ref.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
----
-root:
- items:
- -
- type: "reference-frame"
- transform: [perspective(10), rotate(45)]
- transform-origin: 500 100
- items:
- -
- type: "stacking-context"
- filters: [identity]
- items:
- -
- bounds: [100, 100, 200, 200]
- type: rect
- color: red
diff --git a/third_party/webrender/wrench/reftests/clip/clip-filter-raster-root.yaml b/third_party/webrender/wrench/reftests/clip/clip-filter-raster-root.yaml
deleted file mode 100644
index 95ffc7dbd05..00000000000
--- a/third_party/webrender/wrench/reftests/clip/clip-filter-raster-root.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-# Test that a local-space clip when applied to a surface (due to the filter) that is also
-# a raster root (due to the perspective) is correctly applied.
----
-root:
- items:
- -
- type: "reference-frame"
- transform: [perspective(10), rotate(45)]
- transform-origin: 500 100
- items:
- -
- bounds: [100, 100, 200, 200]
- type: clip
- id: 2
- -
- clip-node: 2
- type: "stacking-context"
- filters: [identity]
- items:
- -
- bounds: [0, 0, 400, 400]
- type: rect
- color: red
diff --git a/third_party/webrender/wrench/reftests/clip/clip-mode.png b/third_party/webrender/wrench/reftests/clip/clip-mode.png
index e40a9db215c..69f2b8b4ae8 100644
--- a/third_party/webrender/wrench/reftests/clip/clip-mode.png
+++ b/third_party/webrender/wrench/reftests/clip/clip-mode.png
Binary files differ
diff --git a/third_party/webrender/wrench/reftests/clip/clip-rectangle-redundant-sc-ref.yaml b/third_party/webrender/wrench/reftests/clip/clip-rectangle-redundant-sc-ref.yaml
deleted file mode 100644
index 5946aeedae6..00000000000
--- a/third_party/webrender/wrench/reftests/clip/clip-rectangle-redundant-sc-ref.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
----
-root:
- items:
- -
- bounds: [0, 0, 100, 100]
- type: rect
- color: blue
diff --git a/third_party/webrender/wrench/reftests/clip/clip-rectangle-redundant-sc.yaml b/third_party/webrender/wrench/reftests/clip/clip-rectangle-redundant-sc.yaml
deleted file mode 100644
index ac88edb489d..00000000000
--- a/third_party/webrender/wrench/reftests/clip/clip-rectangle-redundant-sc.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-# Test that rect clips on redundant stacking contexts are applied to child prims
----
-root:
- items:
- -
- bounds: [0, 0, 100, 100]
- type: clip
- id: 2
- -
- clip-node: 2
- type: "stacking-context"
- items:
- -
- bounds: [0, 0, 200, 200]
- type: rect
- color: blue
diff --git a/third_party/webrender/wrench/reftests/clip/reftest.list b/third_party/webrender/wrench/reftests/clip/reftest.list
index 155678562ff..8518911a9f4 100644
--- a/third_party/webrender/wrench/reftests/clip/reftest.list
+++ b/third_party/webrender/wrench/reftests/clip/reftest.list
@@ -1,10 +1,10 @@
platform(linux,mac) == border-with-rounded-clip.yaml border-with-rounded-clip.png
-fuzzy-if(platform(swgl),1,4) == clip-mode.yaml clip-mode.png
-fuzzy-if(platform(swgl),1,80) == clip-ellipse.yaml clip-ellipse.png
+== clip-mode.yaml clip-mode.png
+== clip-ellipse.yaml clip-ellipse.png
platform(linux,mac) == clip-45-degree-rotation.yaml clip-45-degree-rotation-ref.png
== clip-3d-transform.yaml clip-3d-transform-ref.yaml
fuzzy(1,4) == clip-corner-overlap.yaml clip-corner-overlap-ref.yaml
-fuzzy(9,60) == custom-clip-chains.yaml custom-clip-chains-ref.yaml
+fuzzy(8,60) == custom-clip-chains.yaml custom-clip-chains-ref.yaml
== custom-clip-chain-node-ancestors.yaml custom-clip-chain-node-ancestors-ref.yaml
== fixed-position-clipping.yaml fixed-position-clipping-ref.yaml
platform(linux,mac) == segmentation-with-other-coordinate-system-clip.yaml segmentation-with-other-coordinate-system-clip.png
@@ -16,6 +16,3 @@ color_targets(1) alpha_targets(0) == clip-out-rotation.yaml blank.yaml # Unexpec
== clipped-occlusion.yaml clipped-occlusion-ref.yaml
== clip-empty-inner-rect.yaml clip-empty-inner-rect-ref.yaml
== iframe-nested-in-stacking-context.yaml iframe-nested-in-stacking-context-ref.yaml
-== clip-rectangle-redundant-sc.yaml clip-rectangle-redundant-sc-ref.yaml
-fuzzy(128,707) == clip-filter-raster-root.yaml clip-filter-raster-root-ref.yaml
-== blend-container.yaml blend-container-ref.yaml