Jonathan Kew
09aff89697
Bug 1458364 - Re-enable test_font_whitelist.asan on Windows/ASAN, as it no longer seems to fail there. r=dmajor
2018-12-01 15:29:10 +00:00
WR Updater Bot
2c5f2d8ed6
Bug 1511245 - Update webrender to commit d771bae9f824769c73419fdc3ccffa2bdc47c3e4 (WR PR #3368 ). r=kats
...
https://github.com/servo/webrender/pull/3368
Differential Revision: https://phabricator.services.mozilla.com/D13497
--HG--
extra : moz-landing-system : lando
2018-11-30 02:07:23 +00:00
WR Updater Bot
a7afe16b40
Bug 1511244 - Update webrender to commit a48f34e09901a62ab12164c8e539011ed04d41bd (WR PR #3372 ). r=kats
...
https://github.com/servo/webrender/pull/3372
Differential Revision: https://phabricator.services.mozilla.com/D13495
--HG--
extra : moz-landing-system : lando
2018-11-30 01:59:14 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Razvan Maries
77d87d9972
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-11-30 05:13:14 +02:00
Lee Salzman
a5f6c68080
Bug 1490537 - init and shutdown Skia in the GPU process. r=mattwoodrow
2018-11-29 18:09:46 -05:00
WR Updater Bot
e4c5bbcd36
Bug 1511243 - Update webrender to commit a2b4202242d937d328eda21c2d9fcfece609283e (WR PR #3373 ). r=kats
...
https://github.com/servo/webrender/pull/3373
Differential Revision: https://phabricator.services.mozilla.com/D13493
--HG--
extra : moz-landing-system : lando
2018-11-30 01:56:07 +00:00
WR Updater Bot
d9d71f2362
Bug 1510882 - Update webrender to commit 835ba47f392c47a35c9baa2d44ec6cb1903b6f2b (WR PR #3371 ). r=kats
...
https://github.com/servo/webrender/pull/3371
Differential Revision: https://phabricator.services.mozilla.com/D13492
--HG--
extra : moz-landing-system : lando
2018-11-30 01:50:17 +00:00
Razvan Maries
d696b8eb57
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-11-29 23:46:52 +02:00
Markus Stange
2e2c28e9f6
Bug 1510058 - Work around mWidget becoming null during DidComposite, and add a diagnostic assert that will hopefully root out the culprit. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D13309
--HG--
extra : moz-landing-system : lando
2018-11-29 17:48:43 +00:00
sotaro
e3e8ee1110
Bug 1510174 - Fix WrExternalImageBufferType in SurfaceTextureHost::CreateRenderTexture() r=kats
...
By accident, WrExternalImageBufferType::TextureRectHandle was set in SurfaceTextureHost::CreateRenderTexture() instead of WrExternalImageBufferType::TextureExternalHandle in Bug 1499255.
Differential Revision: https://phabricator.services.mozilla.com/D13050
--HG--
extra : moz-landing-system : lando
2018-11-29 15:39:51 +00:00
Coroiu Cristina
3ba5c153be
Merge mozilla-central to autoland a=merge
2018-11-29 06:38:18 +02:00
Coroiu Cristina
e92b0f1d7f
Merge inbound to mozilla-central a=merge
2018-11-29 06:27:40 +02:00
WR Updater Bot
eb7d1978ea
Bug 1503447 - Follow-up to fix generated FFI header. r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D13358
--HG--
extra : moz-landing-system : lando
2018-11-29 03:39:45 +00:00
WR Updater Bot
6ab298d163
Bug 1510884 - Update webrender to commit 7f5c575c965520adffc488c76d6b0f6b4cefe9fc (WR PR #3364 ). r=kats
...
https://github.com/servo/webrender/pull/3364
Differential Revision: https://phabricator.services.mozilla.com/D13356
--HG--
extra : moz-landing-system : lando
2018-11-29 03:36:07 +00:00
WR Updater Bot
8c0f959d84
Bug 1510883 - Update webrender to commit be659494b4f8d80081ea282c4b9b4c9170a70ef7 (WR PR #3362 ). r=kats
...
https://github.com/servo/webrender/pull/3362
Differential Revision: https://phabricator.services.mozilla.com/D13355
--HG--
extra : moz-landing-system : lando
2018-11-29 03:31:22 +00:00
WR Updater Bot
1377909212
Bug 1510592 - Update webrender to commit 0c6b52ec22023fae247baaa98f6ca1615ef523c8 (WR PR #3365 ). r=kats
...
https://github.com/servo/webrender/pull/3365
Differential Revision: https://phabricator.services.mozilla.com/D13354
--HG--
extra : moz-landing-system : lando
2018-11-29 03:30:44 +00:00
Coroiu Cristina
b8bc09a5b5
Merge mozilla-central to inbound a=merge on a CLOSED TREE
...
--HG--
rename : python/mozrelease/test/data/Firefox-62.0b11.update.json => python/mozrelease/test/data/Firefox-64.0b13.update.json
extra : rebase_source : 6eb078869182f40343e201993c0d0442ed96ad46
2018-11-29 00:34:07 +02:00
Coroiu Cristina
378481915d
Merge autoland to mozilla-central a=merge
2018-11-28 23:47:17 +02:00
Brindusan Cristian
eb07b312bf
Backed out 3 changesets (bug 1486659) as requested by jhlin on irc for breaking video playback on Android and causing regression Bug 1510464. a=backout
...
Backed out changeset 9c2834ca8823 (bug 1486659)
Backed out changeset 5d897c0c7a25 (bug 1486659)
Backed out changeset b0fdcebfd20d (bug 1486659)
2018-11-28 19:09:13 +02:00
Narcis Beleuzu
32a0676730
Merge autoland to mozilla-central. a=merge
2018-11-28 11:48:31 +02:00
Narcis Beleuzu
6d70864397
Merge mozilla-central to autoland. CLOSED TREE
2018-11-28 12:00:56 +02:00
Ehsan Akhgari
ca162bee20
Bug 1508472 - Part 4: Fourth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13193
--HG--
extra : moz-landing-system : lando
2018-11-28 09:16:55 +00:00
Ehsan Akhgari
0ad55ab74f
Bug 1510513 - Retain the formatting of MOZ_DEFINE_ENUM_* macros r=sylvestre
...
These macros tend to be handled quite poorly since the clang-format
tokenizer cannot figure out how to handle them.
Differential Revision: https://phabricator.services.mozilla.com/D13179
--HG--
extra : moz-landing-system : lando
2018-11-28 09:14:19 +00:00
Cosmin Sabou
20c5475d6d
Merge mozilla-central to autoland.
2018-11-28 06:11:15 +02:00
Cosmin Sabou
e1e8f2ea69
Merge mozilla-inbound to mozilla-central. a=merge
2018-11-28 06:08:19 +02:00
Hiroyuki Ikezoe
218b4e7038
Bug 1504065 - Support background-color animations on the compositor for nsIDOMWindowUtils::GetOMTAValue. r=birtles
...
Depends on D13001
Differential Revision: https://phabricator.services.mozilla.com/D13002
--HG--
extra : moz-landing-system : lando
2018-11-28 00:59:15 +00:00
Hiroyuki Ikezoe
22056382c0
Bug 1504065 - Run background-color animations on the compositor. r=birtles
...
Changes for nsIDOMWindowUtils.getOMTAValue is in the next commit with come test
cases.
Differential Revision: https://phabricator.services.mozilla.com/D13001
--HG--
extra : moz-landing-system : lando
2018-11-28 00:58:46 +00:00
Ehsan Akhgari
2febd96e7e
Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13073
--HG--
extra : moz-landing-system : lando
2018-11-28 00:54:56 +00:00
Gabriele Svelto
19e52bebd4
Bug 1510582 - Remove useless inclusions of Services.h r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D13240
--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Cosmin Sabou
03a482b756
Merge mozilla-central to mozilla-inbound.
2018-11-28 06:12:39 +02:00
sotaro
9298dc7566
Bug 1482350 - Enable RGBA8 support of WebRender r=jnicol
2018-11-28 11:44:43 +09:00
Botond Ballo
fa6c347d4b
Bug 1510757 - Protect the comment above APZCTreeManager::GetScreenToApzcTransform() from clang-format (DONTBUILD). r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D13302
--HG--
extra : moz-landing-system : lando
2018-11-28 20:36:43 +00:00
Coroiu Cristina
47323ec73b
Merge mozilla-central to autoland a=merge on a CLOSED TREE
2018-11-28 23:56:03 +02:00
Bogdan Tara
fd7ba25ff9
Backed out changeset 848f4907fb07 (bug 1510447) for failures on 136/289480.html CLOSED TREE
2018-11-28 23:21:16 +02:00
Cosmin Sabou
0afa5aa670
Backed out 2 changesets (bug 1508472) for causing build bustages on JobScheduler_posix.cpp. CLOSED TREE
...
Backed out changeset af951294cf96 (bug 1508472)
Backed out changeset 2320933cb7bc (bug 1508472)
2018-11-28 00:08:11 +02:00
Ehsan Akhgari
7c937c2747
Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13073
--HG--
extra : moz-landing-system : lando
2018-11-27 21:36:18 +00:00
arthur.iakab
af07f9b9d4
Backed out 13 changesets (bug 1500948, bug 1509362, bug 1509591, bug 1448426, bug 1500949, bug 1487249, bug 1509930, bug 1500950, bug 1500944) for causing crashes and assertion failures on PBackgroundParent.cpp:696 CLOSED TREE
...
Backed out changeset c3fe435e473a (bug 1509362)
Backed out changeset 6494840edc17 (bug 1509591)
Backed out changeset 123b5d5a3637 (bug 1509591)
Backed out changeset bce195f98895 (bug 1509930)
Backed out changeset 66db13126408 (bug 1500950)
Backed out changeset 3b5fffae2d2b (bug 1500949)
Backed out changeset 71c3b3677db8 (bug 1500948)
Backed out changeset 784b3b56e2ab (bug 1500944)
Backed out changeset 0bad27401ddb (bug 1500944)
Backed out changeset e0f95dd96d54 (bug 1448426)
Backed out changeset c60fa11538db (bug 1487249)
Backed out changeset 0190d4ffa54f (bug 1487249)
Backed out changeset 3cd10aba9130 (bug 1487249)
2018-11-28 02:57:32 +02:00
Jeff Gilbert
1690a0092c
Bug 1510467 - Preserve purposely-formatted code from clang-format. (webgl, gfx/gl)
...
MozReview-Commit-ID: 2U2oqQ53nTZ
2018-11-27 15:26:46 -08:00
Nika Layzell
6bda5576a0
Bug 1509591 - Part 2: Remove now-unnecessary mIPCOpen variable, r=mccr8
...
This should eliminate most variables which can be replaced with IPCOpen().
Differential Revision: https://phabricator.services.mozilla.com/D12957
2018-11-27 18:09:51 -05:00
Nika Layzell
9f648dce32
Bug 1448426 - Wrap windows.h to avoid problematic define statements, r=froydnj,glandium
...
By default, windows.h exposes a large number of problematic define statements
which are UpperCamelCase, such as a define from `CreateWindow` to
`CreateWindow{A,W}`.
As many of these names are generic (e.g. CreateFile, CreateWindow), they can
mess up Gecko code that may legitimately have its own methods with the same
names.
The header also defines some traditional SCREAMING_SNAKE_CASE defines which
can mess up our code by conflicting with local values.
This patch adds a simple code generator which generates wrappers for these
defines, and uses them to wrap the windows.h wrapper using the `stl_wrappers`
mechanism, allowing us to use windows.h in more places.
Differential Revision: https://phabricator.services.mozilla.com/D10932
2018-11-27 18:09:33 -05:00
Sylvestre Ledru
ef05004811
Bug 1503537 - Get rid of the pdfium & mortar code r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D10352
--HG--
extra : moz-landing-system : lando
2018-11-28 19:31:21 +00:00
Kartikaya Gupta
f748cab615
Bug 1509959 - Add a mochitest to verify unconsumed panning events don't trigger a pointercancel. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D13148
--HG--
extra : moz-landing-system : lando
2018-11-28 19:01:47 +00:00
WR Updater Bot
fd88c0468a
Bug 1510379 - Update webrender to commit 586af96c22c8b05722534e98703bfb47f1d270a1 (WR PR #3338 ). r=kats
...
https://github.com/servo/webrender/pull/3338
Differential Revision: https://phabricator.services.mozilla.com/D13115
--HG--
extra : moz-landing-system : lando
2018-11-27 19:28:45 +00:00
WR Updater Bot
9634d3a566
Bug 1510221 - Re-generate FFI header. r=kats
...
Depends on D13111
Differential Revision: https://phabricator.services.mozilla.com/D13112
--HG--
extra : moz-landing-system : lando
2018-11-27 19:20:07 +00:00
WR Updater Bot
6e2c5ceb9d
Bug 1510221 - Update webrender to commit 195582a8dc5b9c6d26d54ce8d70060ccc8f423d8 (WR PR #3337 ). r=kats
...
https://github.com/servo/webrender/pull/3337
Differential Revision: https://phabricator.services.mozilla.com/D13111
--HG--
extra : moz-landing-system : lando
2018-11-27 19:19:54 +00:00
Razvan Maries
8965794e05
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-11-27 19:35:52 +02:00
Razvan Maries
99a5f987b3
Merge mozilla-inbound to mozilla-central a=merge
2018-11-27 19:32:31 +02:00
Andreea Pavel
f97b59258b
Backed out 2 changesets (bug 1504065) for failing Win reftest at child-in-animating-element-display-none.html on a CLOSED TREE
...
Backed out changeset 129188370231 (bug 1504065)
Backed out changeset 359e81b35cfb (bug 1504065)
2018-11-27 15:33:29 +02:00
WR Updater Bot
6b97f2cda8
Bug 1510222 - Re-generate FFI header. r=kats
...
Depends on D13057
Differential Revision: https://phabricator.services.mozilla.com/D13058
--HG--
extra : moz-landing-system : lando
2018-11-27 12:16:09 +00:00
WR Updater Bot
3200c589ee
Bug 1510222 - Update webrender to commit ea8f4a922b2aa38c40de137d7f0ab6598d53e29a (WR PR #3353 ). r=kats
...
https://github.com/servo/webrender/pull/3353
Differential Revision: https://phabricator.services.mozilla.com/D13057
--HG--
extra : moz-landing-system : lando
2018-11-27 12:15:46 +00:00
WR Updater Bot
347e5a041c
Bug 1510074 - Update webrender to commit 604c69a40920e34bb1b8fa3f02bca6e5edfe73f4 (WR PR #3352 ). r=kats
...
https://github.com/servo/webrender/pull/3352
Differential Revision: https://phabricator.services.mozilla.com/D13056
--HG--
extra : moz-landing-system : lando
2018-11-27 12:11:06 +00:00
WR Updater Bot
623aa5ffe4
Bug 1510091
- Update webrender to commit 235273012e08230c07a214e907175c535206098d (WR PR #3356 ). r=kats
...
https://github.com/servo/webrender/pull/3356
Differential Revision: https://phabricator.services.mozilla.com/D13032
--HG--
extra : moz-landing-system : lando
2018-11-27 02:56:23 +00:00
WR Updater Bot
ad33bb6ed7
Bug 1510090 - Update webrender to commit 05d4eccfa6dd7f667a1f74b12134257a85bea047 (WR PR #3350 ). r=kats
...
https://github.com/servo/webrender/pull/3350
Differential Revision: https://phabricator.services.mozilla.com/D13031
--HG--
extra : moz-landing-system : lando
2018-11-27 02:55:31 +00:00
Hiroyuki Ikezoe
7943d48803
Bug 1504065 - Support background-color animations on the compositor for nsIDOMWindowUtils::GetOMTAValue. r=birtles
...
Depends on D13001
Differential Revision: https://phabricator.services.mozilla.com/D13002
--HG--
extra : moz-landing-system : lando
2018-11-27 09:27:22 +00:00
Hiroyuki Ikezoe
212fa4884a
Bug 1504065 - Run background-color animations on the compositor. r=birtles
...
Changes for nsIDOMWindowUtils.getOMTAValue is in the next commit with come test
cases.
Differential Revision: https://phabricator.services.mozilla.com/D13001
--HG--
extra : moz-landing-system : lando
2018-11-27 09:26:51 +00:00
WR Updater Bot
c9ba4e84f7
Bug 1510086 - Update webrender to commit f3e489eebe9ffd5229c93aa4e17f4c3a7e6cb31d (WR PR #3349 ). r=kats
...
https://github.com/servo/webrender/pull/3349
Differential Revision: https://phabricator.services.mozilla.com/D13030
--HG--
extra : moz-landing-system : lando
2018-11-27 02:55:17 +00:00
Jeff Gilbert
13e2d73059
Bug 1492580 - Repair CONTEXT_LOST handling. r=lsalzman
...
Simplify error handling in GLContext.
Modernize context loss handling in GLContext.
Remove various unused parts.
Fix WebGLContext's context loss/restoration.
MozReview-Commit-ID: Lu2hi5HnP8x
Differential Revision: https://phabricator.services.mozilla.com/D12496
--HG--
extra : moz-landing-system : lando
2018-11-27 04:23:19 +00:00
WR Updater Bot
cc5d0e0605
Bug 1510085 - Update webrender to commit 05bdcae134d73aca7bb48358e91de1f8aef27773 (WR PR #3354 ). r=kats
...
https://github.com/servo/webrender/pull/3354
Differential Revision: https://phabricator.services.mozilla.com/D13029
--HG--
extra : moz-landing-system : lando
2018-11-27 02:54:00 +00:00
WR Updater Bot
681c0f4ec1
Bug 1510084 - Update webrender to commit 35027d93aded8c0a7887dadc8aef5e393171e802 (WR PR #3348 ). r=kats
...
https://github.com/servo/webrender/pull/3348
Differential Revision: https://phabricator.services.mozilla.com/D13028
--HG--
extra : moz-landing-system : lando
2018-11-27 02:53:43 +00:00
WR Updater Bot
0d52f7e529
Bug 1510082 - Update webrender to commit e2e52b1145ad959191c0612edd41b0b189cf6b59 (WR PR #3346 ). r=kats
...
https://github.com/servo/webrender/pull/3346
Differential Revision: https://phabricator.services.mozilla.com/D13026
--HG--
extra : moz-landing-system : lando
2018-11-27 02:52:50 +00:00
WR Updater Bot
1669ae2beb
Bug 1510078 - Update webrender to commit f450af9277e2474e2a2a2c1358689ca9486e2a09 (WR PR #3345 ). r=kats
...
https://github.com/servo/webrender/pull/3345
Differential Revision: https://phabricator.services.mozilla.com/D13025
--HG--
extra : moz-landing-system : lando
2018-11-27 01:16:27 +00:00
WR Updater Bot
ba662aa1c4
Bug 1510075 - Update webrender to commit 90fa51c71579ce434013953cee35a9bd159ab398 (WR PR #3342 ). r=kats
...
https://github.com/servo/webrender/pull/3342
Differential Revision: https://phabricator.services.mozilla.com/D13023
--HG--
extra : moz-landing-system : lando
2018-11-27 01:07:37 +00:00
WR Updater Bot
f2ed1f88d1
Bug 1509635 - Re-generate FFI header. r=kats
...
Depends on D13021
Differential Revision: https://phabricator.services.mozilla.com/D13022
--HG--
extra : moz-landing-system : lando
2018-11-27 01:00:33 +00:00
WR Updater Bot
5552affd79
Bug 1509635 - Update webrender to commit 914d16f9a2fb8d007509894660bae9c61074ae31 (WR PR #3347 ). r=kats
...
https://github.com/servo/webrender/pull/3347
Differential Revision: https://phabricator.services.mozilla.com/D13021
--HG--
extra : moz-landing-system : lando
2018-11-27 01:00:26 +00:00
Kartikaya Gupta
f9dfde678c
Bug 1502010 - Fix a pending TODO that has been resolved. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D12825
--HG--
extra : moz-landing-system : lando
2018-11-27 00:43:57 +00:00
Kartikaya Gupta
9f6dada03c
Bug 1502010 - Tighten up the ArePointerEventsConsumable checks. r=botond
...
This patch tries to reduce the false-positive cases where
ArePointerEventsConsumable returns true even though the input events
won't actually result in panning. It does this by ascertaining the
direction of panning (if possible) in the current input block and
checking to see if panning can actually occur in that direction.
Previously it would just check if panning could occur without taking
into account the actual pan direction of the input events.
Differential Revision: https://phabricator.services.mozilla.com/D12824
--HG--
extra : moz-landing-system : lando
2018-11-27 00:43:44 +00:00
Kartikaya Gupta
8ec8f637e1
Bug 1502010 - Extract helper methods to be more reusable. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D12823
--HG--
extra : moz-landing-system : lando
2018-11-27 00:43:32 +00:00
Daniel Holbert
2cdee51290
Bug 1509955: Preemptively fix unified bustage in layout/base. r=TYLin
...
Just adding:
- a missing-but-needed forward-decl (in LayersLogging.h which is
included by files in layout/base).
- a 'using' decl (to provide layers::AnimationInfo).
- a missing-but-needed #include for nsCOMPtr.
Differential Revision: https://phabricator.services.mozilla.com/D12964
--HG--
extra : moz-landing-system : lando
2018-11-26 22:07:03 +00:00
Coroiu Cristina
a2f107533b
Merge mozilla-central to autoland a=merge on a CLOSED TREE
2018-11-27 01:03:16 +02:00
Coroiu Cristina
9f7204e754
Merge inbound to mozilla-central a=merge
2018-11-27 00:34:45 +02:00
Dorel Luca
2628d08611
Backed out 3 changesets (bug 1502010) for Gtest failure. CLOSED TREE
...
Backed out changeset e9e34c0b62ac (bug 1502010)
Backed out changeset 67c5cdc1e812 (bug 1502010)
Backed out changeset f324774fb863 (bug 1502010)
2018-11-26 22:25:02 +02:00
Kartikaya Gupta
9161329de8
Bug 1508652 - Put WR captures on Android into the external files dir. r=snorp,kvark
...
Differential Revision: https://phabricator.services.mozilla.com/D12769
--HG--
extra : moz-landing-system : lando
2018-11-26 16:26:19 +00:00
Jeff Muizelaar
a59d3605be
Bug 1509358. Replace DCFromDrawTarget with DCForMetrics. r=jfkthame
...
The GDI font code path is very rarely used, further when it used we
don't ever seem to get any DrawTarget that's not Skia and so never try
to pull the DC out of the DrawTarget anyways. I tested this by forcing
on GDI fonts, running the browser and printing, with and without e10s.
However, Jonathan Kew was able to trigger this path. I'm not sure why.
Making this change will let us rip out a bunch of code that threads the
DrawTarget through the text code.
Differential Revision: https://phabricator.services.mozilla.com/D12689
--HG--
extra : moz-landing-system : lando
2018-11-26 16:01:19 +00:00
Csoregi Natalia
d35199ef15
Merge inbound to mozilla-central. a=merge
2018-11-26 11:47:15 +02:00
sotaro
8fb8522b22
Bug 1490117 - Rollback WrEpoch if TransactionBuilder does not have ResourceUpdates in RecvEmptyTransaction() r=mattwoodrow
2018-11-26 16:08:49 +09:00
Matt Woodrow
43bc692c89
Bug 1509226 - Avoid allocations to serialize clips. r=jrmuizel
...
MozReview-Commit-ID: CetmS5cZCMP
Differential Revision: https://phabricator.services.mozilla.com/D12721
--HG--
extra : moz-landing-system : lando
2018-11-26 02:32:15 +00:00
Matt Woodrow
fab384fd5f
Bug 1420628
- Avoid allocations for each text display item. r=jrmuizel
...
MozReview-Commit-ID: HoRHQVEdJeT
Differential Revision: https://phabricator.services.mozilla.com/D12720
--HG--
extra : moz-landing-system : lando
2018-11-25 22:57:04 +00:00
John Lin
e43dca7804
Bug 1486659 - p3: copy texture contents for remote allocated Surface. r=snorp
...
Child processes cannot access textures allocated in the parent process,
which is needed by the compositor to render video elements efficiently.
Unfortunately, Android doesn't expose Sufrace buffers (sharable across
processes) in the SDK/NDK as other platforms, so we need to generate
extra texture/surface in the child process and update texture images
through the surface, which is passed to the parent process for the remote
texture to copy its contents into.
Differential Revision: https://phabricator.services.mozilla.com/D11939
--HG--
rename : mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/ISurfaceAllocator.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/SyncConfig.aidl
extra : moz-landing-system : lando
2018-11-26 19:41:31 +00:00
John Lin
66a5045667
Bug 1486659 - p2: expose native GL blitter to Java. r=snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D11938
--HG--
extra : moz-landing-system : lando
2018-11-26 19:41:29 +00:00
Kartikaya Gupta
d68f3d2cbe
Bug 1502010 - Fix a pending TODO that has been resolved. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D12825
--HG--
extra : moz-landing-system : lando
2018-11-26 19:03:29 +00:00
Kartikaya Gupta
f42a6d3a65
Bug 1502010 - Tighten up the ArePointerEventsConsumable checks. r=botond
...
This patch tries to reduce the false-positive cases where
ArePointerEventsConsumable returns true even though the input events
won't actually result in panning. It does this by ascertaining the
direction of panning (if possible) in the current input block and
checking to see if panning can actually occur in that direction.
Previously it would just check if panning could occur without taking
into account the actual pan direction of the input events.
Differential Revision: https://phabricator.services.mozilla.com/D12824
--HG--
extra : moz-landing-system : lando
2018-11-26 19:03:20 +00:00
Kartikaya Gupta
43ba79bb22
Bug 1502010 - Extract helper methods to be more reusable. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D12823
--HG--
extra : moz-landing-system : lando
2018-11-26 19:02:56 +00:00
Kartikaya Gupta
573d3aec36
Bug 1508822 - Guard against trying to create an oversized DrawTargetRecording with WebRender. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D12950
--HG--
extra : moz-landing-system : lando
2018-11-26 18:14:59 +00:00
WR Updater Bot
305b751fe8
Bug 1509592 - Update webrender to commit 7051f18fdcfbe60ecdbaeaa8e53c4ba98f2037a1 (WR PR #3344 ). r=kats
...
https://github.com/servo/webrender/pull/3344
Differential Revision: https://phabricator.services.mozilla.com/D12822
--HG--
extra : moz-landing-system : lando
2018-11-24 12:56:25 +00:00
Nicolas Silva
2fa6078f12
Bug 1494403 - Separate the Blob related apis. r=jrmuizel
...
This commit contains the Gecko-side changes from WebRender PR#3277:
- Dedicated DirtyRect type.
- Separate the blob image APIs from regular image ones.
Differential Revision: https://phabricator.services.mozilla.com/D12463
--HG--
extra : moz-landing-system : lando
2018-11-23 23:33:49 +00:00
WR Updater Bot
aada6c49ca
Bug 1509495 - Update webrender to commit af2b372624db589115511b4705849a33e6acd35d (WR PR #3277 ). r=kats
...
https://github.com/servo/webrender/pull/3277
Differential Revision: https://phabricator.services.mozilla.com/D12809
--HG--
extra : moz-landing-system : lando
2018-11-23 23:32:57 +00:00
Bogdan Tara
2c11899649
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-11-23 23:40:33 +02:00
Bogdan Tara
243e2192a2
Merge inbound to mozilla-central. a=merge
2018-11-23 23:38:28 +02:00
Jeff Muizelaar
b376bd0e9c
Bug 1509554. Define WrClipId in bindings.rs. r=kats
...
This lets us avoid having to put usize in the exported signatures from bindings.rs
It also avoids a heap allocation when defining a clip chain.
Differential Revision: https://phabricator.services.mozilla.com/D12785
--HG--
extra : moz-landing-system : lando
2018-11-23 19:49:56 +00:00
Kartikaya Gupta
bc812d01bd
Bug 1508811 - Guard against trying to create an oversized DrawTargetRecording with WebRender. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D12677
--HG--
extra : moz-landing-system : lando
2018-11-23 16:43:48 +00:00
WR Updater Bot
a45897eb14
Bug 1509498 - Re-generate FFI header. r=kats
...
Depends on D12754
Differential Revision: https://phabricator.services.mozilla.com/D12755
--HG--
extra : moz-landing-system : lando
2018-11-23 14:43:18 +00:00
WR Updater Bot
32d853b479
Bug 1509498 - Update webrender to commit 523be3a9461de2716828cd2271aabaffc5e4caa0 (WR PR #3332 ). r=kats
...
https://github.com/servo/webrender/pull/3332
Differential Revision: https://phabricator.services.mozilla.com/D12754
--HG--
extra : moz-landing-system : lando
2018-11-23 14:43:06 +00:00
WR Updater Bot
e4b2158970
Bug 1509497 - Update webrender to commit b4f7e431d56d35051085b4f9486f1cee3dd7339b (WR PR #3341 ). r=kats
...
https://github.com/servo/webrender/pull/3341
Differential Revision: https://phabricator.services.mozilla.com/D12753
--HG--
extra : moz-landing-system : lando
2018-11-23 14:40:09 +00:00
WR Updater Bot
b9c3702522
Bug 1509496 - Update webrender to commit 9a903a2c6912d2651faddadf81e76bf743657d72 (WR PR #3340 ). r=kats
...
https://github.com/servo/webrender/pull/3340
Differential Revision: https://phabricator.services.mozilla.com/D12752
--HG--
extra : moz-landing-system : lando
2018-11-23 14:38:00 +00:00
WR Updater Bot
ff99b1eae9
Bug 1509365 - Update webrender to commit 1ad9b79c3d19dec310077206002d09f5c7fb14cd (WR PR #3339 ). r=kats
...
https://github.com/servo/webrender/pull/3339
Differential Revision: https://phabricator.services.mozilla.com/D12751
--HG--
extra : moz-landing-system : lando
2018-11-23 14:35:58 +00:00
Chris Pearce
16512588df
Bug 1503776 - Add marionette-gpu job. r=jmaher
...
In order to reduce the cost of running marionette tests on a virtual machine
with a GPU, add a marionette-gpu job, and run the WebRender rollout test added
in the previous patch in this new job.
Depends on D10528
Differential Revision: https://phabricator.services.mozilla.com/D12241
--HG--
extra : moz-landing-system : lando
2018-11-22 21:36:46 +00:00
Chris Pearce
f67b247a62
Bug 1503776 - Add test to verify WR qualified pref default value saved and respected on restart. r=bryce
...
Add test that when we restart the browser with a default value set on
gfx.webrender.all.qualified, Firefox saves that value and checks respects
the saved value when initializing WebRender.
Depends on D10527
Differential Revision: https://phabricator.services.mozilla.com/D10528
--HG--
extra : moz-landing-system : lando
2018-11-22 21:36:16 +00:00
Chris Pearce
4dd82ffbcb
Bug 1503776 - Save default value of WebRender rollout pref to user pref, check on startup. r=mattwoodrow
...
Normandy's Preference Rollout code sets default values on prefs, not user
values (see uses of PrefUtils.setPref() in PreferenceRolloutAction.jsm).
Default prefs are not persistent; unlike user prefs, changes to default pref
values are not stored on disk. Changes to default values are only made on the
in-memory copy of the pref's value, and thus don't survive a browser restart.
Normandy changes the rolled out prefs early on in the startup of the browser,
but not before gfxPlatform::Init() runs. So that means gfx can't use Normandy
pref rollout to gradually rollout WebRender to release, as
gfxPlatform::InitWebRenderConfig() won't see the rolled out version of the
pref in time to turn on WebRender.
So to work around this, add a profile-before-change shutdown observer that
saves the default value of the gfx.webrender.all.qualified pref to a new user
pref, gfx.webrender.all.qualified.default. We check that on startup and
emulate the behavior that the pref system would have if that pref default
value had already been set by Normandy.
Differential Revision: https://phabricator.services.mozilla.com/D10527
--HG--
extra : moz-landing-system : lando
2018-11-22 21:36:09 +00:00
Kartikaya Gupta
d600969929
Bug 1507524 - Update miscellaneous things with the new WR location. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D12060
--HG--
extra : moz-landing-system : lando
2018-11-22 21:47:50 +00:00
Kartikaya Gupta
2719e9d65e
Bug 1507524 - Move webrender to gfx/wr. r=jrmuizel
...
This patch copies the webrender repository contents into gfx/wr. The
existing files from gfx/webrender, gfx/webrender_api, and gfx/wrench are
moved, and the remaining files are added. The revision being used is the
same as before.
In addition, the mozilla-central top-level Cargo.toml and the
gfx/webrender_bindings/Cargo.toml files are updated to reflect the new
structure.
Differential Revision: https://phabricator.services.mozilla.com/D12059
--HG--
rename : gfx/webrender/src/device/mod.rs => gfx/wr/direct-composition/src/main.rs
rename : gfx/webrender/Cargo.toml => gfx/wr/webrender/Cargo.toml
rename : gfx/webrender/build.rs => gfx/wr/webrender/build.rs
rename : gfx/webrender/doc/CLIPPING_AND_POSITIONING.md => gfx/wr/webrender/doc/CLIPPING_AND_POSITIONING.md
rename : gfx/webrender/doc/blob.md => gfx/wr/webrender/doc/blob.md
rename : gfx/webrender/doc/text-rendering.md => gfx/wr/webrender/doc/text-rendering.md
rename : gfx/webrender/res/Proggy.ttf => gfx/wr/webrender/res/Proggy.ttf
rename : gfx/webrender/res/area-lut.tga => gfx/wr/webrender/res/area-lut.tga
rename : gfx/webrender/res/base.glsl => gfx/wr/webrender/res/base.glsl
rename : gfx/webrender/res/brush.glsl => gfx/wr/webrender/res/brush.glsl
rename : gfx/webrender/res/brush_blend.glsl => gfx/wr/webrender/res/brush_blend.glsl
rename : gfx/webrender/res/brush_image.glsl => gfx/wr/webrender/res/brush_image.glsl
rename : gfx/webrender/res/brush_linear_gradient.glsl => gfx/wr/webrender/res/brush_linear_gradient.glsl
rename : gfx/webrender/res/brush_mix_blend.glsl => gfx/wr/webrender/res/brush_mix_blend.glsl
rename : gfx/webrender/res/brush_radial_gradient.glsl => gfx/wr/webrender/res/brush_radial_gradient.glsl
rename : gfx/webrender/res/brush_solid.glsl => gfx/wr/webrender/res/brush_solid.glsl
rename : gfx/webrender/res/brush_yuv_image.glsl => gfx/wr/webrender/res/brush_yuv_image.glsl
rename : gfx/webrender/res/clip_shared.glsl => gfx/wr/webrender/res/clip_shared.glsl
rename : gfx/webrender/res/cs_blur.glsl => gfx/wr/webrender/res/cs_blur.glsl
rename : gfx/webrender/res/cs_border_segment.glsl => gfx/wr/webrender/res/cs_border_segment.glsl
rename : gfx/webrender/res/cs_border_solid.glsl => gfx/wr/webrender/res/cs_border_solid.glsl
rename : gfx/webrender/res/cs_clip_box_shadow.glsl => gfx/wr/webrender/res/cs_clip_box_shadow.glsl
rename : gfx/webrender/res/cs_clip_image.glsl => gfx/wr/webrender/res/cs_clip_image.glsl
rename : gfx/webrender/res/cs_clip_rectangle.glsl => gfx/wr/webrender/res/cs_clip_rectangle.glsl
rename : gfx/webrender/res/cs_line_decoration.glsl => gfx/wr/webrender/res/cs_line_decoration.glsl
rename : gfx/webrender/res/cs_scale.glsl => gfx/wr/webrender/res/cs_scale.glsl
rename : gfx/webrender/res/debug_color.glsl => gfx/wr/webrender/res/debug_color.glsl
rename : gfx/webrender/res/debug_font.glsl => gfx/wr/webrender/res/debug_font.glsl
rename : gfx/webrender/res/ellipse.glsl => gfx/wr/webrender/res/ellipse.glsl
rename : gfx/webrender/res/gpu_cache.glsl => gfx/wr/webrender/res/gpu_cache.glsl
rename : gfx/webrender/res/gpu_cache_update.glsl => gfx/wr/webrender/res/gpu_cache_update.glsl
rename : gfx/webrender/res/pf_vector_cover.glsl => gfx/wr/webrender/res/pf_vector_cover.glsl
rename : gfx/webrender/res/pf_vector_stencil.glsl => gfx/wr/webrender/res/pf_vector_stencil.glsl
rename : gfx/webrender/res/prim_shared.glsl => gfx/wr/webrender/res/prim_shared.glsl
rename : gfx/webrender/res/ps_split_composite.glsl => gfx/wr/webrender/res/ps_split_composite.glsl
rename : gfx/webrender/res/ps_text_run.glsl => gfx/wr/webrender/res/ps_text_run.glsl
rename : gfx/webrender/res/rect.glsl => gfx/wr/webrender/res/rect.glsl
rename : gfx/webrender/res/render_task.glsl => gfx/wr/webrender/res/render_task.glsl
rename : gfx/webrender/res/shared.glsl => gfx/wr/webrender/res/shared.glsl
rename : gfx/webrender/res/shared_other.glsl => gfx/wr/webrender/res/shared_other.glsl
rename : gfx/webrender/res/snap.glsl => gfx/wr/webrender/res/snap.glsl
rename : gfx/webrender/res/transform.glsl => gfx/wr/webrender/res/transform.glsl
rename : gfx/webrender/src/batch.rs => gfx/wr/webrender/src/batch.rs
rename : gfx/webrender/src/border.rs => gfx/wr/webrender/src/border.rs
rename : gfx/webrender/src/box_shadow.rs => gfx/wr/webrender/src/box_shadow.rs
rename : gfx/webrender/src/capture.rs => gfx/wr/webrender/src/capture.rs
rename : gfx/webrender/src/clip.rs => gfx/wr/webrender/src/clip.rs
rename : gfx/webrender/src/clip_scroll_tree.rs => gfx/wr/webrender/src/clip_scroll_tree.rs
rename : gfx/webrender/src/debug_colors.rs => gfx/wr/webrender/src/debug_colors.rs
rename : gfx/webrender/src/debug_font_data.rs => gfx/wr/webrender/src/debug_font_data.rs
rename : gfx/webrender/src/debug_render.rs => gfx/wr/webrender/src/debug_render.rs
rename : gfx/webrender/src/debug_server.rs => gfx/wr/webrender/src/debug_server.rs
rename : gfx/webrender/src/device/gl.rs => gfx/wr/webrender/src/device/gl.rs
rename : gfx/webrender/src/device/mod.rs => gfx/wr/webrender/src/device/mod.rs
rename : gfx/webrender/src/device/query_gl.rs => gfx/wr/webrender/src/device/query_gl.rs
rename : gfx/webrender/src/display_list_flattener.rs => gfx/wr/webrender/src/display_list_flattener.rs
rename : gfx/webrender/src/ellipse.rs => gfx/wr/webrender/src/ellipse.rs
rename : gfx/webrender/src/frame_builder.rs => gfx/wr/webrender/src/frame_builder.rs
rename : gfx/webrender/src/freelist.rs => gfx/wr/webrender/src/freelist.rs
rename : gfx/webrender/src/gamma_lut.rs => gfx/wr/webrender/src/gamma_lut.rs
rename : gfx/webrender/src/glyph_cache.rs => gfx/wr/webrender/src/glyph_cache.rs
rename : gfx/webrender/src/glyph_rasterizer/mod.rs => gfx/wr/webrender/src/glyph_rasterizer/mod.rs
rename : gfx/webrender/src/glyph_rasterizer/no_pathfinder.rs => gfx/wr/webrender/src/glyph_rasterizer/no_pathfinder.rs
rename : gfx/webrender/src/glyph_rasterizer/pathfinder.rs => gfx/wr/webrender/src/glyph_rasterizer/pathfinder.rs
rename : gfx/webrender/src/gpu_cache.rs => gfx/wr/webrender/src/gpu_cache.rs
rename : gfx/webrender/src/gpu_glyph_renderer.rs => gfx/wr/webrender/src/gpu_glyph_renderer.rs
rename : gfx/webrender/src/gpu_types.rs => gfx/wr/webrender/src/gpu_types.rs
rename : gfx/webrender/src/hit_test.rs => gfx/wr/webrender/src/hit_test.rs
rename : gfx/webrender/src/image.rs => gfx/wr/webrender/src/image.rs
rename : gfx/webrender/src/intern.rs => gfx/wr/webrender/src/intern.rs
rename : gfx/webrender/src/internal_types.rs => gfx/wr/webrender/src/internal_types.rs
rename : gfx/webrender/src/lib.rs => gfx/wr/webrender/src/lib.rs
rename : gfx/webrender/src/picture.rs => gfx/wr/webrender/src/picture.rs
rename : gfx/webrender/src/platform/macos/font.rs => gfx/wr/webrender/src/platform/macos/font.rs
rename : gfx/webrender/src/platform/unix/font.rs => gfx/wr/webrender/src/platform/unix/font.rs
rename : gfx/webrender/src/platform/windows/font.rs => gfx/wr/webrender/src/platform/windows/font.rs
rename : gfx/webrender/src/prim_store.rs => gfx/wr/webrender/src/prim_store.rs
rename : gfx/webrender/src/print_tree.rs => gfx/wr/webrender/src/print_tree.rs
rename : gfx/webrender/src/profiler.rs => gfx/wr/webrender/src/profiler.rs
rename : gfx/webrender/src/record.rs => gfx/wr/webrender/src/record.rs
rename : gfx/webrender/src/render_backend.rs => gfx/wr/webrender/src/render_backend.rs
rename : gfx/webrender/src/render_task.rs => gfx/wr/webrender/src/render_task.rs
rename : gfx/webrender/src/renderer.rs => gfx/wr/webrender/src/renderer.rs
rename : gfx/webrender/src/resource_cache.rs => gfx/wr/webrender/src/resource_cache.rs
rename : gfx/webrender/src/scene.rs => gfx/wr/webrender/src/scene.rs
rename : gfx/webrender/src/scene_builder.rs => gfx/wr/webrender/src/scene_builder.rs
rename : gfx/webrender/src/segment.rs => gfx/wr/webrender/src/segment.rs
rename : gfx/webrender/src/shade.rs => gfx/wr/webrender/src/shade.rs
rename : gfx/webrender/src/spatial_node.rs => gfx/wr/webrender/src/spatial_node.rs
rename : gfx/webrender/src/surface.rs => gfx/wr/webrender/src/surface.rs
rename : gfx/webrender/src/texture_allocator.rs => gfx/wr/webrender/src/texture_allocator.rs
rename : gfx/webrender/src/texture_cache.rs => gfx/wr/webrender/src/texture_cache.rs
rename : gfx/webrender/src/tiling.rs => gfx/wr/webrender/src/tiling.rs
rename : gfx/webrender/src/util.rs => gfx/wr/webrender/src/util.rs
rename : gfx/webrender/tests/angle_shader_validation.rs => gfx/wr/webrender/tests/angle_shader_validation.rs
rename : gfx/webrender/tests/bug_124.html => gfx/wr/webrender/tests/bug_124.html
rename : gfx/webrender/tests/bug_134.html => gfx/wr/webrender/tests/bug_134.html
rename : gfx/webrender/tests/bug_137.html => gfx/wr/webrender/tests/bug_137.html
rename : gfx/webrender/tests/bug_143.html => gfx/wr/webrender/tests/bug_143.html
rename : gfx/webrender/tests/bug_159.html => gfx/wr/webrender/tests/bug_159.html
rename : gfx/webrender/tests/bug_166.html => gfx/wr/webrender/tests/bug_166.html
rename : gfx/webrender/tests/bug_176.html => gfx/wr/webrender/tests/bug_176.html
rename : gfx/webrender/tests/bug_177.html => gfx/wr/webrender/tests/bug_177.html
rename : gfx/webrender/tests/bug_178.html => gfx/wr/webrender/tests/bug_178.html
rename : gfx/webrender/tests/bug_203a.html => gfx/wr/webrender/tests/bug_203a.html
rename : gfx/webrender/tests/bug_203b.html => gfx/wr/webrender/tests/bug_203b.html
rename : gfx/webrender/tests/bug_servo_10136.html => gfx/wr/webrender/tests/bug_servo_10136.html
rename : gfx/webrender/tests/bug_servo_10164.html => gfx/wr/webrender/tests/bug_servo_10164.html
rename : gfx/webrender/tests/bug_servo_10307.html => gfx/wr/webrender/tests/bug_servo_10307.html
rename : gfx/webrender/tests/bug_servo_11358.html => gfx/wr/webrender/tests/bug_servo_11358.html
rename : gfx/webrender/tests/bug_servo_9983a.html => gfx/wr/webrender/tests/bug_servo_9983a.html
rename : gfx/webrender/tests/color_pattern_1.png => gfx/wr/webrender/tests/color_pattern_1.png
rename : gfx/webrender/tests/color_pattern_2.png => gfx/wr/webrender/tests/color_pattern_2.png
rename : gfx/webrender/tests/fixed-position.html => gfx/wr/webrender/tests/fixed-position.html
rename : gfx/webrender/tests/mix-blend-mode-2.html => gfx/wr/webrender/tests/mix-blend-mode-2.html
rename : gfx/webrender/tests/mix-blend-mode.html => gfx/wr/webrender/tests/mix-blend-mode.html
rename : gfx/webrender/tests/nav-1.html => gfx/wr/webrender/tests/nav-1.html
rename : gfx/webrender/tests/nav-2.html => gfx/wr/webrender/tests/nav-2.html
rename : gfx/webrender_api/Cargo.toml => gfx/wr/webrender_api/Cargo.toml
rename : gfx/webrender_api/src/api.rs => gfx/wr/webrender_api/src/api.rs
rename : gfx/webrender_api/src/channel.rs => gfx/wr/webrender_api/src/channel.rs
rename : gfx/webrender_api/src/channel_ipc.rs => gfx/wr/webrender_api/src/channel_ipc.rs
rename : gfx/webrender_api/src/channel_mpsc.rs => gfx/wr/webrender_api/src/channel_mpsc.rs
rename : gfx/webrender_api/src/color.rs => gfx/wr/webrender_api/src/color.rs
rename : gfx/webrender_api/src/display_item.rs => gfx/wr/webrender_api/src/display_item.rs
rename : gfx/webrender_api/src/display_list.rs => gfx/wr/webrender_api/src/display_list.rs
rename : gfx/webrender_api/src/font.rs => gfx/wr/webrender_api/src/font.rs
rename : gfx/webrender_api/src/gradient_builder.rs => gfx/wr/webrender_api/src/gradient_builder.rs
rename : gfx/webrender_api/src/image.rs => gfx/wr/webrender_api/src/image.rs
rename : gfx/webrender_api/src/lib.rs => gfx/wr/webrender_api/src/lib.rs
rename : gfx/webrender_api/src/units.rs => gfx/wr/webrender_api/src/units.rs
rename : gfx/wrench/.gitignore => gfx/wr/wrench/.gitignore
rename : gfx/wrench/Cargo.toml => gfx/wr/wrench/Cargo.toml
rename : gfx/wrench/README.md => gfx/wr/wrench/README.md
rename : gfx/wrench/build.rs => gfx/wr/wrench/build.rs
rename : gfx/webrender/res/Proggy.ttf => gfx/wr/wrench/reftests/text/Proggy.ttf
rename : gfx/wrench/res/wrench.exe.manifest => gfx/wr/wrench/res/wrench.exe.manifest
rename : gfx/wrench/src/angle.rs => gfx/wr/wrench/src/angle.rs
rename : gfx/wrench/src/args.yaml => gfx/wr/wrench/src/args.yaml
rename : gfx/wrench/src/binary_frame_reader.rs => gfx/wr/wrench/src/binary_frame_reader.rs
rename : gfx/wrench/src/blob.rs => gfx/wr/wrench/src/blob.rs
rename : gfx/wrench/src/cgfont_to_data.rs => gfx/wr/wrench/src/cgfont_to_data.rs
rename : gfx/wrench/src/egl.rs => gfx/wr/wrench/src/egl.rs
rename : gfx/wrench/src/json_frame_writer.rs => gfx/wr/wrench/src/json_frame_writer.rs
rename : gfx/wrench/src/main.rs => gfx/wr/wrench/src/main.rs
rename : gfx/wrench/src/parse_function.rs => gfx/wr/wrench/src/parse_function.rs
rename : gfx/wrench/src/perf.rs => gfx/wr/wrench/src/perf.rs
rename : gfx/wrench/src/png.rs => gfx/wr/wrench/src/png.rs
rename : gfx/wrench/src/premultiply.rs => gfx/wr/wrench/src/premultiply.rs
rename : gfx/wrench/src/rawtest.rs => gfx/wr/wrench/src/rawtest.rs
rename : gfx/wrench/src/reftest.rs => gfx/wr/wrench/src/reftest.rs
rename : gfx/wrench/src/ron_frame_writer.rs => gfx/wr/wrench/src/ron_frame_writer.rs
rename : gfx/wrench/src/scene.rs => gfx/wr/wrench/src/scene.rs
rename : gfx/wrench/src/wrench.rs => gfx/wr/wrench/src/wrench.rs
rename : gfx/wrench/src/yaml_frame_reader.rs => gfx/wr/wrench/src/yaml_frame_reader.rs
rename : gfx/wrench/src/yaml_frame_writer.rs => gfx/wr/wrench/src/yaml_frame_writer.rs
rename : gfx/wrench/src/yaml_helper.rs => gfx/wr/wrench/src/yaml_helper.rs
extra : moz-landing-system : lando
2018-11-22 21:47:48 +00:00
Daniel Varga
cef4893007
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-11-22 23:53:13 +02:00
Daniel Varga
5e7f34b25d
Merge mozilla-inbound to mozilla-central. a=merge
2018-11-22 23:48:53 +02:00
WR Updater Bot
3f5bab322b
Bug 1509305 - Update webrender to commit 3d7a8fa933769b94875f822b6f4a7803da4320ee (WR PR #3335 ). r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D12649
--HG--
extra : moz-landing-system : lando
2018-11-22 12:55:35 +00:00
Kartikaya Gupta
c7c9b39313
Bug 1503029 - Ensure the slider frame is notified of APZ drag initiation. r=botond
...
This adds a notification from APZ to the scrollbar's slider frame to
inform it of APZ starting an async scrollbar drag. This is useful
because APZ can start a scrollbar drag and even change the scroll
position before the scrollbar frame even handles the mousedown event. In
such a case, the mousedown can land on where the scrollthumb *used to
be* before it was dragged away. This can result in scroll-to-click
behavior getting triggered and the scrollthumb glitching.
With this patch, the new notification follows the same path as the
request-repaint message, and so is guaranteed to arrive at the scrollbar
before any request-repaint messages. It sets some state that can be used
to correct the behaviour described above.
Differential Revision: https://phabricator.services.mozilla.com/D12364
--HG--
extra : moz-landing-system : lando
2018-11-22 18:00:49 +00:00
WR Updater Bot
e5dd13825e
Bug 1509304 - Update webrender to commit 5dba919cac858f9b2972bd24e29c9e353c28051d (WR PR #3317 ). r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D12647
--HG--
extra : moz-landing-system : lando
2018-11-22 12:53:13 +00:00
WR Updater Bot
7e420c55eb
Bug 1509303 - Update webrender to commit a749b63f090379d1f854459f64f55a2ca68af0dc (WR PR #3325 ). r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D12646
--HG--
extra : moz-landing-system : lando
2018-11-22 12:48:23 +00:00
WR Updater Bot
6fbd23a8ef
Bug 1509302 - Update webrender to commit 29dab25c587b38ecbf4713cda44e87b78846c7f6 (WR PR #3336 ). r=kats
...
https://github.com/servo/webrender/pull/3336
Differential Revision: https://phabricator.services.mozilla.com/D12696
--HG--
extra : moz-landing-system : lando
2018-11-22 18:48:47 +00:00
WR Updater Bot
30910ab714
Bug 1509005 - Update webrender to commit 359ca639e5a0500d63dc541e7ed26842de1dc7e7 (WR PR #3333 ). r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D12644
--HG--
extra : moz-landing-system : lando
2018-11-22 12:47:54 +00:00
byron jones
1198b44835
Bug 1509238 - add moz.yaml to cairo; r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D12625
--HG--
extra : moz-landing-system : lando
2018-11-22 13:12:48 +00:00
arthur.iakab
14322dd0bd
Backed out 9 changesets (bug 1500948, bug 1500949, bug 1448426, bug 1487249, bug 1500950, bug 1500944) for causing talos crashes on ts_paint | application crashed [@ MOZ_CrashOOL(char const*, int, char const*)]
...
Backed out changeset 429776feea6b (bug 1500950)
Backed out changeset a300e9ae7a01 (bug 1500949)
Backed out changeset fed1a518579a (bug 1500948)
Backed out changeset a71376319ad7 (bug 1500944)
Backed out changeset 9c5c35cb10aa (bug 1500944)
Backed out changeset b6c97b4db60a (bug 1448426)
Backed out changeset 160a1dbe0be5 (bug 1487249)
Backed out changeset 8caf55928df2 (bug 1487249)
Backed out changeset 176131b18cb4 (bug 1487249)
2018-11-22 07:57:52 +02:00
Nika Layzell
b6ea50e3f8
Bug 1448426 - Wrap windows.h to avoid problematic define statements, r=froydnj,glandium
...
By default, windows.h exposes a large number of problematic define statements
which are UpperCamelCase, such as a define from `CreateWindow` to
`CreateWindow{A,W}`.
As many of these names are generic (e.g. CreateFile, CreateWindow), they can
mess up Gecko code that may legitimately have its own methods with the same
names.
The header also defines some traditional SCREAMING_SNAKE_CASE defines which
can mess up our code by conflicting with local values.
This patch adds a simple code generator which generates wrappers for these
defines, and uses them to wrap the windows.h wrapper using the `stl_wrappers`
mechanism, allowing us to use windows.h in more places.
Differential Revision: https://phabricator.services.mozilla.com/D10932
2018-11-21 23:37:26 -05:00
sotaro
8b972d1dc6
Bug 1508526 - Remove unnecessary ScheduleGenerateFrame() call in WebRenderBridgeParent::RecvUpdateResources() r=aosmond
2018-11-22 17:24:50 +09:00
Nicolas Silva
36ee7b97d0
bug 1510447 - Fix a blob image key leak. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D13262
--HG--
extra : moz-landing-system : lando
2018-11-28 16:16:29 +00:00
Dzmitry Malyshau
54ba2010c1
Bug 1503447 - Always use zero origin for WR reference frames and stacking contexts r=kats
...
Previously, WebRender was getting a rectangle for reference frames
and stacking contexts, and it had to carefully treat the origin of this rectange:
- by offseting all the items in a stacking context
- by negatively compensating the sticky frame scroll port according to the
parent reference frame origin
With this change, we stop providing any non-zero origins. Instead we accomplish
the same behavior using existing API primitives, such as reference frames:
1. when a stacking context has an origin, we push another reference frame for it
2. when computing the sticky frame scroll port, we take this origin into account
This slightly simplifies Gecko-WR API, but more importantly it would allow WR to
get rid of this logic (of handling origins), which in turn would allow to switch
the reference frames from push()/pop() model to just define(), like we do for
scroll/sticky frames already.
Differential Revision: https://phabricator.services.mozilla.com/D13081
--HG--
extra : moz-landing-system : lando
2018-11-28 15:32:41 +00:00
WR Updater Bot
9795e3e11b
Bug 1510593 - Update webrender to commit 3d73e3885907ae3d48b46fba891073abdb59e76d (WR PR #3359 ). r=kats
...
https://github.com/servo/webrender/pull/3359
Differential Revision: https://phabricator.services.mozilla.com/D13247
--HG--
extra : moz-landing-system : lando
2018-11-28 14:08:00 +00:00
WR Updater Bot
42bce86621
Bug 1510376
- Update webrender to commit 323b7ea140ba956af342e4f2660e67e04913e9fb (WR PR #3361 ). r=kats
...
https://github.com/servo/webrender/pull/3361
Differential Revision: https://phabricator.services.mozilla.com/D13246
--HG--
extra : moz-landing-system : lando
2018-11-28 14:06:08 +00:00
Kartikaya Gupta
dd2834b1aa
Bug 1507524 - Follow-up to remove file accidentally left behind. r=me
2018-11-23 07:49:13 -05:00
Andreea Pavel
945463d394
Backed out changeset 11d6688b953f (bug 1508472) for build bustages on a CLOSED TREE
2018-11-27 18:28:30 +02:00
Ehsan Akhgari
d0a3a76106
Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13073
--HG--
extra : moz-landing-system : lando
2018-11-27 15:18:32 +00:00
Gabriele Svelto
566f669d07
Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D12728
--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Jonathan Watt
4c1b207664
Bug 1510116. Fix some unified build issues in layout code. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D13039
--HG--
extra : rebase_source : f0b6516484ed97ed52b92e04617f89e4ee8189ff
2018-11-12 22:20:52 +00:00
Kristen Wright
f22175b197
Bug 1460439 - Conversion from NS_STYLE_BORDER_STYLE_* macro to StyleBorderStyle::* enum class r=emilio
...
Converted NS_STYLE_BORDER_STYLE_* consts to enum class. Updated corresponding values to enum class. reduced BCCornerInfo struct values to fit StyleBorderStyle values inside struct. Added defaults to switches that do not fully cover all instances of StyleBorderStyle.
2018-11-07 11:56:17 -08:00
Coroiu Cristina
b27585482c
Merge inbound to mozilla-central a=merge
2018-11-21 23:43:13 +02:00
Cosmin Sabou
6a888dd9ac
Merge mozilla-central to mozilla-inbound. a=merge
2018-11-21 18:25:38 +02:00
WR Updater Bot
a9f889232c
Bug 1508766 - Update webrender to commit 229436b578701fc74a009d6cedc6b2a3ae313f77 (WR PR #3331 ). r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D12534
--HG--
extra : moz-landing-system : lando
2018-11-21 12:29:04 +00:00
Barret Rennie
b09ba3de12
Bug 1457546 - Use glMapBufferRange instead of glMapBuffer to capture screenshots r=jgilbert
...
It was pointed out in a review by jgilbert that glMapBuffer only supports
writing to the mapped range on an OpenGL ES profile and using it to read is
undefined behaviour. We now use glMapBufferRange when available, which does
support reading on both OpenGL and OpenGL ES profiles, and allows capturing
screenshots on Android. When it is not available, we fall back to glMapBuffer
(e.g., for macOS).
Differential Revision: https://phabricator.services.mozilla.com/D12341
--HG--
extra : moz-landing-system : lando
2018-11-20 18:32:10 +00:00
Gerald Squelart
1bd6a1fd4e
Bug 1435091 - p4. Use profiler_thread_is_being_profiled() instead of profiler_is_active() around profiler_add_marker()s - r=mstange
...
(Unless there were other profiler actions, as I'm not sure yet whether it would
be safe to skip them when the profiler is paused; another bug should
investigate that.)
Differential Revision: https://phabricator.services.mozilla.com/D11308
--HG--
extra : moz-landing-system : lando
2018-11-19 06:29:15 +00:00
shindli
cbbdd02331
Merge inbound to mozilla-central. a=merge
2018-11-21 05:59:34 +02:00
Narcis Beleuzu
355e9a39df
Backed out 3 changesets (bug 1503776) for xperf failures
...
Backed out changeset 596f70b5d5b0 (bug 1503776)
Backed out changeset 2d2d1dfd04d4 (bug 1503776)
Backed out changeset 3eb49d9e73bb (bug 1503776)
2018-11-21 01:38:34 +02:00
shindli
5cc898ccc2
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-11-20 23:48:34 +02:00
Lee Salzman
7db9336472
Bug 1505426 - initialize SkMaskFilter flattenables. r=rhunt
2018-11-20 15:19:33 -05:00
WR Updater Bot
8c70719f9d
Bug 1508555 - Update webrender to commit 6ffc7cfe02f2a914a7d4338510277988643cc441 (WR PR #3330 ). r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D12468
--HG--
extra : moz-landing-system : lando
2018-11-20 19:41:55 +00:00
Andrew McCreight
55cef5b2ab
Bug 1504365 - Clear weak pointers in shutdown observers. r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D12348
--HG--
extra : moz-landing-system : lando
2018-11-19 23:16:24 +00:00
Chris Pearce
5862a9afbb
Bug 1503776 - Add marionette-gpu job. r=jmaher
...
In order to reduce the cost of running marionette tests on a virtual machine
with a GPU, add a marionette-gpu job, and run the WebRender rollout test added
in the previous patch in this new job.
Depends on D10528
Differential Revision: https://phabricator.services.mozilla.com/D12241
--HG--
extra : moz-landing-system : lando
2018-11-20 12:32:50 +00:00
Chris Pearce
38d726ef21
Bug 1503776 - Add test to verify WR qualified pref default value saved and respected on restart. r=bryce
...
Add test that when we restart the browser with a default value set on
gfx.webrender.all.qualified, Firefox saves that value and checks respects
the saved value when initializing WebRender.
Depends on D10527
Differential Revision: https://phabricator.services.mozilla.com/D10528
--HG--
extra : moz-landing-system : lando
2018-11-20 03:52:59 +00:00
Chris Pearce
489732ad6a
Bug 1503776 - Save default value of WebRender rollout pref to user pref, check on startup. r=mattwoodrow
...
Normandy's Preference Rollout code sets default values on prefs, not user
values (see uses of PrefUtils.setPref() in PreferenceRolloutAction.jsm).
Default prefs are not persistent; unlike user prefs, changes to default pref
values are not stored on disk. Changes to default values are only made on the
in-memory copy of the pref's value, and thus don't survive a browser restart.
Normandy changes the rolled out prefs early on in the startup of the browser,
but not before gfxPlatform::Init() runs. So that means gfx can't use Normandy
pref rollout to gradually rollout WebRender to release, as
gfxPlatform::InitWebRenderConfig() won't see the rolled out version of the
pref in time to turn on WebRender.
So to work around this, add a profile-before-change shutdown observer that
saves the default value of the gfx.webrender.all.qualified pref to a new user
pref, gfx.webrender.all.qualified.default. We check that on startup and
emulate the behavior that the pref system would have if that pref default
value had already been set by Normandy.
Differential Revision: https://phabricator.services.mozilla.com/D10527
--HG--
extra : moz-landing-system : lando
2018-11-20 03:51:31 +00:00
Matt Woodrow
3e879986fc
Bug 1507680 - Record detailed statistics about slow WebRender frames in about:support. r=jrmuizel
...
MozReview-Commit-ID: 84SjN1RvvAA
Differential Revision: https://phabricator.services.mozilla.com/D12372
--HG--
extra : rebase_source : 80e3342280723a2404c6aad7d26b1327906c9e4a
2018-11-16 15:13:56 +13:00
Jeff Muizelaar
3654ccade6
Bug 1507686 - Record LayerManager URL for each paint so that we can correlate it with slow paints. r=mattwoodrow
...
MozReview-Commit-ID: 2RUWkboAOJz
--HG--
extra : rebase_source : 397fd432b4e9cba37a1ebca9dcc5a949f290c9d0
2018-11-19 20:55:28 +13:00
arthur.iakab
a5b0a4bc98
Merge mozilla-central to inbound
2018-11-20 18:49:12 +02:00
Jeff Muizelaar
eb4806b6a3
Bug 1507021. Add a SnappedClip function to gfxContext. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D11839
2018-11-20 08:56:35 -05:00
Jeff Muizelaar
c80ead4e70
Bug 1508908. Remove mEventRegions from WebRenderLayerScrollData. r=kats
...
It's unused.
Differential Revision: https://phabricator.services.mozilla.com/D12506
--HG--
extra : moz-landing-system : lando
2018-11-21 11:55:46 +00:00
WR Updater Bot
2eddabeddc
Bug 1508348 - Update webrender to commit 85336e717d99c81e06b261a3958fe9ef90212e0c (WR PR #3329 ). r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D12393
--HG--
extra : moz-landing-system : lando
2018-11-20 07:32:57 +00:00
Andreea Pavel
d8849bad00
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-11-20 07:12:30 +02:00
Razvan Maries
208d16134b
Merge mozilla-inbound to mozilla-central a=merge
2018-11-20 07:03:17 +02:00
Hiroyuki Ikezoe
470587b47e
Bug 1423709 - Add initial-scale=1 for tests supposing the page is rendered 1:1 scale. r=botond
...
Depends on D10195
Differential Revision: https://phabricator.services.mozilla.com/D10196
--HG--
extra : moz-landing-system : lando
2018-11-20 01:24:57 +00:00
Boris Zbarsky
71db58cf83
Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug
2018-11-19 20:17:53 -05:00
Boris Zbarsky
b88f0dc956
Bug 1507540 part 1. Use more notxpcom attributes in caps/. r=mrbkap
2018-11-19 20:17:52 -05:00
Jeff Muizelaar
5624b1e36e
Bug 1507021. Use SnappedRectangle in more places. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D11840
--HG--
extra : moz-landing-system : lando
2018-11-19 23:03:32 +00:00
Sebastian Hengst
cc89f3b7a2
Backed out 3 changesets (bug 1503776) for failing new MnG suite in test_pref_rollout_workaround.py. CLOSED TREE
...
Backed out changeset 5b6f0d586bf7 (bug 1503776)
Backed out changeset bcb35a8cb22b (bug 1503776)
Backed out changeset fb616c66a1fd (bug 1503776)
2018-11-19 23:15:33 +02:00