Commit Graph

28125 Commits

Author SHA1 Message Date
Sebastian Hengst
7486bf7e8a merge mozilla-central to autoland. r=merge a=merge 2017-10-29 00:22:01 +02:00
Boris Chiou
ca916ce990 Bug 1412542 - Fix crashes on products other than Firefox. r=heycam
MozReview-Commit-ID: G9DeMR5o8F3

--HG--
extra : rebase_source : ddf209961e618c90da7c80f8a2d6952923b56ecb
2017-10-28 20:49:08 +02:00
Sebastian Hengst
8968724f1a Backed out changeset 4905048de8d1 (bug 1412355) for frequently failing reftest layout/reftests/writing-mode/1248248-1-orientation-break-glyphrun.html on Linux x64 debug and asan. r=backout
--HG--
extra : amend_source : 61e56c97354c788bfd03aa551e911a1aff14006e
2017-10-28 16:39:59 +02:00
Jonathan Kew
62f09f8b17 Bug 1407114 - part 4 - Handle fallback from styled to regular face if necessary when using font-families from preferences. r=jrmuizel 2017-10-23 22:32:58 +01:00
Jonathan Kew
3ea98ba522 Bug 1407114 - part 3 - Handle fallback from styled to regular face if necessary when checking the platform's common fallback fonts. r=jrmuizel 2017-10-23 22:31:57 +01:00
Jonathan Kew
6ade77d1f6 Bug 1407114 - part 2 - Handle fallback from styled to regular face if necessary during global font fallback, to handle cases where some styled faces may have a reduced character repertoire. r=jrmuizel 2017-10-28 13:21:44 +01:00
Jonathan Kew
bbbc9da9dd Bug 1407114 - part 1 - preliminary cleanup - Remove the (unused) runScript member from the GlobalFontMatch struct, and introduce gfxFontEntry::IsNormalStyle() helper method. r=jrmuizel 2017-10-28 13:21:38 +01:00
Jonathan Kew
8397a853b8 Bug 1412355 - Replace the mXOffset/mYOffset fields in DetailedGlyph records with a gfx::Point that stores glyph offsets in line-orientation-relative coordinates. r=jrmuizel 2017-10-28 11:37:35 +01:00
sotaro
23069babc9 Bug 1401609 - Add UpdateWebRenderCanvasData() to handle CanvasRenderer re-creation r=jrmuizel,mstange 2017-10-28 19:07:27 +09:00
Sebastian Hengst
831f2ed98f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: oIdBL7fmlE
2017-10-28 10:31:58 +02:00
Jeff Muizelaar
5052f0826f Bug 1380014. Keep the unscaled font alive. r=lsalzman
This is the actual change the eliminates the font cache
churn as well as eliminating the jank that comes when
loading font for the first time.
2017-10-27 23:23:35 -04:00
sotaro
4461b5e90f Bug 1408573 - Change buffer allocation to fallible r=nical 2017-10-28 07:30:13 +09:00
Jeff Muizelaar
ed62b1d4a1 Bug 1380014. Share fonts with WebRender. r=lsalzman
This changes the serialization format a little bit.
We now have an index at the end of the blob. This
is currently used to store a list of the used font keys.
In the future we'll add rects and can use it for invalidation.
2017-10-27 18:21:27 -04:00
Jeff Muizelaar
f1e1608327 Bug 1380014. Add the ability to record UnscaledFonts by index. r=lsalzman 2017-10-27 18:21:26 -04:00
Jeff Muizelaar
2922532654 Bug 1380014. Expose GetFontKeyForUnscaledFont. r=lsalzman
We'll use this to share fonts with BlobImages
2017-10-27 18:21:25 -04:00
sotaro
9ddfb11820 Bug 1412246 - Fix memory leak with WebRenderLayerManager::EndEmptyTransaction() r=nical 2017-10-28 06:54:56 +09:00
Sebastian Hengst
2e7f384b52 merge autoland to mozilla-central. r=merge a=merge 2017-10-27 23:21:20 +02:00
Jonathan Kew
824ae50de4 Bug 1395926 - Fix up handling of glyph offsets for text shaped in vertical mode. r=jrmuizel 2017-10-27 18:57:45 +01:00
Kartikaya Gupta
e7b42ecace Bug 1411249 - Handle yet more clipping cases. r=mstange
This extends the fix in bug 1373802 to account for extra levels of
display item nesting. If those extra intermediate display items don't
push any clips we still want to pick up the ClipAndScroll from the
enclosing ancestor that has it.

MozReview-Commit-ID: AmxRz4fBKnX

