27517 Commits

Author SHA1 Message Date
Morris Tseng
ce9b629335 Bug 1392200 - Add backface-visibility support for layers-free mode. r=kats
For layers-full mode, we set the backface-visibility to visible because
visibility would be handled by FLB and layers.

MozReview-Commit-ID: CUbeUabfC7K
2017-09-21 14:41:38 +08:00
Morris Tseng
d17dfbe119 Bug 1392200 - Update interfaces for backface-visibility support. r=kats
MozReview-Commit-ID: 6ctGRSUI3pB
2017-09-21 14:41:38 +08:00
David Anderson
674b0fb7ee Revert asynchronous window resizes on Windows. (bug 1380462, r=bas) 2017-09-20 21:48:38 -07:00
Jeff Muizelaar
d1f3804a22 Bug 1401606 - Change a bunch of asserts! to debug_asserts! r=kats
I saw these show up a bit in profiles and we have a better idea which
threads to call things on now.
2017-09-20 23:11:20 -04:00
sotaro
f287c29540 Bug 1399652 - Add more IPCOpen() checks to WebRenderBridgeChild r=kats 2017-09-21 09:41:34 +09:00
Mason Chang
652642b7da Bug 1399692 - Backed out changeset 46f0b004bdd2 for not cleaning up content client on the right thread. r=bas
MozReview-Commit-ID: 2eocRWGxjzA

--HG--
extra : rebase_source : 6095b77f15e26f44cd8cc127184781f05b040e68
2017-09-20 08:38:30 -07:00
Bas Schouten
973de6713e Bug 1400573: Back out initial fix for bug 1392453. r=mchang
MozReview-Commit-ID: 3c3vJbL4kXS
2017-09-20 14:57:25 +02:00
Andrew Osmond
085ed59d74 Bug 1401668 - Change ImageBridgeParent to acquire a compositor thread reference on construction. r=dvander 2017-09-20 15:59:08 -04:00
Wes Kocher
8afe601b42 Backed out 2 changesets (bug 1376231) for reftest failures in 1376231-vertical-gpos-adjustments-ref.html a=backout
Backed out changeset e4edd97bf01a (bug 1376231)
Backed out changeset b36ff08b10ee (bug 1376231)

MozReview-Commit-ID: IiPIU5iGnWV
2017-09-20 10:41:55 -07:00
Jonathan Kew
06005702ce Bug 1376231 - Invert the sign of glyph advance and origin y-coordinates in vertical mode, to match harfbuzz expectations, and then convert the resulting glyph positioning back to gecko's orientation. r=jrmuizel 2017-09-20 17:27:00 +01:00
Nicolas Silva
2c985587a8 Bug 1400532 - Separate small and large shmem allocations in IpcResourceUpdateQueue. r=jrmuizel 2017-09-20 13:39:19 +02:00
Nicolas Silva
61546da339 Bug 1393031 - Remove unused nsTArray<WebRenderParentCommand>& parameter all over the place. r=jrmuizel 2017-09-20 13:36:53 +02:00
Nicolas Silva
a246a25d0a Bug 1393031 - Remove OpAddExternalImage from WebRenderParentCommands. r=sotaro 2017-09-20 13:36:44 +02:00
Sebastian Hengst
79bca6297c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-20 11:50:40 +02:00
Jonathan Kew
d128131aec Bug 1377515 - Use GetFontTable rather than CopyFontTable in gfxDWriteFontEntry::IsCJKFont() to try and avoid copying. r=bas 2017-09-20 10:10:01 +01:00
Nicolas Silva
9ffda11244 Bug 1393031 - Use IpcResourceUpdateQueue in more places. r=jrmuizel 2017-09-20 10:56:20 +02:00
Nicolas Silva
ae42b5181a Bug 1393031 - Begin moving OpAddExternalImage to IpcResourceUpdateQueue and recycle image keys in WebRenderImageLayer. r=jrmuizel 2017-09-20 10:56:09 +02:00
Ethan Lin
c409bddad6 Bug 1397375 - Part2. Add a table in layer manager to keep webrender user data and remove unused data in each transaction. r=jrmuizel
MozReview-Commit-ID: HsO3BCc2eeL

--HG--
extra : rebase_source : ae757729d57e111821126a83db186f48832fde23
2017-09-14 14:39:00 +08:00
Ethan Lin
4edbf55ce8 Bug 1397375 - Part1. Store frame, display item key, and user data table in the webrender user data. r=jrmuizel
MozReview-Commit-ID: IvKBy4MG8vw

