Commit Graph

30894 Commits

Author SHA1 Message Date
Doug Thayer
f0ed0dee36 Bug 1417699 - Remove PrimitiveType enum r=mstange
Ran into a couple of test failures because I was leaving
mAttributes empty for empty things like MergeAttributes, and
only setting mType. Since mType is now redundant though, and
since it's the only use of PrimitiveType, I figured I'd just
remove it entirely.

Depends on D4900

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

--HG--
extra : moz-landing-system : lando
2018-09-19 17:18:44 +00:00
Doug Thayer
e79792a58a Bug 1417699 - Replace hash map with tagged union r=mstange
This replaces the hash map of attributes with a tagged union. In
this case, all filter attributes will be stored in line, with the
exception of some more complex attributes which have an internal
nsTArray of floats. This should help avoid all the hashing and
extra heap allocations.

Depends on D4899

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

--HG--
extra : moz-landing-system : lando
2018-09-19 17:18:16 +00:00
Doug Thayer
39b28dbb28 Bug 1417699 - Avoid copies of filter attributes when possible r=mstange
This is a more conservative optimization for bug 1417699. There's no
reason we need to be copying these everywhere, so let's just go ahead
and implement moves.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 17:17:43 +00:00
Narcis Beleuzu
49ae56e475 Merge inbound to mozilla-central. a=merge 2018-09-19 19:42:36 +03:00
Jamie Nicol
0d93291c01 Bug 1418816 - Part 3: Handle repeated image layers in advanced layers. r=mattwoodrow
Depends on D6025

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

--HG--
extra : moz-landing-system : lando
2018-09-19 12:14:15 +00:00
Jamie Nicol
b1d6426ad5 Bug 1418816 - Part 2: Handle repeated image layers in ImageLayerComposite. r=mattwoodrow
Depends on D6024

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

--HG--
extra : moz-landing-system : lando
2018-09-19 12:14:10 +00:00
Jamie Nicol
5294656897 Bug 1418816 - Part 1: Add repeat size property to ImageLayer. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D6024

--HG--
extra : moz-landing-system : lando
2018-09-19 04:44:26 +00:00
Jeff Muizelaar
7f311c1aa7 Bug 1492133. Update webrender to commit 5b5b4145ecef117acb02fd1f9b72bf02e85c650b 2018-09-18 23:34:32 -04:00
arthur.iakab
1ee75a928a Merge inbound to mozilla-central a=merge 2018-09-19 05:18:50 +03:00
Mike Hommey
b5c39c5a85 Bug 1492065 - Use Swizzle fallback when SSE2 is not supported r=lsalzman
The same is done for NEON, and the check folds to nothing when building
when the build target supports SSE2 and runtime detection is not
necessary.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 15:47:43 +00:00
Jeff Muizelaar
14d863897b Bug 1491395. Replace BorderWidths with LayoutSideOffsets. on a CLOSED TREE
--HG--
extra : source : 432d22af68c825eebd86482c714b3cffcba408c7
extra : amend_source : e38a2ed15ae4a93613244726fbfad2d196876ad8
2018-09-18 09:01:36 -04:00
Jeff Muizelaar
5c975145e9 Bug 1491395. Update webrender to commit 6fa046c936b9d720726d27c3b0514ee66a305b69
--HG--
extra : source : 153d6dc389626a489be3b29e9ec4ddb4c4744566
2018-09-18 09:01:33 -04:00
Ehsan Akhgari
77ce9e051f Backout changeset b4f8cb6afab6 (bug 1491594) for talos performance regressions 2018-09-18 18:33:56 -04:00
Ted Mielczarek
de99592416 Bug 1399870 - make DEFFILE a Path instead of a string; r=gps
All but one of the current uses of DEFFILE use `SRCDIR + '/file.def'` to
get a srcdir-relative path anyway, and the other one wants an
objdir-relative path, so using Path makes everything clearer.

This makes it more straightforward to translate the paths for the WSL
build.
2018-09-18 15:50:19 -04:00
Andreea Pavel
21be148b05 Backed out 2 changesets (bug 1491395) for failing awsy\test_memory_usage.py TestMemoryUsage.test_open_tabs on a CLOSED TREE
Backed out changeset 432d22af68c8 (bug 1491395)
Backed out changeset 153d6dc38962 (bug 1491395)
2018-09-18 21:23:03 +03:00
Doug Thayer
be5fea716c Bug 1483533 - Delay texture delete for DirectMapTextureSource r=jrmuizel
I wish I understood a little better what precisely is going on
here. What seems to be the problem is calling glDeleteTextures
too early, but I can't pin down exactly when "too early" is.
In any case I can no longer reproduce the issue with this patch
applied, and I cannot observe any performance degradation, and
it's not a remarkably risky patch, so I'm opting to cut the
investigation short. Any insights would be appreciated though.

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

