layout/reftests/svg/svg-integration/clip-path/reftest.list
author Glenn Watson <github@intuitionlibrary.com>
Tue, 19 Mar 2019 19:48:13 +0000
changeset 465091 cd0c67b9aeddba87b444752885396697da387620
parent 464904 a852a3b599b48136d3a534d023d15ceb12f88695
child 465479 91b886baa72d47280c5a0f5cca15f1c70d92f22f
permissions -rw-r--r--
Bug 1535976 - Add a fast path for common rounded rect clips to WR. r=kvark Most rounded rect clips in real content are (a) axis aligned and (b) have uniform radii. When these conditions are met, we can run a fast path for clip mask generation that uses significantly fewer ALU shader ops. This is not typically a bottleneck on desktop GPUs, but can have a large performance impact on mobile GPUs (and perhaps low end integrated GPUs). The Mali shader analyzer reports the slow path for the rounded rect clip shader to be 94 cycles per fragment, while the fast path is 10 cycles. Differential Revision: https://phabricator.services.mozilla.com/D23817

# These tests verify that CSS clip-path behaves properly.
# e.g. clip-path: polygon(nonzero, 3px 3px, 20% 20%)

# Following tests adapted from W3C csswg-test repo
== clip-path-polygon-001.html clip-path-rectangle-ref.html
== clip-path-polygon-002.html clip-path-rectangle-ref.html
== clip-path-polygon-003.html clip-path-rectangle-ref.html
== clip-path-polygon-004.html clip-path-rectangle-border-ref.html
== clip-path-polygon-005.html clip-path-rectangle-border-ref.html
== clip-path-polygon-006.html clip-path-square-001-ref.html
== clip-path-polygon-007.html clip-path-stripes-001-ref.html
== clip-path-polygon-008.html clip-path-stripes-002-ref.html
== clip-path-polygon-009.html clip-path-square-002-ref.html
== clip-path-polygon-010.html clip-path-stripes-001-ref.html
== clip-path-polygon-011.html clip-path-stripes-001-ref.html
== clip-path-polygon-012.html clip-path-stripes-001-ref.html
fuzzy-if(skiaContent,0-1,0-20) fuzzy-if(webrender&&gtkWidget,8-8,20-20) fails-if(webrender&&!gtkWidget) == clip-path-polygon-013.html clip-path-stripes-003-ref.html

fuzzy-if(webrender,35-35,699-708) == clip-path-circle-001.html clip-path-circle-001-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-002.html clip-path-circle-001-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-003.html clip-path-circle-001-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-004.html clip-path-circle-001-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-005.html clip-path-circle-002-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-006.html clip-path-circle-001-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-007.html clip-path-circle-002-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-008.html clip-path-circle-002-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-009.html clip-path-circle-003-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-010.html clip-path-circle-004-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-011.html clip-path-circle-005-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-012.html clip-path-circle-006-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-013.html clip-path-circle-002-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-014.html clip-path-circle-007-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-015.html clip-path-circle-008-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-016.html clip-path-circle-009-ref.html
fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu),0-16,0-9) fuzzy-if(webrender,35-35,699-708) == clip-path-circle-017.html clip-path-circle-007-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-018.html clip-path-circle-010-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-019.html clip-path-circle-002-ref.html
fuzzy-if(webrender,35-35,699-708) == clip-path-circle-020.html clip-path-circle-002-ref.html
fuzzy-if(webrender&&winWidget,0-1,0-5) == clip-path-circle-021.html clip-path-circle-021-ref.html

fuzzy-if(webrender,36-36,1099-1100) == clip-path-ellipse-001.html clip-path-ellipse-001-ref.html
fuzzy-if(webrender,36-36,1099-1100) == clip-path-ellipse-002.html clip-path-ellipse-001-ref.html
fuzzy-if(webrender,36-36,1099-1100) == clip-path-ellipse-003.html clip-path-ellipse-001-ref.html
fuzzy-if(webrender,36-36,1099-1100) == clip-path-ellipse-004.html clip-path-ellipse-001-ref.html
fuzzy-if(webrender,36-36,1099-1100) == clip-path-ellipse-005.html clip-path-ellipse-001-ref.html
fuzzy-if(webrender,36-36,1099-1100) == clip-path-ellipse-006.html clip-path-ellipse-001-ref.html
fuzzy-if(webrender,36-36,1099-1100) == clip-path-ellipse-007.html clip-path-ellipse-001-ref.html
fuzzy-if(webrender,36-36,1099-1100) == clip-path-ellipse-008.html clip-path-ellipse-001-ref.html

== clip-path-inset-001a.html clip-path-inset-001-ref.html
== clip-path-inset-001b.html clip-path-inset-001-ref.html
== clip-path-inset-001c.html clip-path-inset-001-ref.html
# Anti-aliasing behavior for masking and borders is different
fuzzy-if(!webrender,0-64,0-146) fuzzy-if(webrender,0-1,0-2) == clip-path-inset-002a.html clip-path-inset-002-ref.html
fuzzy-if(!webrender,0-64,0-146) fuzzy-if(webrender,0-1,0-2) == clip-path-inset-002b.html clip-path-inset-002-ref.html
fuzzy-if(!webrender,0-64,0-146) fuzzy-if(webrender,0-1,0-2) == clip-path-inset-002c.html clip-path-inset-002-ref.html
fuzzy-if(!webrender,0-64,0-340) fuzzy-if(webrender,0-1,0-2) == clip-path-inset-003.html clip-path-inset-003-ref.html

== clip-path-stroke-001.html clip-path-stroke-001-ref.html

== clip-path-transform-001.html clip-path-transform-001-ref.html