Commit Graph

28509 Commits

Author SHA1 Message Date
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
Kartikaya Gupta
86ac46d3f7 Bug 1412112 - Cache the view id on the ASR to speed up the ViewIDForASR operation. r=mstange
This also moves the function from nsLayoutUtils to be a function on the
ASR itself, which seems more appropriate.

MozReview-Commit-ID: 88lUmYi80P0

--HG--
extra : rebase_source : 3f7e4f875c3267f9f4c5c67e720912ceedb25719
2017-11-23 12:22:22 -05:00
Kartikaya Gupta
f3a3381969 Bug 1420218 - Fix copy/paste error. r=mstange
MozReview-Commit-ID: BVwciN6L8wq

--HG--
extra : rebase_source : a4d4ade504ee1d4dd9778a7d1528c6b62517225a
2017-11-23 12:13:28 -05:00
Cosmin Sabou
a5d613086a Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-23 11:42:46 +02:00
Phil Ringnalda
f12ca11346 Backed out 3 changesets (bug 1407423) for Android permaorange in test_vrDisplay_getFrameData.html
Backed out changeset b9dbe5af9a06 (bug 1407423)
Backed out changeset 16d247b8091d (bug 1407423)
Backed out changeset 2b625d265761 (bug 1407423)

MozReview-Commit-ID: 6clRbH1Hodr
2017-11-22 18:15:10 -08:00
Margareta Eliza Balazs
2cb7aeff33 Backed out 5 changesets (bug 1417709) for failing X in devtools/shared/tests/unit/test_css-properties-db.js r=backout on a CLOSED TREE
Backed out changeset 5670c9582add (bug 1417709)
Backed out changeset 50f0febe43a0 (bug 1417709)
Backed out changeset 29e6c0d82193 (bug 1417709)
Backed out changeset e3a6c5b74595 (bug 1417709)
Backed out changeset a0fe569c86c0 (bug 1417709)
2017-11-23 01:17:07 +02:00
Kartikaya Gupta
b7c06e062c Bug 1419926 - Remove virtual keyword from functions that already have override. r=mattwoodrow
The style guide (and linting tool) check for this, and these headers
have so many functions that it's better to just do a wholesale
conversion than to keep adding things and making the files more
inconsistent over time.

MozReview-Commit-ID: 1SFQv15bIxi

--HG--
extra : rebase_source : 177836ff47031d88da3682834ca96210e75f3f07
2017-11-22 16:05:10 -05:00
shindli
a0b20fcb81 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-22 23:42:02 +02:00
Lee Salzman
894f5cc99e Bug 1224396 - Skia path allocation cleanups. r=msreckovic
MozReview-Commit-ID: GAf2vC1Fucv
2017-11-22 12:19:29 -05:00
Kartikaya Gupta
886598770a Bug 1418374 - Follow-up to ensure cbindgen generates the != operator for ImageKey. r=me and DONTBUILD
MozReview-Commit-ID: G2OygQ4wdSE
2017-11-22 09:16:57 -05:00
shindli
fb855aa7ba Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Kearwood Gilbert
988f5806a2 Bug 1407423 - Part 3: Update Puppet Device Implementation,r=daoshengmu
- Update prefs to accomodate tests, disabling
  enumeration throttling
- Updated Puppet display and controller implementation
  to act more like the actual devices.
- Updated tests to ensure that they explicitly
  create a VR mock display and don't create duplicate
  mock displays.

MozReview-Commit-ID: 6RPVqekG2je

--HG--
extra : rebase_source : b5852a17617e26ed5fd5e0df82a333213e99163b
extra : amend_source : 623b75bc096f6e50a122351a5a913cb04422d323
2017-11-21 14:18:16 -08:00
Kearwood "Kip" Gilbert
6230261aac Bug 1407423 - Part 2: Update gfxVRGVR to match refactoring,r=rbarker
MozReview-Commit-ID: DmKnEZanQ3f

--HG--
extra : rebase_source : d2e0e0d9df4b6a9fa5cba948de1df008ccb83d4f
extra : amend_source : 54bcc89fb6183a7c320f034de1f39d9737af04b9
2017-11-14 10:42:46 -08:00
Kearwood "Kip" Gilbert
7e7cb086d3 Bug 1407423 - Ensure that any time we have loaded the Oculus runtime libary, we are polling ShouldQuit,r=daoshengmu
- Ensure ovr_GetSessionStatus is polled even when a VR presentation
  is not active.
- When we fail to initialize an Oculus Session or detect VR hardware,
  immediately unload the Oculus Library as we can't poll for ShouldQuit
  without a valid Oculus session.
- When we poll ovr_GetSessionStatus, we are now updating the mounted state
  in VRDisplayInfo::mIsMounted.
- Added prefs to control enumeration throttling and timeout to release
  VR hardware when inactive.
- Some refactoring to make frame loop more understandable and less
  brittle.
- When throttling enumeration, we ensure that all other VR apis
  also throttle enumeration so that they don't pick up the same device
  during throttling.
- Some long functions in VRManager have been broken up and
  had their inner-workings documented in more detail.

MozReview-Commit-ID: CEYwwQ9mYd0

--HG--
extra : rebase_source : b82cd9f200e6311528d4bed469d1b8044e9fc7f2
extra : amend_source : e74f56f5ec95641fd478deb71d6c7ba5d2cba7b1
2017-10-10 14:42:37 -07:00
Gabriele Svelto
9a1d2f50d2 Bug 1402519 - Remove MOZ_CRASHREPORTER directives from gfx; r=jrmuizel
MozReview-Commit-ID: 7S8AJ18cCx0

--HG--
extra : rebase_source : 983387883dd0feabf8e4e6b1b7335403645470af
2017-10-10 15:11:07 +02:00
Gabriele Svelto
6fc7fdc557 Bug 1402519 - Remove MOZ_CRASHREPORTER directives from gfx; r=jrmuizel
MozReview-Commit-ID: 7S8AJ18cCx0

--HG--
extra : rebase_source : 5fb4dbbd0416adeaf1796845e808b053ed029de4
2017-10-10 15:11:07 +02:00
James Willcox
e07d13a4a6 Bug 1413500 - Disable video surface readback (for page thumbnail) on Android r=jgilbert
MozReview-Commit-ID: IDGl7OzBY82
2017-11-22 12:28:15 -06:00