--HG--
extra : moz-landing-system : lando
2018-09-18 19:08:13 +00:00
Bas Schouten
3f601ce856 Bug 1479640: Restructure cleartype parameter code to run less frequently and only in the parent process. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D4784

--HG--
extra : moz-landing-system : lando
2018-09-13 18:59:27 +00:00
Jonathan Kew
ec73ee3318 Bug 1491860 - Use utf-8 rather than utf-16 strings to read/store font family names from preferences, as they're almost entirely ASCII. r=lsalzman 2018-09-18 09:34:24 +01:00
Jonathan Kew
0d4dbd1e37 Bug 1490997 - Use nsAtom instead of nsString for font family name in the FontFamilyName struct, and switch its methods from 16-bit to 8-bit strings. r=lsalzman 2018-09-18 09:34:21 +01:00
Ryan Hunt
b3f188e17a Bug 1491428 - Add documentation for OMTP. r=mattwoodrow DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D5899

--HG--
extra : rebase_source : 86aee6a6b3c823903b9a66ab28497bde71ea6646
extra : source : b6fb3ed7fad55c119475453447b8603ea111a0df
2018-09-14 14:51:28 -05:00
Andrew Osmond
8be55f0165 Bug 1337111 - Part 5. Add pref to force decoding of full frames, disabled by default. r=tnikkel 2018-09-17 15:06:29 -04:00
Arika Arnzen
29454d7afb Bug 1488910 - Rename remaining uses of "SPCSPS" to "visual viewport size". r=botond
--HG--
extra : rebase_source : 8272c090e436d42926bf0e0584ad8f1b402011bb
2018-09-14 15:23:28 -04:00
Coroiu Cristina
de5411772c Backed out 6 changesets (bug 1337111) for build bustages at builds/worker/workspace/build/src/image/SurfaceFilters.h on a CLOSED TREE
Backed out changeset ca0caa556dc9 (bug 1337111)
Backed out changeset d7d7fa868d0d (bug 1337111)
Backed out changeset 93e956e89a21 (bug 1337111)
Backed out changeset f36337c1309b (bug 1337111)
Backed out changeset 1b1e25b0b345 (bug 1337111)
Backed out changeset 3785cdebe6a3 (bug 1337111)
2018-09-17 20:42:30 +03:00
Andrew Osmond
f823b924c8 Bug 1337111 - Part 5. Add pref to force decoding of full frames, disabled by default. r=tnikkel 2018-09-17 13:21:38 -04:00
Ryan Hunt
c272b03256 Bug 1440937 - Change PaintTask to be a UniquePtr. r=mattwoodrow
Now that we have C++14 support we can capture a move only object in a lambda expression.