--HG--
extra : rebase_source : ae12a9f797ab201169ff199d0d42a29df51ee1cb
2017-10-27 13:22:16 -04:00
Kartikaya Gupta
3d6ab7288b Bug 1373802 - Handle more clipping cases. r=mstange
We already support cases where we have scrolling clips applied to fixed
items. However if we had to build nested clips inside those items, then
those nested clips would not properly inherit from the scrolling clips.
This patch addresses that case.

MozReview-Commit-ID: CWp1x0EsyaP

--HG--
extra : rebase_source : f8c80ace2da39edebaabd5339670a68038a18489
2017-10-27 11:41:37 -04:00
Ryan VanderMeulen
42a983ba76 Bug 1411005 - Update Harfbuzz to version 1.6.3. r=jfkthame 2017-10-27 10:56:24 -04:00
Kartikaya Gupta
b7e231bc45 Bug 1410777 - Force a full transaction for WR when the window overlay changes. r=mstange
The window buttons are drawn as part of the AddWindowOverlayWebRenderCommands
function which is invoked in the full-transaction codepath. It should be possible
to have the empty transaction codepath simply update the image (without building
a full WR display list) and do a recomposite. That would be more performant but
it requires some plumbing to build and ship across a IpcResourceUpdateQueue on
empty transactions.

MozReview-Commit-ID: 2Mrb0wELD6E

--HG--
extra : rebase_source : 9a94c32f94403050835bf3445176f4fe2c1579fa
2017-10-26 14:17:19 -04:00
Kartikaya Gupta
75717cb048 Bug 1410777 - Remove unused function and dead code left over from the layers-full WR days. r=mstange
This is functionally unrelated to the bug but I noticed it while fiddling with
the code, and the lines affected are kind of intertwined with the next patch so
I'm just doing the code removal as part of this bug.

MozReview-Commit-ID: CwmluhyCdbR

--HG--
extra : rebase_source : 0a86ba7299f63587b77c44fadc804e34ada5a474
2017-10-26 14:17:18 -04:00
Boris Chiou
0576efed8c Bug 1340005 - Part 7: Switch compositor animations to Servo backend for desktop. r=birtles,hiro,nical
We want to always use Servo animation backend on the compositor.
However, Android doesn't support Stylo now, so add a defined flag for it.

MozReview-Commit-ID: 63MnTBnq6yv

--HG--
extra : rebase_source : dce46737f81e4e217e9fd67b6bec722994dca6a2
2017-10-27 21:13:27 +02:00
Boris Chiou
3788926119 Bug 1340005 - Part 6: Move AppendTransformFunction into AnimationValue struct. r=birtles
MozReview-Commit-ID: KhjKXxkllEF

--HG--
extra : rebase_source : 6f22a5f0a90f3f3d160f64c67e6fd6d04a2c1441
2017-10-17 13:11:19 +08:00
Boris Chiou
387cd4d8a1 Bug 1340005 - Part 5: Implement SampleValue for Servo backend. r=birtles
Use the new added FFI, Servo_ComposeAnimationSegment, to compose an
animation segment from Servo backend on the compositor.

MozReview-Commit-ID: LNgpCSIlDl9

--HG--
extra : rebase_source : 5b5c145fae877b4f4b01ea54259737dc9dad2951
2017-10-27 21:09:11 +02:00
Boris Chiou
0129bb4f52 Bug 1340005 - Part 4: Retrieve transform list from AnimationValue. r=birtles
MozReview-Commit-ID: 82NAOBV2rEl

--HG--
extra : rebase_source : 073ff742dcea4573febeec3b57c60b0f1f5736e2
2017-09-25 14:25:43 +08:00
Boris Chiou
743614effe Bug 1340005 - Part 3: Use AnimationValue on the compositor thread. r=birtles
MozReview-Commit-ID: CtnDLsdcr9x

--HG--
extra : rebase_source : 3d4a0f40e2f522471555c04c88474cb08e082851
2017-09-21 17:01:48 +08:00
Boris Chiou
7086921688 Bug 1340005 - Part 2: Implement AnimationValue::Transform. r=birtles
MozReview-Commit-ID: BDKcpDIM9nb

--HG--
extra : rebase_source : 43a5e7f053d746198f422487f7e19f535ccd9dc5
2017-10-27 21:06:30 +02:00
Boris Chiou
701609334e Bug 1340005 - Part 1: Implement AnimationValue::Opacity. r=birtles
We will use Servo backend on the compositor, so implement this for opacity.

MozReview-Commit-ID: BeWR2nBSbjb

