peter chang
84df6e8c7e
Bug 1363830 - use previous frame time when advancing animations, r=kats
...
MozReview-Commit-ID: CqKOguZXnF9
--HG--
extra : rebase_source : b1ba85d20978fe5e7853a07065df7e3626c4a482
2017-06-29 13:44:00 -07:00
Kartikaya Gupta
4b9801e41b
Bug 1359808 - Don't do empty transactions for scroll updates if there are already pending transforms in the layer tree. r=mstange
...
The pending transforms must have been computed using the older scroll offset
values, which means that updating the scroll offsets without recomputing the
transforms will make them wrong. If we do an empty transaction for the scroll
offset updates, the transforms will not get computed. This patch catches this
scenario and schedules a full paint instead of the empty transaction instead.
The case where the scroll offset is modified *before* the transform is already
handled by code in nsIFrame::TryUpdateTransformOnly.
MozReview-Commit-ID: I5s5J7BS1ru
--HG--
extra : rebase_source : 63fec656440c8bee322f069a4466a311ebcd0f7d
2017-07-12 11:14:11 -04:00
Samael Wang
e90e4d4b15
Bug 1350643 - Part 7: Remove sync GetDPI/DefaultScale/WidgetRounding. Use primary screen's value until RecvShow. r=kanru
...
MozReview-Commit-ID: GlDMNecWp3j
--HG--
extra : rebase_source : 1f8573df8845c100172f41febc5a84bbcd069769
2017-05-19 18:20:18 +08:00
Samael Wang
c9d2b57f92
Bug 1350643 - Part 1: Rename gfxPlatformGtk::GetDPI/GetDPIScale to GetFontScaleDPI/GetFontScaleFactor to better distinguish from nsIWidget::GetDPI. r=karlt
...
MozReview-Commit-ID: 4fxMG1FBlM8
--HG--
extra : rebase_source : 767780c828b2a9914b5f3af3c2749568099bece1
2017-06-14 16:54:21 +08:00
Sebastian Hengst
4b1e562ea7
merge mozilla-central to autoland. r=merge a=merge
2017-07-20 10:57:40 +02:00
sotaro
200cae20a8
Bug 1382091 - Delete ImageKeys with ClearCachedResources r=nical
2017-07-20 10:30:31 +09:00
Chih-Yi Leu
47a2617b3f
Bug 1381378: Refactor - Isolate gamepad index and GamepadServiceType from GamepadChangeEvent; r=daoshengmu
...
MozReview-Commit-ID: IFjvDsl6vlY
--HG--
extra : rebase_source : 2b9add020e182acb03c01bd5c55742dc7860625d
2017-07-17 11:44:39 +08:00
Wes Kocher
b5bcc4905e
Merge inbound to central, a=merge CLOSED TREE
...
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Ryan Hunt
f116107a57
Bug 1379280 - Only do async keyboard scrolling for a selection, not a focused element. r=smaug
...
This commit changes async keyboard scrolling to be enabled only if the content to
scroll is from a selection. This works around the problem of detecting whether
an arbitrary element has key listeners that should prevent async key scrolling,
because when they have the focus we will have disabled async key scrolling.
MozReview-Commit-ID: 6HhSuGZNsMX
--HG--
extra : rebase_source : 98a6449dd1e913136ca66532a67df8e0bb717e52
2017-07-13 15:53:26 -05:00
Ryan Hunt
522bc76415
Bug 1382128 part 8 - Remove Wr prefix from some type aliases. r=kats
...
MozReview-Commit-ID: 5h7QobhcYc1
--HG--
extra : rebase_source : 34d6636b6c3726ccc21b105f05227e27f84e63c9
2017-07-19 03:28:58 -04:00
Ryan Hunt
e06d502736
Bug 1382128 part 7 - Organize types in webrender_bindings. r=kats
...
This commit organizes the structs in bindings.rs to be sorted by similarity.
MozReview-Commit-ID: KIskAwDiJIc
--HG--
extra : rebase_source : 2854f8d7f3a60fee6e2136db6b1a91c9c7dc0e24
2017-07-19 02:54:10 -04:00
Ryan Hunt
d9bbfee6e2
Bug 1382128 part 6 - Remove WrBorderSides, WrBorderRadius, WrBorderWidths, WrNinePatchDescriptors. r=kats
...
MozReview-Commit-ID: 7YkHoNs64T9
--HG--
extra : rebase_source : f6f29cea6753d95857b0d65ae97faed1ed306f10
2017-07-19 01:56:20 -04:00
Ryan Hunt
c013220860
Bug 1382128 part 5 - Remove WrGradientStop and WrGradientExtendMode. r=kats
...
MozReview-Commit-ID: 47Rb5jUpCFX
--HG--
extra : rebase_source : 6b4d3e6193b08bc978751921d12a0bb37a60c927
2017-07-19 01:47:07 -04:00
Ryan Hunt
f082c1791e
Bug 1382128 part 4 - Remove WrGlyphInstance. r=kats
...
MozReview-Commit-ID: 2CpW51FKUoK
--HG--
extra : rebase_source : d24e596dbd1a114d660e0b0ec1657f3efc11965d
2017-07-18 18:53:09 -04:00
Ryan Hunt
9b7f455eef
Bug 1382128 part 3 - Rename WrByteSlice to ByteSlice. r=kats
...
MozReview-Commit-ID: 4jOsyvwxKrq
--HG--
extra : rebase_source : b40f6aac20087f805366f2f304fb8d45072b936a
2017-07-18 18:35:52 -04:00
Ryan Hunt
017d292cac
Bug 1382128 part 2 - Remove WrPoint, WrSize, WrRect, WrMatrix, and WrColor. r=kats
...
MozReview-Commit-ID: 9koNScu4CyE
--HG--
extra : rebase_source : 68185e949ddf2ae346a5d597d056a7f2d9ea7a28
2017-07-18 18:32:46 -04:00
Kartikaya Gupta
78a69a5578
Bug 1382200 - Eliminate LayerMetricsWrapper::IsScrollInfoLayer entirely by inlining it. r=botond
...
MozReview-Commit-ID: KX35cjOAQw7
--HG--
extra : rebase_source : 2e451ce0250ec17fc7f1a642e5a8a341c073105d
2017-07-19 09:24:28 -04:00
Kartikaya Gupta
4dfe8eadc0
Bug 1382200 - Change implementation of the LayerMetricsWrapper IsScrollInfoLayer to use the metrics flag. r=botond
...
This also updates the WebRenderScrollDataWrapper function as it is meant
to be semantically equivalent to the LayerMetricsWrapper one, which
allows removal of a flag propagation.
MozReview-Commit-ID: 9DBx4qbhq5A
--HG--
extra : rebase_source : 3201d8a4bb7192ecdbe95983b605ac53b1a28c50
2017-07-19 09:24:24 -04:00
Kartikaya Gupta
1147b9727c
Bug 1382200 - Rename Layer::IsScrollInfoLayer to better capture what the call sites care about. r=botond
...
MozReview-Commit-ID: 1vMBMo5zOhK
--HG--
extra : rebase_source : c7f7e94c87c177cc244885912a916133a7cbfbd3
2017-07-19 09:24:22 -04:00
Ryan Hunt
3f3cb0a954
Bug 1382128 part 1 - Use a namespace in webrender_bindings. r=kats
...
MozReview-Commit-ID: 3JTMa9Ix5S7
--HG--
extra : rebase_source : 0bea14d9e395cab260d2db5135b1f64e9f82b2e2
2017-06-27 19:20:36 -04:00
Honza Bambas
8f8eed7be6
Bug 1378375 - Kill switch preference for image network request prioritization according layout position. r=tnikkel
2017-07-14 09:26:00 -04:00
Kevin Chen
91dc0db35c
Bug 1364563 - Add a path for content process only device reset. r=dvander
2017-07-18 23:09:00 -04:00
Ryan VanderMeulen
0cfb1d8460
Merge inbound to m-c. a=merge
...
CLOSED TREE
2017-07-19 10:00:35 -04:00
Sebastian Hengst
36e308b1fc
Backed out changeset 6e571ab7b558 (bug 1382104) for asserting at dom/canvas/WebGLContextUtils.cpp:714 in browser-chrome tests and failing GTest's Gfx.CompositorSimpleTree. r=backout
2017-07-19 09:53:13 +02:00
Jeff Gilbert
c8d4e41e8d
Bug 1382104 - Remove internal-vs-user FB bindings. - r=daoshengmu
...
MozReview-Commit-ID: 1lZouQUnaDl
2017-07-18 22:52:25 -07:00
Ehsan Akhgari
6bc10c105a
Backout changeset bc5d9e5f1c02 (bug 1364563) because of build failures
...
This reverts commit a5224fd3910ee5116669728fcd5b154e051371fd.
2017-07-19 00:27:36 -04:00
David Anderson
7db58ae2a1
Flush async paints before revoking device singletons. (bug 1380922 part 3, r=mchang)
...
--HG--
extra : rebase_source : 34d90c80b8cc99d0679db03cf2ac1ca21ffbc5d3
2017-07-18 12:16:13 -07:00
David Anderson
d91f1ac58c
Protect D2D singletons with a mutex. (bug 1380922 part 2, r=mchang)
...
--HG--
extra : rebase_source : f261e84d8d6a9ef7d153b04d447f9edb36a77dde
2017-07-18 12:15:44 -07:00
David Anderson
e53986168f
Store and return D2D singletons in RefPtrs. (bug 1380922 part 1, r=mchang)
...
--HG--
extra : rebase_source : baf7cce201a38897f1f9dcbd7c36855ff070217b
2017-07-18 12:15:39 -07:00
Kevin Chen
563c00da4d
Bug 1364563 - Add a path for content process only device reset. r=dvander
2017-07-17 00:13:00 -04:00
Dominic Farolino
c3f7031cd8
Bug 1379813 - Annotate crash reports with the number of times the GPU process has been launched. r=dvander
2017-07-13 13:27:00 -04:00
sotaro
7ceccd46b7
Bug 1378697 - Release resources in WebRenderXXXLayer::ClearCachedResources() r=nical
2017-07-18 22:37:36 +09:00
Andrew Osmond
094c212d54
Bug 1350408 - Gracefully handle failures in WebRenderLayerManager::Initialize to allow reinit. r=kats
2017-07-18 09:35:07 -04:00
sotaro
602705a552
Bug 1372083 - Do not compare depth in attachmentsHaveSameDimensions() r=jgilbert
2017-07-18 19:25:29 +09:00
Daosheng Mu
3980ed0fd6
Bug 1375816 - Part 4: VRController displayId attribute testcase; r=kip
...
MozReview-Commit-ID: KkMXsTDRnQO
--HG--
extra : rebase_source : 1bb85ecddfea7695ec310d19a1f4f1f05543a4d6
2017-07-14 17:08:15 +08:00
Daosheng Mu
50f04ed171
Bug 1375816 - Part 3: VRController displayId attribute support; r=kip
...
MozReview-Commit-ID: CfWCYJuZaBK
--HG--
extra : rebase_source : faa7a409d619d7618784e1d80358b59625dc87e6
2017-07-14 17:01:09 +08:00
Jeff Muizelaar
efcfc87c0e
Bug 1381483 - Remove 'using namespace std' from RecordedEventImpl.h r=lsalzman
...
We don't want to have 'using' statements in headers.
2017-07-17 14:54:50 -04:00
Kris Maglione
86877fceef
Bug 1381097: Part 1 - Add default-false pref to enable APZ in remote popups. r=kats
...
Ideally, we definitely want APZ in remote popup browsers for the sake of
responsiveness. However, there are currently some serious painting and
checkerboarding issues that make APZ popups unsuitable for release
populations.
Once these issues are addressed, we should enable the preference by default.
But given the relative lack of testing, and the issues we've seen so far, we
should keep the preference so that we can disable it with a hotfix if further
issues arise.
MozReview-Commit-ID: GOZRdsmLNZR
--HG--
extra : rebase_source : ce0f2ca029d951a9c65ec1482e065b6695793133
2017-07-15 12:01:36 -07:00
Samuel Vargas
cf725b7488
Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert
2017-07-13 14:26:00 -04:00
Sebastian Hengst
0c7a679780
Backed out changeset e4dc716c401c (bug 1377595) on suspicion of causing reftest failures on Android "(waiting for MozAfterPaint)". r=backout
2017-07-17 17:48:13 +02:00
Sebastian Hengst
d85c6458d8
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-07-17 14:08:27 +02:00
Sebastian Hengst
a6560aed66
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: qyo4rHNUlV
2017-07-17 14:06:13 +02:00
Nicolas Silva
f6e8232b40
Bug 1377595 - Track the valid region in WebRenderPaintedLayer. r=jrmuizel
2017-07-17 13:49:11 +02:00
Nicolas Silva
c81891b82b
Bug 1377595 - Avoid using blob images for items that must be painted on the content side. r=jnicol
...
This patch allows us to decide whether to use blob images depending on a MustPaintOnContentSide flag exposed by each display item. If any of the display item assigned to a given painted layer data have this flag, then the painted layer data is marked as preferring content side painting and the webrender layer manager uses this information to decide whether to create a regular content layer or serialize the drawing commands with blob image. This is useful for items that must be painted on the content side such as scroll bars, checkboxes, buttons, etc. Using blob images for these makes us first paint the widget on the content side, then serialize the painted pixels and blit the content again in the blob image which has a lot more overhead than painting the content into a layer and sharing it with webrender directly.
2017-07-17 13:49:07 +02:00
vincentliu
2bf7875f86
Bug 1367689
- Add a preference to make Wrench work with Gecko. r=jrmuize, jerry
2017-07-17 13:38:22 +08:00
Sebastian Hengst
ea10928fd7
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-07-15 16:36:54 +02:00
Sebastian Hengst
186c6d7165
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Kr2w3UdA0p9
2017-07-15 16:34:47 +02:00
Sebastian Hengst
63b01adae7
Backed out changeset 2769266d412a (bug 1368120) for frequently first reftest run, e.g. 507187-1.html. r=backout a=backout
...
MozReview-Commit-ID: Kal72wBzxeD
2017-07-15 16:25:59 +02:00
Andrew Osmond
7d1a4b1e31
Bug 1377869 - Ensure that CompositorManagerChild will be reinitialized if the GPU process reuses its PID. r=dvander
2017-07-15 09:13:18 -04:00
Andrew Osmond
b306aa3fb2
Bug 1380716 - Reinitialize ImageContainer::mImageClient if its parent ImageBridgeChild was also reinitialized. r=sotaro
2017-07-15 07:52:02 -04:00