Граф коммитов

30377 Коммитов

Автор SHA1 Сообщение Дата
Noemi Erli 9793ca2da4 Merge inbound to mozilla-central. a=merge 2018-07-14 00:52:51 +03:00
Alexis Beingessner ae6bb80dd4 Bug 1474970 - mark wrap lists as ContainersLayerItems. r=mstange
MozReview-Commit-ID: KDz50Xlp0Ps

--HG--
extra : rebase_source : b2b1dfc96aa9639ee6af6cfb669551208fbe02bb
2018-07-11 13:20:58 -04:00
Tanushree Podder e8cc1dc6df Bug 1470267 - Store the visual viewport offset in nsIPresShell. r=botond
Added a data member to nsIPresShell to store the visual viewport offset. APZ
will update the visual viewport offset in the presShell for root scroll frames
on every repaint request.

MozReview-Commit-ID: Ksou43hrE6H

--HG--
extra : rebase_source : 812c88efc7556c4bff2a62834cfaaec6e6945093
2018-07-11 17:24:56 -04:00
Ryan Hunt cfffe8f09f Bug 1471892 - Block OMTP before OSX 10.10 to work around CoreGraphics crash. r=jrmuizel
MozReview-Commit-ID: JYmlucAG6rB

--HG--
extra : rebase_source : 03c0963bf54b967f34108fa7c879b180685dd868
extra : amend_source : b17adf02508d9a93d1d4149a1573919192440fe8
2018-07-10 16:12:58 -05:00
Kartikaya Gupta 63972a55bf Back out cset 5b8041f7f604 (bug 1446181) for introducing a low-volume crash. r=me 2018-07-13 12:00:29 -04:00
Ryan VanderMeulen 16fa6aac83 Bug 1473064 - Update HarfBuzz to version 1.8.3. r=jfkthame
--HG--
extra : rebase_source : 3c306d165a8c22c9f38f6faa9aa755d07ad197c8
2018-07-11 10:47:57 -04:00
Nicolas Silva 69b2908737 Bug 1474940 - Add a crashtest for very large blurred rects. r=Bas
--HG--
extra : source : 16e2aaf4043cc315126c18fbb9fc14a1bb130276
2018-07-13 11:36:47 +02:00
Cosmin Sabou fe3851b801 Backed out changeset 16e2aaf4043c (bug 1474940) for causing crashes on crashtests/1393272.webm 2018-07-13 14:13:05 +03:00
Cosmin Sabou 5b013c7fc5 Backed out 2 changesets (bug 1474722) for causing multiple mochitest failures on several files. CLOSED TREE
Backed out changeset 68019e52d1b9 (bug 1474722)
Backed out changeset 77597cd3461c (bug 1474722)
2018-07-13 13:10:56 +03:00
Nicolas Silva 4a4d59570c Bug 1474940 - Add a crashtest for very large blurred rects. r=Bas 2018-07-13 11:36:47 +02:00
Nicolas Silva 7a270b1782 Bug 1474722 - Allow very large nine-patched shadows. r=Bas 2018-07-13 11:30:57 +02:00
Nicolas Silva 61fd0c3a3e Bug 1474722 - Add a reftest. r=Bas 2018-07-13 11:30:51 +02:00
Margareta Eliza Balazs 448f792f96 Merge inbound to mozilla-central. a=merge 2018-07-13 11:52:00 +03:00
Andrea Marchesini bc5414c5f3 Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
Andreea Pavel 10f6df7c1f Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
2018-07-13 00:53:43 +03:00
Lee Salzman 41ab2c5cfb Bug 1473041 - save and restore PermitSubpixelAA state for basic layer paint callback. r=mstange 2018-07-12 14:19:07 -04:00
Kartikaya Gupta 614342989c Bug 1469528 - Flush the clip push/pop draw commands so they don't end up in the wrong entry. r=jrmuizel
MozReview-Commit-ID: 7PVPxaF2RnK

--HG--
extra : rebase_source : 6630f06f3c5316720a1ebbcb219a34f5f2c11f43
2018-07-12 14:27:15 -04:00
Kartikaya Gupta 8ef74e941d Bug 1474300 - Update for API changes in WR PR 2871. r=Gankro
This change has WrClipId contain the ClipId type (except for clip
chains, which are handled separately) in the least significant bit of
the size_t. On 32-bit systems this limits the number of clip and spatial
nodes to 2,147,483,648 which is likely more than what WebRender can
handle.

MozReview-Commit-ID: 8ohMKqTZcKT

--HG--
extra : rebase_source : cce763be7c0637bf97e96c23f8dba5aeff34baaf
2018-07-12 10:36:04 -04:00
Kartikaya Gupta 8ba5f9a3a2 Bug 1474300 - Update webrender to commit e600bfe68efac6416ce2e8091d7344744771f6db. r=Gankro
MozReview-Commit-ID: 2sxOBvDqDCc

