gecko-dev/layout
Andrew Osmond fbaa72bc71 Bug 1617493 - Rasterize SVG patterns in content process into a shared surface for WebRender. r=jrmuizel
In DrawTargetRecording::CreateSimilarDrawTarget, we would originally
create a new DrawTargetRecording. For resources that are shared, such as
SVG patterns, we would do the same work for each blob image tile. This
can get expensive if the pattern is large. Now we check a size
threshold, and if passed, we create a DrawTargetSkia backed by a
SourceSurfaceSharedData. When we want a snapshot, we now try to get the
shared surface instead if available. The recording infrastructure
already knows how to handle the lifetimes and use of external IDs for
shared surfaces, so now we rasterize the pattern once for all the blob
tiles. In an ideal world we would do this in the compositor process
once, but that requires more changes, and this is useful as a stopgap in
the meantime.

Differential Revision: https://phabricator.services.mozilla.com/D63903

--HG--
extra : moz-landing-system : lando
2020-02-25 13:56:23 +00:00
..
base Bug 1617565 - Convert additional compile-conditional logging bits to MOZ_LOG. r=botond 2020-02-24 16:31:04 +00:00
build Bug 1617472 - Remove nsCSSKeywords and related infrastructure. r=heycam 2020-02-24 13:30:48 +00:00
doc
forms Bug 1617421 - Use cbindgen for cursors. r=jwatt 2020-02-23 13:07:30 +00:00
generic Bug 1615811 - Invalidate old display items if overflow changes on an element that can display ellipsis. r=mattwoodrow 2020-02-24 19:34:07 +00:00
inspector Bug 1614202 - Implement parsing for CSS conic-gradient syntax. r=emilio 2020-02-19 17:43:04 +00:00
ipc Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
mathml Bug 1617472 - Use enums for text-align / text-align-last. r=jfkthame 2020-02-24 13:32:57 +00:00
media
painting Bug 1617515 - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert 2020-02-25 13:42:58 +00:00
printing Bug 1552966. Convert the printing code to stop using DocShellTree* classes. r=farre 2020-02-14 16:31:01 +00:00
reftests Bug 1617515 - Properly advance current position for glyph runs where we don't implement ink-skipping. r=dholbert 2020-02-25 13:42:58 +00:00
style Bug 1617302 - Temporarily disallow duplicate style sheets r=emilio 2020-02-24 21:50:53 +00:00
svg Bug 1617493 - Rasterize SVG patterns in content process into a shared surface for WebRender. r=jrmuizel 2020-02-25 13:56:23 +00:00
tables Bug 1492315 - Subtract table grid item margins correctly. r=mats 2020-02-24 21:56:02 +00:00
tools Bug 1616368 - [reftest] Replace 'default-preferences' with 'defaults' r=dbaron 2020-02-20 18:47:54 +00:00
xul Bug 1617542 - Remove nsRefPtrHashtable::Put overload accepting already_AddRefed and adapt all uses. r=froydnj 2020-02-25 09:36:12 +00:00
moz.build