--HG--
extra : rebase_source : 88ab824a5c061630336b1b3279adb04e6a0a49cf
2017-09-14 14:38:12 +08:00
Wes Kocher
3baa8a7e6e Merge inbound to central, a=merge
MozReview-Commit-ID: 5B5W6AHKcCb
2017-09-19 14:49:11 -07:00
Nicolas Silva
3434431a1a Bug 1397407 - Apply deferred image key deletions to the next transaction. r=Gankro 2017-09-15 13:24:31 +02:00
Andrew Osmond
7c2def1540 Bug 1380649 - Part 2. Ensure SourceSurfaceVolatileData does not forget its purged state. r=jrmuizel
Currently if SourceSurfaceVolatileData::Map fails due to being purged,
we expect that the surface will be discarded by the caller. This has not
consistently been the case, and as such, we should ensure we do not
forget if a buffer was previously purged when we reacquire it. Since we
do not at this time support repopulating an already allocated buffer
with new data, we cannot reset this state once it has been set.
2017-09-19 08:19:48 -04:00
Sebastian Hengst
f6d104d246 Backed out changeset 58844e6f37b2 (bug 1380649) 2017-09-19 10:49:04 +02:00
sotaro
c41f9edbea Bug 1366700 - Remove MOZ_CRASH in GLContextEGLFactory::Create r=jgilbert 2017-09-19 11:26:31 +09:00
Andrew Osmond
9df74d4975 Bug 1380649 - Part 2. Ensure SourceSurfaceVolatileData does not forget its purged state. r=jrmuizel
Currently if SourceSurfaceVolatileData::Map fails due to being purged,
we expect that the surface will be discarded by the caller. This has not
consistently been the case, and as such, we should ensure we do not
forget if a buffer was previously purged when we reacquire it. Since we
do not at this time support repopulating an already allocated buffer
with new data, we cannot reset this state once it has been set.
2017-09-18 20:08:05 -04:00
Wes Kocher
57987f930c Merge m-c to inbound, a=merge
MozReview-Commit-ID: FOmIgsEP2fb
2017-09-18 16:23:47 -07:00
Wes Kocher
519bb0922b Merge inbound to central, a=merge
MozReview-Commit-ID: EK8iFR1hSRp
2017-09-18 16:21:01 -07:00
Jeff Gilbert
3f6254c645 Bug 1396704 - Remove assert, which was the whole point of this bug.
MozReview-Commit-ID: HB5p6Kt0zTb
2017-09-18 14:40:22 -07:00
Andrew Osmond
6ecbc94614 Bug 1389021 - Force CompositorManagerParent to close before shutting down the compositor thread. r=dvander,me 2017-09-18 16:13:03 -04:00
Lee Salzman
a20c1a8d1c Bug 1400721 - fix Skia's glyph LCD filter padding for FreeType 2.8.1. r=jrmuizel
MozReview-Commit-ID: JFvnANsTS0r
2017-09-18 15:28:37 -04:00
Botond Ballo
6ad906fc6d Bug 1400440 - Apply scroll shift for dynamic toolbar to the composited scroll offset right away. r=kats
MozReview-Commit-ID: 1I7C0lFx4WP

--HG--
extra : rebase_source : 9c6ae39e10a2f9b86d2886140ee2e0d4f5cb4fda
2017-09-15 19:47:46 -04:00
Chris Peterson
793bc69260 Bug 1400705 - cairo: Fix -Wunknown-warning-option clang warning about gcc flag (and suppress some other warnings). r=lsalzman
* The -Wno-unused-but-set-variable flag is supported by gcc but not clang, so move it to a gcc-only CFLAGS.

* The -Wno-error=uninitialized flag is supported by both gcc and clang, so move it to CFLAGS shared by gcc and clang.

* Also suppress -Wunreachable-code and -Wshift-negative-value clang warnings. gcc supports -Wshift-negative-value, but only starting in gcc 6.1 and we are still using gcc 4.9 in automation.

warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
gfx/cairo/cairo/src/cairo-quartz-surface.c:1908:6: warning: code will never be executed [-Wunreachable-code]
gfx/cairo/libpixman/src/pixman-bits-image.c:268:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]

MozReview-Commit-ID: AnQAsfDaZbk