--HG--
extra : rebase_source : eb5db3cf04640a83f13857984e792a949f26bcc7
2017-10-27 21:04:52 +02:00
Sebastian Hengst
28b1c813ea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DasxLYlgq0N
2017-10-27 23:30:52 +02:00
Alexis Beingessner
0f3e571e68 Bug 1410893 - Update bindings for API changes in WR PR 1923. r=jrmuizel
MozReview-Commit-ID: G7qfzaX6mxb

--HG--
extra : rebase_source : 0584dfa51eac36bbacf3870de50c86d4b53ee525
2017-10-27 08:56:31 -04:00
Kartikaya Gupta
1acb485728 Bug 1410893 - Update Cargo lockfiles and re-generate FFI header. r=jrmuizel
MozReview-Commit-ID: FobLKM7SYdY

--HG--
extra : rebase_source : bb1d27b56d9556097ef005c93de44be10d19e79a
2017-10-27 08:52:51 -04:00
Kartikaya Gupta
d639eb0193 Bug 1410893 - Update webrender to commit 4b8493d6bdc64d2d83202ac15b06b0d4b14c6e76. r=jrmuizel
MozReview-Commit-ID: DoUZXZtRyDY

--HG--
extra : rebase_source : c6b6fac4767e641ac7207bc03dbf206417f7a655
2017-10-27 08:51:39 -04:00
Sebastian Hengst
5c15da1f08 merge mozilla-inbound to mozilla-central. r=merge a=merge
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
Jeff Gilbert
e0d51c5ece Bug 1404536 - Use float division not accidentally int division. - r=daoshengmu
MozReview-Commit-ID: KUIE0dl6hlE
2017-10-26 18:43:35 -07:00
Jeff Gilbert
747359fc3f Bug 1404536 - ESSL3 needs texture() not texture2D(). - r=snorp
MozReview-Commit-ID: CJxOVbkItJX
2017-10-26 18:43:31 -07:00
Jeff Gilbert
62ca2c9829 Bug 1404536 - Use 3x4 matrices for GLBlitHelper's color matrix. - r=daoshengmu
MozReview-Commit-ID: Z5XTzmY3K7
2017-10-26 18:43:28 -07:00
Jeff Gilbert
1f167472bf Bug 1404536 - Use mat3s to transform tex coords in GLBlitHelper. - r=daoshengmu
MozReview-Commit-ID: 9LxsSJF1ggN
2017-10-26 18:43:24 -07:00
Tom Ritter
314d986699 Bug 1407513 Turn std:future back on for ANGLE in the MinGW build now that we have winpthreads r=jgilbert
MozReview-Commit-ID: 9K2Bqtvxemo

--HG--
extra : rebase_source : ab3e9e924734125d94a5460057c6b36f96c4b9a8
2017-10-26 16:02:03 -05:00
Sebastian Hengst
4d087e6f8b Backed out changeset 817727beee91 (bug 1410766) for leak. r=backout
--HG--
extra : amend_source : 3137b1b2bd4cafe41651244531957708193eccbb
2017-10-26 23:39:23 +02:00
Sebastian Hengst
c1cc60ba6f Backed out changeset 0998d26202bd (bug 1408612) for reftest failures e.g. layout/reftests/svg/text-gradient-01.svg and layout/reftests/writing-mode/1193519-sideways-lr-decoration-1.html. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 9939a46e37da653be63d9e9ba6a079a05851780d
2017-10-26 23:08:29 +02:00
Attila Craciun
0cab95ab0f Merge inbound to mozilla-central r=merge a=merge 2017-10-26 12:20:45 +03:00
Jesse Ruderman
85a0a23d40 Bug 1248222 - Add crashtest. r=me 2017-10-25 21:03:17 -04:00
Jesse Ruderman
ae2294df40 Bug 1242822 - Add crashtest. r=me 2017-10-25 21:03:17 -04:00
Jesse Ruderman
7dfed796b9 Bug 1242811 - Add crashtest. r=me 2017-10-25 21:03:16 -04:00
Jesse Ruderman
e524f59c09 Bug 1229972 - Add crashtest. r=me 2017-10-25 21:03:16 -04:00
Jesse Ruderman
1c94b2275e Bug 1228127 - Add crashtest. r=me 2017-10-25 21:03:16 -04:00
Jesse Ruderman
b304b15bff Bug 895233 - Add crashtest. r=me 2017-10-25 21:03:16 -04:00
Jesse Ruderman
0895ae5e71 Bug 747302 - Add crashtest. r=me 2017-10-25 21:03:16 -04:00