--HG--
extra : rebase_source : dcdbb3c8d790ceb2d479c1d5de1396d6f63abfb8
2018-07-12 10:34:35 -04:00
Kartikaya Gupta 475557764c Bug 1475024 - Add Stringify overloads for RectAbsolute. r=bas
MozReview-Commit-ID: GLisM28IEVG

--HG--
extra : rebase_source : af648babcd1f5dfac1256deb68d229fcecbf1f43
2018-07-13 09:51:43 -04:00
Imanol Fernandez 6672f5861e Bug 1475270 - Avoid deadlock when pausing the compositor while gfxVRExternal is waiting for a SubmitFrame result; r=kip
--HG--
extra : amend_source : d7344800392a8b22c72a9deac717feca07ea9e58
2018-07-12 17:22:20 +02:00
Margareta Eliza Balazs 46292b1212 Merge inbound to mozilla-central. a=merge 2018-07-12 12:28:13 +03:00
Kearwood Gilbert d0b35a2ff4 Bug 1470527 - Implement Controller support for gfxVRExternal and VRServiceOpenVR,r=daoshengmu
MozReview-Commit-ID: I1xHfmAPMxT

--HG--
extra : rebase_source : 5d957ff6172f3e730b61878b9067ec506ea4a383
extra : source : 66c97a5d22efc6436aab76756759b9b51517e940
2018-07-11 12:20:51 -07:00
Gurzau Raul ea7ebc8d56 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-12 01:09:58 +03:00
Gurzau Raul cf965b1f59 Merge inbound to mozilla-central. a=merge 2018-07-12 01:04:09 +03:00
Ciure Andrei 4a390e2fc4 Backed out 1 changesets (bug 1470527) for build bustages on OpenVRSession.cpp CLOSED TREE
Backed out changeset 66c97a5d22ef (bug 1470527)
2018-07-11 23:23:42 +03:00
Kearwood Gilbert 0ee53b44e4 Bug 1470527 - Implement Controller support for gfxVRExternal and VRServiceOpenVR
--HG--
extra : amend_source : d639de8cb929b209bbde0f44b47acadd23a9e257
2018-07-11 12:20:51 -07:00
Kearwood Gilbert 04e66eb0c1 Bug 1470348 - Enable gfxVRExternal for Android; r=kip
MozReview-Commit-ID: 4XMdLLoedIh

--HG--
extra : rebase_source : b71d5d73b832f1f16ae261463860b4f60b38c559
2018-07-10 17:41:58 -07:00
Gurzau Raul fff6ccd0b0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-12 01:08:09 +03:00
Jan de Mooij 4f7b2378dc Bug 1474273 - Add xpc::CurrentNativeGlobal and use it instead of NativeGlobal(JS::CurrentGlobalOrNull(cx)). r=bz 2018-07-11 14:07:02 +02:00
sotaro 12703134b4 Bug 1460515 - Reuse more image keys at WebRenderImageData::UpdateImageKey() r=nical 2018-07-11 17:45:28 +09:00
sotaro 885555c9c4 Bug 1474532 - Suppress redundant frame generation with async-scene-build enabled r=kats 2018-07-11 12:47:06 +09:00
shindli ddadeaca40 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-11 12:45:28 +03:00
Jacek Caban 5c830a87fd Bug 1443471 - Support mingw clang in skia moz.build r=glandium
MozReview-Commit-ID: 4H8bkHyczGM

--HG--
extra : rebase_source : e7764c43ee18230ef7603ac9c8e638d5bb18408f
2018-06-25 21:22:02 +02:00
Kartikaya Gupta 11b43679d8 Bug 1421825 - Fix crash and re-enable crashtest. r=jrmuizel
In some cases we get a gecko display list that looks like this:

WrapList with asr(<A>, <B>)
  Item with asr (<B>) and clipchain(<something> [A])

In this case, we would initialize the WebRenderLayerScrollData for the
nested item using a stop-at ancestor of A (because that was the leafmost
ASR from the containing WrapList) but the item itself has an ASR of B,
which is an ancestor of A. So when walking up from B we'd never hit the
stop-at ancestor, and so we'd end up duplicating metrics from the
containing WRLSD onto the nested WRLSD. This generated an assertion
failure in the APZ code.

This patch detects this scenario and skips adding metrics on the nested
WRLSD. This produces an APZ tree equivalent to what the non-WebRender
path would produce.

MozReview-Commit-ID: 8eo6pzXXKBd

--HG--
extra : rebase_source : 0581c54c4d9fa6ca08249e42b306c7155022bec7
2018-07-10 09:37:40 -04:00
Kashav Madan ext:(%2C%20Tanushree%20Podder%20%3Ctpodder%40mozilla.com%3E) 99457f24cb Bug 1423011 - Part 3: Add mochitests. r=botond
MozReview-Commit-ID: Cb1kDLaM1RJ

