gecko-dev/layout/reftests
Glenn Watson df6fb4e5a5 Bug 1667707 - Optimize clip image mask rendering for axis-aligned masks. r=jrmuizel
There is some complexity in rendering clip masks that contain tiled
images, when the transform is complex (getting edge AA correct etc).
To work around this, the existing implementation simply draws the
entire primitive region with each image tile of the clip mask. This
works but is slow on large clip masks.

We can apply a simple optimization when the clip is axis-aligned,
which is the common case for the vast majority of pages. When this
case occurs, calculate a device space sub-rect for each of the
image mask tiles, and only draw to that part of the clip mask.

This can drastically reduce the amount of overdraw on pages that
have tiled clip masks that take up a large portion of the screen.
In the long term, WR should handle the case of complex transform
+ tiled clip masks better too.

Differential Revision: https://phabricator.services.mozilla.com/D91540
2020-09-29 22:59:10 +00:00
..
abs-pos Bug 1631887 - Claim to support NonDisappearingScrollbarWidth on the non-native theme. r=spohl 2020-04-22 17:45:39 +00:00
apng-mime
async-scrolling Bug 1663537. Use scrollbar-width: none on some reftests that are not trying to test scrollbars. r=botond 2020-09-12 06:59:53 +00:00
backgrounds Bug 1649663 - Migrate reftest-paged reftests in layout/reftests/backgrounds/ into wpt. r=TYLin 2020-07-02 04:01:33 +00:00
bidi Bug 1635473 - [css-overflow] Make viewport propagation for 'overflow:-moz-hidden-unscrollable' compatible with the spec for 'clip'. r=emilio 2020-08-01 02:00:23 +00:00
border-dotted
border-image Bug 1664459 - simplify WebRender radial gradient shader. r=mattwoodrow 2020-09-13 18:26:32 +00:00
border-radius Bug 1602323. Mark a few reftests as passing with fission now. 2020-03-07 07:13:05 +00:00
box Bug 1607575 - Change consumers of XUL ordinal attribute to use the -moz-box-ordinal-group style instead r=bgrins 2020-01-22 17:23:47 +01:00
box-ordinal Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
box-properties
box-shadow Bug 1657743: Fix reftests. r=emilio 2020-08-21 14:01:44 +00:00
box-sizing
bugs Bug 1644691 - Update fuzziness for bugs/456219-2.html. r=mattwoodrow 2020-09-14 00:01:17 +00:00
canvas
columns Bug 1647520 Part 2 - Set font and line-height to make column reftests stable across all platforms. r=heycam 2020-07-20 22:27:42 +00:00
counter-style
counters Bug 1548753 - [css-lists] Prefer an ancestor's counter scope over a sibling's scope. r=emilio 2020-08-27 18:26:38 +00:00
css-animations Bug 1564128 part 3 - Reftests checking for if animations are applied in print preview r=hiro 2020-05-14 23:15:51 +00:00
css-blending Bug 1662894 - Expand fuzzy range for mix-blend-mode-and-filter.svg; r=kats 2020-09-17 10:41:00 +00:00
css-break Bug 1647520 Part 1 - Adjust reftests so that the optimal column balancing height is on whole CSS pixels. r=heycam 2020-07-20 22:27:35 +00:00
css-calc
css-charset
css-default
css-disabled
css-display Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky 2019-11-05 20:45:28 +00:00
css-enabled
css-gradients Bug 1658057 - Adjust reftest expectations for windows reftests on hardware. r=bc 2020-08-11 21:25:03 +00:00
css-grid Bug 1655581 - [css-grid] Use min-content size for intrinsic maximums resolution. r=mats 2020-09-11 12:42:07 +00:00
css-import
css-invalid
css-mediaqueries Bug 1414600 - Make media queries and viewport units in print be evaluated against the default page size minus margins. r=dholbert,nordzilla 2020-08-19 10:32:16 +00:00
css-optional
css-parsing
css-placeholder Bug 1656813 - Annotate fuzzy reftest differences. r=lsalzman 2020-08-05 02:19:08 +00:00
css-required
css-ruby Bug 1134069 part 3 - Move most appropriate tests into wpt. r=dbaron 2019-12-27 00:31:48 +00:00
css-scroll-snap Bug 1588743 - Remove old scroll-snap implementation, and scroll snapping prefs. r=hiro 2019-10-15 12:40:14 +00:00
css-scrollbars Bug 1641324 Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs r=emilio 2020-06-10 13:16:34 +00:00
css-selectors Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky 2019-11-05 20:45:28 +00:00
css-shapes
css-sizing
css-submit-invalid
css-transitions Bug 1510030 - Enable background color animimations on WebRender. r=boris 2020-02-27 08:43:09 +00:00
css-ui
css-ui-invalid Bug 1631887 - Claim to support NonDisappearingScrollbarWidth on the non-native theme. r=spohl 2020-04-22 17:45:39 +00:00
css-ui-valid Bug 1584652 - add Android fuzzy-if for css-ui-valid/select/select-valid.html; r=dholbert 2019-09-30 15:13:37 +00:00
css-valid
css-valuesandunits Bug 1564882 - Increase fuzzy value on scrollbar thumbs. r=TYLin 2020-04-01 00:13:26 +00:00
css-variables
css-visited Bug 1595285 - Do not track TRANSITION_EMBED visits for link-coloring purposes. r=mak 2019-11-13 16:36:09 +00:00
cssom
datalist
details-summary Bug 1648016 - Migrate reftest-paged reftests in layout/reftests/details-summary into wpt. r=TYLin 2020-06-25 21:01:26 +00:00
display-list Bug 1619370 - Return the rect from BrowserChild::GetVisibleRect() in app units r=mattwoodrow 2020-09-25 09:38:06 +00:00
dom Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky 2019-11-05 20:45:28 +00:00
first-letter Bug 1633732 - Increase the fuzz range even more to account for some other win builds. 2020-05-03 19:49:27 +00:00
first-line Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert 2019-09-05 21:37:32 +00:00
flexbox Bug 1633031 Part 2 - Add reftests for fragmenting multi-line column-oriented flex containers. r=dholbert 2020-08-19 21:22:34 +00:00
floats Bug 1620476 - Fix a test that makes assumptions about the padding of a textarea. r=mstange 2020-03-06 21:41:58 +00:00
font-face Bug 1616368 - [reftest] Replace 'default-preferences' with 'defaults' r=dbaron 2020-02-20 18:47:54 +00:00
font-features Bug 1634672 - Use a Japanese font from the base macOS set rather than an optional font in the font-features/fwid-spaces testcase. r=jwatt 2020-05-07 18:33:02 +00:00
font-inflation Bug 1663537. Use overlay scrollbars in a few reftests. r=kats 2020-09-10 21:19:34 +00:00
font-loading-api Bug 1616368 - [reftest] Replace 'default-preferences' with 'defaults' r=dbaron 2020-02-20 18:47:54 +00:00
font-matching Bug 1533462 - Enable the cross-process shared fontlist by default on Nightly builds. r=jwatt 2020-09-07 17:20:58 +00:00
font-variations Bug 1616368 - [reftest] Replace 'default-preferences' with 'defaults' r=dbaron 2020-02-20 18:47:54 +00:00
fonts Bug 1637405 - Add reftest for shaping with a PUA-encoded diacritic. r=jrmuizel 2020-05-15 13:28:54 +00:00
forms Bug 1662703 - Make appearance: button behave like auto. r=heycam 2020-09-10 08:58:09 +00:00
frameset
generated-content
high-contrast Bug 1668029 - When resetting background color for high contrast, preserve alpha channel appropriately. r=morgan 2020-09-29 22:04:56 +00:00
ib-split Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky 2019-11-05 20:45:28 +00:00
image Bug 1658881 - When failing to create a channel and an image request, make sure to set the image blocking status appropriately. r=tnikkel 2020-09-09 22:58:29 +00:00
image-element Bug 1656813 - Annotate fuzzy reftest differences. r=lsalzman 2020-08-05 02:19:08 +00:00
image-rect
image-region Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
indic-shaping Bug 1608582 - tighten reftest annotation, part 2 r=jmaher 2020-01-11 12:33:10 +00:00
inline
inline-borderpadding
invalidation Bug 1616901 - Adjust reftest expectations. r=jrmuizel 2020-03-23 15:29:59 +00:00
layers
line-breaking
list-item Bug 1308587 Part 1 - Manually remove "-moz" prefixed multi-column properties in some tests. r=dholbert 2019-09-05 21:32:05 +00:00
margin-collapsing Bug 1308636 Part 2 - Convert CSSOM usages of moz-prefixed column properties in tests. r=dbaron 2020-01-16 21:45:17 +00:00
marquee
mathml Bug 1667719: Add preferences, warnings and telemetry for the scriptminsize and scriptsizemultiplier attributes. r=emilio 2020-09-28 14:12:27 +00:00
meta-viewport Bug 1663537. Use overlay scrollbars in a few reftests. r=kats 2020-09-10 21:19:34 +00:00
mp4-video Bug 1584290 - Enable many reftests on Android; r=geckoview-reviewers,snorp 2019-09-30 16:34:16 +00:00
native-theme Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky 2020-04-03 22:23:23 +00:00
object
ogg-video Bug 1584290 - Enable many reftests on Android; r=geckoview-reviewers,snorp 2019-09-30 16:34:16 +00:00
outline Bug 1605265 - Don't include overflow child list when computing outline rect. r=emilio 2020-01-10 23:44:46 +00:00
pagination Bug 1635473 - [css-overflow] Make viewport propagation for 'overflow:-moz-hidden-unscrollable' compatible with the spec for 'clip'. r=emilio 2020-08-01 02:00:23 +00:00
percent-overflow-sizing
pixel-rounding Backed out 2 changesets (bug 477157) for border rendering regressions. 2020-06-14 11:45:06 +02:00
position-dynamic-changes
position-relative
position-sticky Bug 1652186 - Expand the content in <iframe> into block-in-inline-continuations.html. r=emilio 2020-08-07 10:06:28 +00:00
printing Bug 1631449 - Apply a grayscale filter to pages when monochrome. r=jwatt 2020-07-15 03:45:33 +00:00
reftest-sanity Bug 1484047 - Add an async-scrolling reftest that mixes painted and async scrolls. r=botond 2020-07-30 09:46:03 +00:00
scrolling Bug 1661903 - Update test expectation to match Chrome and be consistent with other similar scenarios. r=tnikkel 2020-09-12 13:06:22 +00:00
selection Bug 1623837 - Use the last focused selection in nsDocViewerFocusListener. r=masayuki 2020-03-23 01:31:14 +00:00
stylesheet-cloning
svg Bug 1667707 - Optimize clip image mask rendering for axis-aligned masks. r=jrmuizel 2020-09-29 22:59:10 +00:00
tab-size
table-anonymous-boxes Bug 1632420 - Mark a test as also a bit fuzzy on opt android builds. 2020-05-02 18:42:30 +00:00
table-background
table-bordercollapse Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown 2019-07-04 21:57:48 +00:00
table-dom
table-html
table-overflow Bug 1531609 part 2 - Implement overflow:clip/visible combinations. r=emilio 2020-08-01 01:57:41 +00:00
table-width
text Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato 2020-08-26 09:31:58 +00:00
text-decoration Bug 1655364 - Rename gfxShapedText::SetGlyphs to SetDetailedGlyphs and make it just set glyph information, not clobber character-type flags. r=heycam 2020-07-30 11:48:06 +00:00
text-indent
text-overflow Bug 1664638 - Replace the ScrollPositionUpdate from scrollframe construction with one that has the scroll position. r=tnikkel 2020-09-19 00:30:22 +00:00
text-shadow Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
text-stroke Bug 1616901 - More reftest adjustments. r=jrmuizel 2020-03-23 17:36:41 +00:00
text-svgglyphs Bug 1543639 - Fix svg-glyph-extents reftest timeouts when running on Fennec with webcompat extension installed. r=heycam 2019-09-08 23:21:47 +00:00
text-transform Bug 1610512 - Part 4: Update Gecko to Unicode 13. r=jfkthame 2020-03-17 14:09:20 +00:00
transform Bug 1659227 - Jank if the partial pre-render area is outside of the clip rect regardless of whether the entire element is also outside of the clip rect or not. r=botond 2020-09-23 06:36:27 +00:00
transform-3d Bug 1256980 - Make z-index only apply to positioned and grid / flex item frames. r=miko,hiro 2020-06-30 22:51:12 +00:00
unicode
usercss Bug 1615832 - Fix a test after the previous patch. 2020-02-15 21:30:15 +00:00
view-source
w3c-css Bug 1658815 - Support all texture target types for the cs_scale shader. r=gw 2020-09-25 05:30:29 +00:00
web-animations
webcomponents
webkit-box Bug 1555376 - Snap glyphs before clipping in the shader. r=lsalzman 2019-11-30 15:57:44 +00:00
webkit-gradient
webm-video Bug 1616368 - [reftest] Replace 'default-preferences' with 'defaults' r=dbaron 2020-02-20 18:47:54 +00:00
writing-mode Bug 1657743: Fix reftests. r=emilio 2020-08-21 14:01:44 +00:00
xul Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato 2020-08-26 09:31:58 +00:00
xul-document-load Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert 2019-11-16 01:02:44 +00:00
z-index
filters.svg
moz.build Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart 2020-04-09 00:24:29 +00:00
reftest-qr.list Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc 2020-04-24 18:54:51 +00:00
reftest.list Bug 1627577 part 4: Enable printing restests on macOS and Windows. r=emilio 2020-05-22 13:54:07 +00:00