--HG--
extra : rebase_source : 232639ba334520cf9d38d68190af8fdcd4aa454d
2018-09-12 10:28:59 -05:00
Ehsan Akhgari
7c90f6f4f5 Bug 1491594 - Remove the XPCOM registration for the native theme renderer; r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5961
2018-09-16 13:51:21 -04:00
Bobby Holley
bfef218298 Bug 1491572 - Add a reason string to added MOZ_ASSERT_UNREACHABLE. r=me
MozReview-Commit-ID: EpS5ubqYGec
2018-09-16 10:10:43 -07:00
Masatoshi Kimura
ccda8a2b19 Bug 1491615 - Re-enable warnings-as-errors on clang-cl in gfx/layers/. r=jrmuizel
* TexSlot caused warnings because some TexSlot constants are unused. Since some
  files under gfx/vr/ want TexSlot constants, I moved the definition to
  CompositionD3D11.h. (But I didn't fix gfx/vr/ in this patch.)

* Since MOZ_ASSERT_UNREACHABLE falls through in release builds, we should
  assign a value even in the `default` case instead of invoking UB. If we do
  not care about UB, we should use MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE.

--HG--
extra : rebase_source : 66647124582efe26f9e6dbe35f24fe6955cead4b
2018-09-16 08:00:02 +09:00
Dorel Luca
7a91966c10 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-15 12:46:59 +03:00
Bobby Holley
9942d41fd9 Bug 1491478 - Properly attribute the memory report when using the GPU process. r=mstange
MozReview-Commit-ID: Db9mz5jQKwG
2018-09-14 22:04:38 -07:00
Bobby Holley
45da216271 Bug 1491478 - Don't collect WR memory reports when it's not enabled. r=mstange
MozReview-Commit-ID: Ek2bgg2D3Bq
2018-09-14 22:04:23 -07:00
Bobby Holley
1909109298 Bug 1491478 - Move WebRender memory reporting back to gfxPlatform. r=me
This is how things looked when jrmuizel reviewed them.

MozReview-Commit-ID: Gqp1tcNzsjC
2018-09-14 22:03:49 -07:00
Jeff Muizelaar
3a0d8a821d Bug 1491141. Don't include old Tesla devices in webrender.qualified r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5805

--HG--
extra : moz-landing-system : lando
2018-09-14 22:35:34 +00:00
David Major
2292c52f8f Bug 1491279: Backed out clang-cl workaround from bug 1479842 that is no longer needed. r=me 2018-09-14 08:30:56 -04:00
sotaro
24c5a93279 Bug 1486958 - Sync FlushRendering() only during resizing on windows r=mattwoodrow 2018-09-14 17:13:55 +09:00
Noemi Erli
c2716211ca Merge inbound to mozilla-central. a=merge 2018-09-14 06:31:31 +03:00
Ryan VanderMeulen
9f7d0bfb65 Bug 1490062 - Update HarfBuzz to version 1.9.0. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D5830

--HG--
rename : gfx/harfbuzz/src/hb-aat-layout-common-private.hh => gfx/harfbuzz/src/hb-aat-layout-common.hh
rename : gfx/harfbuzz/src/hb-aat-layout-private.hh => gfx/harfbuzz/src/hb-aat-layout.hh
rename : gfx/harfbuzz/src/hb-atomic-private.hh => gfx/harfbuzz/src/hb-atomic.hh
rename : gfx/harfbuzz/src/hb-blob-private.hh => gfx/harfbuzz/src/hb-blob.hh
rename : gfx/harfbuzz/src/hb-buffer-private.hh => gfx/harfbuzz/src/hb-buffer.hh
rename : gfx/harfbuzz/src/hb-face-private.hh => gfx/harfbuzz/src/hb-face.hh
rename : gfx/harfbuzz/src/hb-font-private.hh => gfx/harfbuzz/src/hb-font.hh
rename : gfx/harfbuzz/src/hb-iter-private.hh => gfx/harfbuzz/src/hb-iter.hh
rename : gfx/harfbuzz/src/hb-machinery-private.hh => gfx/harfbuzz/src/hb-machinery.hh
rename : gfx/harfbuzz/src/hb-map-private.hh => gfx/harfbuzz/src/hb-map.hh
rename : gfx/harfbuzz/src/hb-mutex-private.hh => gfx/harfbuzz/src/hb-mutex.hh
rename : gfx/harfbuzz/src/hb-object-private.hh => gfx/harfbuzz/src/hb-object.hh
rename : gfx/harfbuzz/src/hb-open-file-private.hh => gfx/harfbuzz/src/hb-open-file.hh
rename : gfx/harfbuzz/src/hb-open-type-private.hh => gfx/harfbuzz/src/hb-open-type.hh
rename : gfx/harfbuzz/src/hb-ot-layout-common-private.hh => gfx/harfbuzz/src/hb-ot-layout-common.hh
rename : gfx/harfbuzz/src/hb-ot-layout-gsubgpos-private.hh => gfx/harfbuzz/src/hb-ot-layout-gsubgpos.hh
rename : gfx/harfbuzz/src/hb-ot-layout-private.hh => gfx/harfbuzz/src/hb-ot-layout.hh
rename : gfx/harfbuzz/src/hb-ot-map-private.hh => gfx/harfbuzz/src/hb-ot-map.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-arabic-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-arabic.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-indic-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-indic.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-khmer-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-khmer.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-myanmar-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-myanmar.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-use-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-use.hh
rename : gfx/harfbuzz/src/hb-ot-shape-complex-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex.hh
rename : gfx/harfbuzz/src/hb-ot-shape-fallback-private.hh => gfx/harfbuzz/src/hb-ot-shape-fallback.hh
rename : gfx/harfbuzz/src/hb-ot-shape-normalize-private.hh => gfx/harfbuzz/src/hb-ot-shape-normalize.hh
rename : gfx/harfbuzz/src/hb-ot-shape-private.hh => gfx/harfbuzz/src/hb-ot-shape.hh
rename : gfx/harfbuzz/src/hb-set-digest-private.hh => gfx/harfbuzz/src/hb-set-digest.hh
rename : gfx/harfbuzz/src/hb-set-private.hh => gfx/harfbuzz/src/hb-set.hh
rename : gfx/harfbuzz/src/hb-shape-plan-private.hh => gfx/harfbuzz/src/hb-shape-plan.hh
rename : gfx/harfbuzz/src/hb-shaper-impl-private.hh => gfx/harfbuzz/src/hb-shaper-impl.hh
rename : gfx/harfbuzz/src/hb-shaper-private.hh => gfx/harfbuzz/src/hb-shaper.hh
rename : gfx/harfbuzz/src/hb-subset-private.hh => gfx/harfbuzz/src/hb-subset.hh
rename : gfx/harfbuzz/src/hb-unicode-private.hh => gfx/harfbuzz/src/hb-unicode.hh
rename : gfx/harfbuzz/src/hb-utf-private.hh => gfx/harfbuzz/src/hb-utf.hh
rename : gfx/harfbuzz/src/hb-vector-private.hh => gfx/harfbuzz/src/hb-vector.hh
rename : gfx/harfbuzz/src/hb-private.hh => gfx/harfbuzz/src/hb.hh
extra : rebase_source : 96e5e4d6e8c904f1ddc8f1338e39f74b02215654
2018-09-13 20:22:57 -04:00
Jeff Muizelaar
9bcfb295a7 Bug 1490891. Support toggling paint flashing in blob images r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5730

--HG--
extra : moz-landing-system : lando
2018-09-13 20:34:38 +00:00
Cosmin Sabou
5b41e41329 Backed out changeset 2f15d5f434d8 (bug 1490891) for reftests and crashtest failures. CLOSED TREE 2018-09-13 22:29:45 +03:00
Jeff Muizelaar
66aa4d36c4 Bug 1490891. Support toggling paint flashing in blob images r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5730

--HG--
extra : moz-landing-system : lando
2018-09-13 17:08:43 +00:00
Emilio Cobos Álvarez
2c251c4ab5 Bug 1477551 - Ensure the clip and the rect that we push for bullets agree. r=jrmuizel
Using mPathRect causes rounding errors unnecessarily.

Differential Revision: https://phabricator.services.mozilla.com/D5698
2018-09-13 14:57:53 +02:00
sotaro
76aef326b1 Bug 1490528 - do not preload attachments for D3D11 Non-WR compositor when WR is used r=mattwoodrow 2018-09-13 13:23:38 +09:00
Daniel Varga
8eac4fe0d9 Merge mozilla-central to mozilla-inbound 2018-09-13 05:50:34 +03:00
Daniel Varga
296d94715f Merge mozilla-inbound to mozilla-central. a=merge 2018-09-13 05:30:59 +03:00
Jeff Muizelaar
ac808d8aae Bug 1490640. Update webrender to 70edb5f8a75ea1e1440ba7984cc42df9eb05ae69 2018-09-12 17:20:35 -04:00
Coroiu Cristina
a3d415bcdc Backed out changeset 1f1273ca1ad7 (bug 1490640) for reftest failures at reftests/w3c-css/submitted/images3/object-position-svg-001e.html 2018-09-13 03:48:02 +03:00
Jeff Muizelaar
05321e5738 Bug 1490640. Update webrender to 70edb5f8a75ea1e1440ba7984cc42df9eb05ae69 2018-09-12 17:20:35 -04:00
Dorel Luca
e66d358339 Backed out changeset ef589916a739 (bug 1477551) for build bustage. CLOSED TREE 2018-09-13 00:55:20 +03:00
Emilio Cobos Álvarez
75d5aaf48f Bug 1477551 - Ensure the clip and the rect that we push for bullets agree. r=jrmuizel
Using mPathRect causes rounding errors unnecessarily.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 20:13:17 +00:00
Jeff Muizelaar
1316d86812 Bug 1490742. Enable gfx.webrender.qualified.all on Nightly r=Gankro
Differential Revision: https://phabricator.services.mozilla.com/D5701

--HG--
extra : moz-landing-system : lando
2018-09-12 19:40:32 +00:00