--HG--
extra : rebase_source : dc1eb8460008bd4368a6b6335e66c6cd3a3d4260
2018-06-07 17:16:12 -04:00
Kashav Madan ext:(%2C%20Tanushree%20Podder%20%3Ctpodder%40mozilla.com%3E) 95f6be0331 Bug 1423011 - Part 2: Add gtests. r=botond
Ensures that APZ correctly updates the layout viewport offset when the visual
viewport exceeds the boundaries of the layout viewport.

Includes changes to APZCPinchTester::GetPinchableFrameMetrics to correct the
offset of the composition bounds (which should always be (0, 0) for the
RCD-RSF) and fixes to impacted test cases.

MozReview-Commit-ID: I3hTx9kCjEP

--HG--
extra : rebase_source : 0758399565d0086f8dc7d56881d912dbc0560a04
2018-06-07 17:15:12 -04:00
Kashav Madan ext:(%2C%20Tanushree%20Podder%20%3Ctpodder%40mozilla.com%3E) 557bb0376f Bug 1423011 - Part 1: Allow APZ to async-scroll the layout viewport. r=botond
There are 3 main components to this change:

  a) Store the origin of the layout viewport in APZ (until now we only stored
     it's size). This required updating the offset stored in mViewport, which
     was previously (0, 0).
  b) Adjust the layout viewport in APZ each time the visual viewport exceeds
     the bounds of the layout viewport.
  c) Update the main thread to store the layout viewport offset for the
     RCD-RSF (currently it uses the layout viewport offset for overflow:hidden
     pages, and the visual viewport offset otherwise).

MozReview-Commit-ID: 7AD8wvthh2m

--HG--
extra : rebase_source : df8704146740f4b2522c80b20b603617993b6c83
2018-06-07 17:01:36 -04:00
Boris Chiou ffa1da7545 Bug 1467277 - Avoid getting zero normalized vector of rotate3d when setting a rotate matrix. r=nical
For example, if we set a transform to rotate3d(0, 0, 1e50, 45deg), the
expected normalized rotate axis is (0, 0, 1).
However, the length is larger than the maximum of float, so the actual value is
(0/inf, 0/inf, 1e50/inf) == (0, 0, 0). Therefore, we scale the vector before
doing normalization to avoid getting a zero vector.

MozReview-Commit-ID: 5LUDWD4RuNj

--HG--
extra : rebase_source : eb82f0b3979bf6ea3cd11b643ebb30a49edc24f8
2018-07-05 15:40:39 -07:00
Andreea Pavel 3e043423dd Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-07-10 19:36:46 +03:00
Kartikaya Gupta 624ee847f6 Bug 1473284 - Update webrender to commit 0e9563688e575cd662570f54bc9d6f849040dbf8. r=Gankro
MozReview-Commit-ID: 8iH1bGPKpsd

--HG--
rename : gfx/webrender/src/query.rs => gfx/webrender/src/device/query_gl.rs
extra : rebase_source : ee7fcddee44b360cfee098656df7f144cacf270e
2018-07-09 09:29:15 -04:00
Nicolas Silva 4ae96a4caa Bug 1474576 - Remove the async scene building pref. 2018-07-10 14:49:21 +02:00
Andreea Pavel fbfb9237c9 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-07-10 13:11:02 +03:00
Tiberius Oros 92ba19b150 Merge inbound to mozilla-central. a=merge 2018-07-10 12:45:13 +03:00
sotaro c5d40645d0 Bug 1474501 - Use unordered_map at RenderThread::mRenderTextures r=nical 2018-07-10 18:15:47 +09:00
sotaro aa35629fdf Bug 1474229 - Use more unordered_map/unordered_set in WebRenderBridgeParent r=nical 2018-07-10 11:06:08 +09:00
Ciure Andrei 71c8139e52 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-07-10 01:02:15 +03:00
Kartikaya Gupta b0638e6928 Bug 1446181 - Send __delete__ messages when destroying APZCTreeManagerChild instances. r=rhunt
MozReview-Commit-ID: HJSB4f5YKPo

--HG--
extra : rebase_source : 4d17f53a4f4fc97b94a0a5753ed3d3d3aaed6cb4
2018-07-09 14:21:16 -04:00
Lee Salzman 23c3cc8f6b Bug 1467847 - avoid taking inverse in Polygon::TransformToScreenSpace when possible. r=miko 2018-07-09 15:52:42 -04:00
Bas Schouten d1d1555fb6 Bug 1474027: Rename RectAbsolute members and make them easier to access. r=botond 2018-07-09 16:39:50 +00:00