Kartikaya Gupta
35dbf0dfaf
Bug 1418541 - Remove HitTestResult and use CompositorHitTestInfo instead. r=botond
...
MozReview-Commit-ID: KkBriZl7CEL
--HG--
extra : rebase_source : f307f6ab29ea8ec511c25fd859fd17fba6562a28
2017-11-25 10:53:38 -05:00
Ethan Lin
65814283ca
Bug 1416995 - Enable retained mode for the basic layer manager in WR fallback. r=jrmuizel,kats
...
MozReview-Commit-ID: InYJSiKGqQE
--HG--
extra : rebase_source : 1e9ae74bac79209fa6f5c7758695c89ac17cbf52
2017-11-15 13:48:48 +08:00
Botond Ballo
297dd5355d
Bug 951793 - Add overscroll-behavior to the layer dump. r=kats
...
MozReview-Commit-ID: 629DKmrbVIi
2017-11-25 01:29:17 +01:00
Botond Ballo
1b91441c7c
Bug 951793 - Obey overscroll-behavior for swipe navigation. r=mstange
...
MozReview-Commit-ID: i2BuiAfG71
2017-11-25 01:29:15 +01:00
Botond Ballo
e120e4e115
Bug 951793 - Obey overscroll-behavior for any overscroll effect. r=kats
...
MozReview-Commit-ID: HyATx3aCmmm
2017-11-25 01:29:13 +01:00
Botond Ballo
7a8b2f99d3
Bug 951793 - Obey overscroll-behavior for wheel and pan gesture events. r=kats
...
MozReview-Commit-ID: EmbsMu9Esww
2017-11-25 01:29:11 +01:00
Botond Ballo
6aaf9d8b94
Bug 951793 - Obey overscroll-behavior for fling handoff. r=kats
...
MozReview-Commit-ID: 9i2AgmW3Inm
2017-11-25 01:29:09 +01:00
Botond Ballo
ba097e7549
Bug 951793 - Light refactoring to the fling handoff code. r=kats
...
Passing FlingHandoffState around as an in-out parameter was making
the next change (respecting overscroll-behavior) messy.
MozReview-Commit-ID: 4wuoll20Jt7
2017-11-25 01:29:08 +01:00
Botond Ballo
0f12d12993
Bug 951793 - Obey overscroll-behavior for immediate scroll handoff. r=kats
...
MozReview-Commit-ID: JPJOK8A1PQ
2017-11-25 01:29:05 +01:00
Botond Ballo
df8a5f5637
Bug 951793 - Add a few utility functions to expose the overscroll behavior in relevant places in APZ. r=kats
...
MozReview-Commit-ID: 4wFfUY5p6J5
2017-11-25 01:29:03 +01:00
Botond Ballo
41aac0b97c
Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange
...
MozReview-Commit-ID: J7Vkd941QxK
2017-11-25 01:29:01 +01:00
Sebastian Hengst
6d4637aebb
Backed out 15 changesets (bug 951793) because it landed before the necessary servo changes. r=backout requested by emilio on a CLOSED TREE
...
Backed out changeset ca8c86e229df (bug 951793)
Backed out changeset 6eef6403fa71 (bug 951793)
Backed out changeset a5e529f52fb1 (bug 951793)
Backed out changeset 054e837609d0 (bug 951793)
Backed out changeset 713a3c9617ce (bug 951793)
Backed out changeset 884913aa1668 (bug 951793)
Backed out changeset c3340b84e534 (bug 951793)
Backed out changeset 50fe3c6ac486 (bug 951793)
Backed out changeset be4e22e5c257 (bug 951793)
Backed out changeset 7055bd5dfc4e (bug 951793)
Backed out changeset fa6da1e723cf (bug 951793)
Backed out changeset 386f77004d89 (bug 951793)
Backed out changeset fa82cdc01408 (bug 951793)
Backed out changeset 867d8ea5355c (bug 951793)
Backed out changeset e61ac8e48971 (bug 951793)
2017-11-25 01:01:41 +02:00
Botond Ballo
15fa114637
Bug 951793 - Add overscroll-behavior to the layer dump. r=kats
...
MozReview-Commit-ID: 629DKmrbVIi
--HG--
extra : rebase_source : 930e5c558a7bef5b1a816a9b8c37b271cc4f155b
2017-10-25 13:21:49 -04:00
Botond Ballo
3ddd46e5f1
Bug 951793 - Obey overscroll-behavior for swipe navigation. r=mstange
...
MozReview-Commit-ID: i2BuiAfG71
--HG--
extra : rebase_source : 9fd9b60db5c6e5f01033f6dca934024ce488cedb
2017-10-23 18:27:24 -04:00
Botond Ballo
c956e489bc
Bug 951793 - Obey overscroll-behavior for any overscroll effect. r=kats
...
MozReview-Commit-ID: HyATx3aCmmm
--HG--
extra : rebase_source : 43f8d69a8e10f778179e77679cb7581b95d25b87
2017-11-03 16:07:46 -04:00
Botond Ballo
bfb1cd4ddd
Bug 951793 - Obey overscroll-behavior for wheel and pan gesture events. r=kats
...
MozReview-Commit-ID: EmbsMu9Esww
--HG--
extra : rebase_source : f681f55f274757be4965e6c912e514e81e8b1c8f
2017-11-17 18:52:58 -05:00
Botond Ballo
15d10c1b0d
Bug 951793 - Obey overscroll-behavior for fling handoff. r=kats
...
MozReview-Commit-ID: 9i2AgmW3Inm
--HG--
extra : rebase_source : 429438b26c2ab0b75690f87bd6b9b0b9187a4567
2017-11-03 16:03:38 -04:00
Botond Ballo
2f514da8d8
Bug 951793 - Light refactoring to the fling handoff code. r=kats
...
Passing FlingHandoffState around as an in-out parameter was making
the next change (respecting overscroll-behavior) messy.
MozReview-Commit-ID: 4wuoll20Jt7
--HG--
extra : rebase_source : c5d843254a38196547119419d1a2ad1fd0f3ef09
2017-11-03 13:07:48 -04:00
Botond Ballo
d561386618
Bug 951793 - Obey overscroll-behavior for immediate scroll handoff. r=kats
...
MozReview-Commit-ID: JPJOK8A1PQ
--HG--
extra : rebase_source : 6603bb5e524bfb5cca5a9b4d23ebec2151d8bfb4
2017-10-20 19:16:44 -04:00
Botond Ballo
5d380ebb1c
Bug 951793 - Add a few utility functions to expose the overscroll behavior in relevant places in APZ. r=kats
...
MozReview-Commit-ID: 4wFfUY5p6J5
--HG--
extra : rebase_source : 6e1e0fe0b3975bdd60b5cb13af950d74ea849d2f
2017-10-20 19:31:02 -04:00
Botond Ballo
69d3063396
Bug 951793 - Store the overscroll behavior in ScrollMetadata and propagate it to APZ. r=mstange
...
MozReview-Commit-ID: J7Vkd941QxK
--HG--
extra : rebase_source : f9d0f664f17f4efe34a21064cbbf259642fe3caf
2017-10-18 20:13:19 -04:00
Ciure Andrei
f8979ebb32
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-11-25 00:17:48 +02:00
Ciure Andrei
327405164b
Merge inbound to mozilla-central r=merge a=merge
2017-11-25 00:04:02 +02:00
peter chang
e28fd08cee
Bug 1375424 - Enable the GPU time out mechanism for WR, r=sotaro
...
MozReview-Commit-ID: JlsODvvdQiJ
--HG--
extra : rebase_source : bab4170b1e47652e33c5395342490d992735d713
2017-11-24 14:27:00 +08:00
Andrew Osmond
675137dd9f
Bug 1419767
- Remove gfxPlatform::CanRenderContentToDataSurface. r=nical
...
Factory::DoesBackendSupportDataDrawtarget already fulfills the same
purpose and we should use that instead, as imgFrame is the only user of
the former API. It has the added bonus of allowing us to use shared
surfaces on Linux with WebRender, and using volatile surfaces on Windows
when D2D is disabled.
2017-11-24 08:10:03 -05:00
Kartikaya Gupta
dcc1822a45
Bug 1418387 - Find the appropriate scrollbar node in GetAPZCAtPointWR. r=botond
...
MozReview-Commit-ID: Fb4465Gaj7K
--HG--
extra : rebase_source : 647e617326d5e45dde0eb22b3ba9ac7cc03f7096
2017-11-24 16:23:06 -05:00
Kartikaya Gupta
c82aeb4865
Bug 1418387 - Add CompositorHitTestInfo bits for scrollbars. r=mstange
...
MozReview-Commit-ID: KTfpXoESOxF
--HG--
extra : rebase_source : d1db8909b1b075f885b08c86ebca7ef51fd250e0
2017-11-24 16:23:06 -05:00
Kartikaya Gupta
4f10904eb2
Bug 1418387 - Add missing tree lock. r=botond
...
This is follow-up to bug 1417519, to fix an incorrect change in that bug.
GetAPZCAtPointWR calls things like FindRootApzcForLayersId which require
the tree lock to be held, so we should hold it. It makes more sense to
hold the lock across the whole GetTargetAPZC function since we don't want
tree mutations to happen while we're in this function.
It also means we can't call GetTargetAPZC inside GetAPZCAtPointWR
because that will recursively try to pick up the tree lock; instead we
can use GetTargetNode and get the APZC from that.
MozReview-Commit-ID: 7ZXQMMes8hV
--HG--
extra : rebase_source : 1c9650e6fb720ef26daf63151cd1f6b144aa8ffb
2017-11-24 16:23:05 -05:00
Kartikaya Gupta
0fab36e756
Bug 1418387 - Propagate scrollbar direction for scrollbar containers to APZ. r=botond
...
Most of this patch is just mechanical changes, but note that this patch
now makes the mFlags in scrollbar-container nsDisplayOwnLayer instances
have one of the direction bits set. As a result, this requires changing
the implementation of nsDisplayOwnLayer::IsScrollThumbLayer().
MozReview-Commit-ID: 2BLdbpz5Sa8
--HG--
extra : rebase_source : 27e7d90ce60c7f702fe77d8a3a0f7e3ae3e4a4ff
2017-11-24 16:23:05 -05:00
Kartikaya Gupta
b799d00298
Bug 1418387 - Fix bugs that C++ should really catch for us. r=botond
...
MozReview-Commit-ID: EZWPBruZXdv
--HG--
extra : rebase_source : 89e2ed062dab713e6853be275fb248197c7ced03
2017-11-24 16:23:03 -05:00
sotaro
dff4491cb4
Bug 1391159 - Handle WebRender ProgramBinary usage r=nical
2017-11-24 20:58:24 +09:00
arthur.iakab
63f0034937
Merge mozilla central to inbound r=merge a=merge on a CLOSED TREE
2017-11-24 12:07:48 +02:00
arthur.iakab
dfc104159a
Merge inbound to central r=merge a=merge
2017-11-24 12:00:30 +02:00
sotaro
cfdcc07b34
Bug 1419307 - Make WebRenderAPI::~WebRenderAPI() fast r=nical
2017-11-24 18:34:50 +09:00
peter chang
f0d71f5a55
Bug 1418791 - Explicit free the resource of PersistentBufferProviderBasic, r=sotaro
...
MozReview-Commit-ID: JJXYkF5PR5K
--HG--
extra : rebase_source : 86217890ee8a6e5d26b1b26cc063d42c6793c903
2017-11-23 16:31:55 +08:00
Botond Ballo
42f0a3bac7
Bug 1420516 - Remove ScrollDirection::NONE. r=kats
...
ScrollDirection variables for which NONE was a valid value are replaced with
Maybe<ScrollDirection>.
I also took the opportunity to change the remaining ScrollDirection
enumerators to eTitleCase as per style guide.
MozReview-Commit-ID: GWejQR2HqH5
--HG--
extra : rebase_source : 6f8ad222caf73f9e02d772234f188eac4aac9301
2017-11-20 19:00:34 -05:00
sotaro
f9d17135d9
Bug 1418571 - Set SwapInterval to 0 with ANGLE r=jgilbert
2017-11-24 09:09:29 +09:00
Gurzau Raul
21905d169e
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
2017-11-24 00:38:13 +02:00
Tiberius Oros
da0a72a9d7
Merge inbound to mozilla-central r=merge a=merge
2017-11-24 00:28:29 +02:00
Jonathan Kew
af62b14db3
Bug 1403302 - patch 3 - Remove direct cairo dependency from gfxTextRun and gfxGlyphExtents. r=bas
2017-11-23 19:40:33 +00:00
Jonathan Kew
af9d8ad285
Bug 1403302 - patch 2 - Fix mixed-up glyph bounding box coordinates in ScaledFontDWrite::GetGlyphDesignMetrics. r=bas
2017-11-23 19:39:39 +00:00
Jonathan Kew
2643bb52e3
Bug 1403302 - patch 1 - Add missing return statement to ScaledFontBase::GetGlyphDesignMetrics, so that its cairo-based code path actually works. r=bas
2017-11-23 19:39:11 +00:00
Jonathan Kew
620b5d3c57
Bug 1419615 - Remove old synthetic-italic support from the GDI font code, so we don't double-slant text now that we have generic support in gfxFont. r=lsalzman
2017-11-23 19:38:17 +00:00
Kartikaya Gupta
e9fd0f40fe
Bug 1419440 - Update for API change in WR PR 2082. r=mstange
...
MozReview-Commit-ID: LA846SceCWX
--HG--
extra : rebase_source : 897b45d30d374be3df7d6ea025a2d27edad9776f
2017-11-23 09:40:00 -05:00
Dzmitry Malyshau
f32ca3183a
Bug 1419440 - Update for API changes in WR PR 2050. r=kats
...
MozReview-Commit-ID: 4TFZB8XpY6l
--HG--
extra : rebase_source : 31be31fa926dd9144378146fe8c1a3e47cb389aa
2017-11-23 09:39:42 -05:00
Kartikaya Gupta
230457d0d2
Bug 1419440 - Update webrender to commit b7b07562fda338fcb2faff66ce01aafb6235fbcf. r=mstange
...
MozReview-Commit-ID: F1WeQbL6Bhg
--HG--
extra : rebase_source : a92afa0d5268d23eb3b10ec378ac242afe1b7ad9
2017-11-23 09:38:38 -05:00
Emilio Cobos Álvarez
8f9ca35be9
Bug 1420170: Don't duplicate code for choosing a GLX context between ATI and WR. r=kats
...
MozReview-Commit-ID: DLvI8Zz7obD
--HG--
extra : rebase_source : 233b8a69fb039b096ec3a43d4296a60c8870271a
2017-11-23 15:46:59 +01:00
Markus Stange
0baac004bb
Bug 1417709 - Add -moz-appearance: -moz-mac-vibrant-titlebar-light/dark. r=emilio
...
MozReview-Commit-ID: 2PMe8KTt5Wl
--HG--
extra : rebase_source : 58ed83f4a18ca83a9829ba2c27633e17fcbd6e63
2017-11-16 11:36:22 -05:00
Gurzau Raul
7d49983b86
Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE
2017-11-24 00:36:16 +02:00
Lee Salzman
b518aa7ee2
Bug 1420275
- Cherry-pick WR PR 2094 to fix frequent crasher. r=kats
...
MozReview-Commit-ID: EMczYB1JzlF
--HG--
extra : rebase_source : 913341ae667d1019c5d85e0988015ce5e88b0148
2017-11-23 16:23:04 -05:00