gecko-dev/layout
Miko Mynttinen 0075ba9551 Bug 1619367 - Fix mask/filter opacity optimizations with WebRender r=jrmuizel
This patch fixes two opacity/mask optimizations when WebRender is in use:
- The first optimization defers opacity handling and applies it during painting of nsDisplayMasksAndClipPaths if it is the only item inside nsDisplayOpacity. This was broken because WebRenderCommandBuilder did not invalidate the mask image when this decision changed.
- The second optimization applies opacity directly to stacking context in |nsDisplayMasksAndClipPaths::CreateWebRenderCommands()| with non-polygonal clip-paths. This was relying on the above optimization incorrectly triggering, which flattened away the opacity container. However, if the nsDisplayOpacity was active or contained more than one item, the opacity could be applied twice.

Differential Revision: https://phabricator.services.mozilla.com/D68995
2020-04-16 15:39:33 +00:00
..
base Bug 1615588 - nsDocumentViewer: Use prompt service instead of nsIPrompt. r=johannh,jfkthame 2020-04-16 14:44:18 +00:00
build Bug 1599131: Remove carve outs for downloads within x-frame-options when fission enabled. r=smaug,mattwoodrow 2020-04-14 05:57:44 +00:00
docs Bug 1628958 Part 1 - Add Layout & CSS section to Mozilla Source Tree Documentation. r=firefox-source-docs-reviewers,sylvestre 2020-04-15 18:07:24 +00:00
forms Bug 1629732 - Fix non-unified build errors in layout/forms. r=tnikkel 2020-04-15 04:29:46 +00:00
generic Bug 1630463 - Simplify some backdrop-filter pref checks. r=cbrewster 2020-04-16 01:20:31 +00:00
inspector Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
ipc Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
mathml Bug 1619349 - patch 1 - Record statistics about font-matching behavior in the presContext. r=jwatt 2020-04-02 01:38:18 +00:00
media
painting Bug 1619367 - Fix mask/filter opacity optimizations with WebRender r=jrmuizel 2020-04-16 15:39:33 +00:00
printing Bug 1624829 - Use FunctionRef for various Enumerate* callbacks. r=edgar 2020-03-26 12:44:47 +00:00
reftests Bug 1619367 - Fix mask/filter opacity optimizations with WebRender r=jrmuizel 2020-04-16 15:39:33 +00:00
style Bug 1629596 - Rename mParent to mParentSheet r=emilio 2020-04-13 20:49:32 +00:00
svg Bug 1628988. Don't apply ImgDrawResult::NOT_READY in PaintMaskSurface. r=mstange 2020-04-13 20:08:05 +00:00
tables Bug 1626665: part 11) Declare nsILineIterator::GetNumLines const. r=hsivonen 2020-04-08 06:57:07 +00:00
tools Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang 2020-04-11 13:42:12 +00:00
xul Bug 1629096 - Honor scroll-padding / margin in ns{ListControl,MenuPopup}Frame. r=hiro 2020-04-10 21:34:22 +00:00
moz.build Bug 1628958 Part 1 - Add Layout & CSS section to Mozilla Source Tree Documentation. r=firefox-source-docs-reviewers,sylvestre 2020-04-15 18:07:24 +00:00