--HG--
extra : rebase_source : 6dd94a39479e05f67f93d4e4be2bd10ece4df7be
extra : source : 34ddaea5129be2ae1e9faa0a1d905b8690909611
2017-09-16 21:01:25 -07:00
Sebastian Hengst
fe767114c9 Backed out changeset 7d0893f1b6ce (bug 1389021) for leaking in mda2 on Linux x64 asan (bug 1374856). r=backout a=backout
MozReview-Commit-ID: AeaKVgSJTmt
2017-09-17 14:26:25 +02:00
Andrew Osmond
9d96dc8060 Backed out changeset 722569a89186 (bug 1380649) due to bug 1400549 and getting the crash signatures we needed. 2017-09-16 10:47:56 -04:00
Sebastian Hengst
1d35d25f21 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1Wa3jV6n7Wj
2017-09-16 11:35:02 +02:00
Sebastian Hengst
f67a124350 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DStzDVD5j1G
2017-09-16 11:29:51 +02:00
Sebastian Hengst
a2102f9d09 Backed out changeset 70f5f23a429f (bug 1397407) for letting Talos g1 timeout and spam its log on Linux x64 QuantumRender opt. r=backout a=backout
MozReview-Commit-ID: DOv1JPa2f7U
2017-09-16 10:57:44 +02:00
Ryan VanderMeulen
e1d23c6fa7 Merge inbound to m-c. a=merge 2017-09-15 14:20:02 -04:00
Gregory Szorc
3b3a704584 Backed out changesets 98e46ead3522 and 52e6fce3e6f6 (bug 1399870) for Windows test failures; a=backout
--HG--
extra : histedit_source : 380fa58fada541be8dabf03b88aed89b8ba0d073%2C854308f608c4dec795868abd41d7d651952e0df7
2017-09-15 15:52:03 -07:00
Ted Mielczarek
8439a24741 bug 1399870 - Make DEFFILE a Path instead of a string. r=gps
DEFFILE is currently just used as a passthrough variable. All but one of
the current uses of it 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.

MozReview-Commit-ID: IRokABaZW2c

--HG--
extra : rebase_source : ae74c984bb2aab70211dc5974a8b052651e025dd
2017-09-14 06:24:43 -04:00
Kartikaya Gupta
40d581989b Bug 1400378 - Add layers logging support for Point3D. r=mattwoodrow
MozReview-Commit-ID: 9W3gDi7wyQF

--HG--
extra : rebase_source : 76b225bb06381bea8211aa905c9006cc3745fdc8
2017-09-15 16:08:12 -04:00
Jonathan Kew
30dd92d9f5 Bug 1373852 - Map font-kerning:normal to the appropriate low-level feature depending on orientation. r=jrmuizel 2017-09-15 21:52:06 +01:00
Andrew Osmond
2b3ebd2479 Backed out changeset 727f0d09e299 (bug 1399453) because the annotations are no longer needed. 2017-09-15 15:11:29 -04:00
Andrew Osmond
55897b37f2 Bug 1380649 - Assert if we remap a purged SourceSurfaceVolatileBuffer. r=jrmuizel
There have been reports of images remaining in the surface cache but no
longer containing the previously decoded data. Instead these appear as
transparent (BGRA) or black (BGRX). This suggests that somehow the image
surface buffer was reset to all zeroes. Additionally this seems to be
correlated with suspend and resume.

One possibility is that the OS purged our volatile buffers on suspend.
This is because we are supposed to be able to regenerate the contents
anyways, so it could choose to not preserve the data on suspend. In
general we should recover from this however and clearly we are not.

This patch adds a diagnostic assert to ensure that a buffer which was
previously purged is not reused later, as we should be discarding said
buffers.
2017-09-15 14:47:52 -04:00
Nicolas Silva
558383f150 Bug 1397407 - Apply deferred image key deletions to the next transaction. r=Gankro 2017-09-15 13:24:31 +02:00
Sebastian Hengst
ec66bbd3e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4dRrVdftJVy
2017-09-15 11:05:11 +02:00
Mason Chang
89e6c162b2 Bug 1399692 - Copy the front buffer to the back buffer on the paint thread with OMTP enabled. r=bas 2017-09-14 15:09:53 -04:00
Sebastian Hengst
09dd8ba13f merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ee605ac050c0532521f96bdeda5ef20fb0099519
2017-09-15 00:18:43 +02:00
Sebastian Hengst
71720207e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JHeyFz4rx1v
2017-09-14 23:58:56 +02:00
Jonathan Kew
1151db8b05 Bug 1398133 - Simplify gfxCoreTextShaper code by removing legacy code only needed on 10.7 and earlier. r=jrmuizel 2017-09-14 22:45:26 +01:00