Commit Graph

1423 Commits

Author SHA1 Message Date
Michael Layzell
e4431d5605 Bug 1338241 - Part 2: Simplify the in large allocation process logic, r=smaug
MozReview-Commit-ID: 6aF2wlLgy42
2017-02-17 12:00:45 -05:00
Nicolas Silva
1819922f47 Bug 1335799 - Update WR layers and FFI/bindings code for the webrender update. r=jrmuizel
MozReview-Commit-ID: Hv3MwSr97Op
2017-02-14 13:34:15 -05:00
Bill McCloskey
f79edeabc9 Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Wes Kocher
48fcd00012 Backed out 5 changesets (bug 1338172) for linux crashtest failures a=backout
Backed out changeset 9ee6c6f4e59c (bug 1338172)
Backed out changeset 1c92fbfca20a (bug 1338172)
Backed out changeset 907d9c3d1043 (bug 1338172)
Backed out changeset e4994ab9d628 (bug 1338172)
Backed out changeset 6209f07e1f26 (bug 1338172)

MozReview-Commit-ID: 3f4xBRcGPqM
2017-02-14 14:31:54 -08:00
Benjamin Smedberg
a46c9d69c4 Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm
MozReview-Commit-ID: J6E8sYcyX4U
2017-02-09 11:53:50 -05:00
Ryan Hunt
b101f2272c Merge m-c to graphics 2017-02-07 09:05:18 +00:00
Brad Lassey
c91080f3e8 bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
Kartikaya Gupta
bf02e9ff78 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Kartikaya Gupta
f58b24290d Bug 1334931 - Ensure we initialize content-process APZ machinery for the webrender case. r=dvander
MozReview-Commit-ID: LA3I92pgxLe
2017-01-31 09:46:32 -05:00
Kartikaya Gupta
b3b8774765 Merge m-c to graphics
MozReview-Commit-ID: 7PVyxahE0p6
2017-01-31 09:04:18 -05:00
Michael Layzell
879a0e1bed Bug 1334210 - Handle Large-Allocation process exhaustion more smoothly, r=ehsan
MozReview-Commit-ID: KxnFTSXxWVi
2017-01-31 14:08:20 -05:00
Michael Layzell
b819556959 Bug 1332343 - Fix browser_largeAllocation.js in multi-e10s, r=smaug
MozReview-Commit-ID: EdNYf1saOI0
2017-01-31 14:08:20 -05:00
Ryan Hunt
b60d405ff9 Merge m-c to graphics 2017-01-27 10:07:37 -06:00
Kartikaya Gupta
5c508e0b98 Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Kartikaya Gupta
8199d384b7 Bug 1333892 - Remove unused IPC message leftover from B2G days. r=kanru
MozReview-Commit-ID: 2qBq6WjzbcO
2017-01-25 16:21:12 -05:00
Kartikaya Gupta
ff803d6905 Merge m-c to graphics
MozReview-Commit-ID: bxs3Qj28c5
2017-01-24 08:05:30 -05:00
Kartikaya Gupta
1b1d888dd1 Bug 1333122 - Use the CompositorOptions to determine the appropriate LayerManager to create for content-process tabs. r=dvander
MozReview-Commit-ID: AhEpuPa2heV
2017-01-24 08:03:08 -05:00
Kartikaya Gupta
05ab5e41a7 Merge m-c to graphics
MozReview-Commit-ID: Gds3AlDHXgY
2017-01-20 10:07:40 -05:00
Kartikaya Gupta
9a7910698c Bug 1322633 - Don't initialize APZ protocols unless PLayerTransaction was successfully set up. r=dvander
MozReview-Commit-ID: Ja8TsCeGZ9
2017-01-30 10:05:43 -05:00
Kartikaya Gupta
cd6737c05f Merge m-c to graphics
MozReview-Commit-ID: D0L4I5rdVli
2017-01-19 10:43:00 -05:00
Kartikaya Gupta
62ce806cab Merge m-c to graphics
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Kartikaya Gupta
b0662dc714 Merge m-c to graphics
MozReview-Commit-ID: KzmBdQoXRRI
2017-01-17 09:01:06 -05:00
Kartikaya Gupta
b365df1e72 Bug 1331988 - Don't provide DPI and related values until the TabChild has received the the ShowInfo, to avoid doing sync IPC. r=dvander
In bug 1331509, mRemoteFrame started getting populated earlier, while the DPI
and default scale values remained unpopulated until RecvShow was called. This
opened a small window where calling TabChild::GetDPI (and GetDefaultScale) would
result in a sync IPC message where previously it would just return -1. This
restores the original behaviour and elimintes the perf regression from the
sync IPC.

MozReview-Commit-ID: AikQmZjVHc9
2017-01-23 12:03:53 -05:00
Kartikaya Gupta
8975e03aba Back out 4 csets from bug 1326421 because of various test failures. r=backout 2017-01-13 17:07:59 -05:00
Kartikaya Gupta
f2b699010f Bug 1326421 - Have content processes create WebRenderLayerManagers if and only if the compositor being used is WebRender. r=dvander
Also guard against a scenario where RecvDocShellIsActive gets called before
we have the layers id for the tab. Because we need to have the compositor
options (which requires knowing the layers id) before we can create the layer
manager, we need to avoid calling GetLayerManager() before we have the options.

MozReview-Commit-ID: 1MKdhvUJobD
2017-01-13 15:16:52 -05:00
Ryan Hunt
3987a44ddb Merge m-c to graphics 2017-01-13 10:14:22 -06:00
Phil Ringnalda
70771ea7b7 Merge m-i to m-c, a=merge 2017-01-24 18:53:29 -08:00
David Anderson
94fb0ef50b Ignore paints when a content device reset has not yet been acknowledged. (bug 1333329 part 3, r=rhunt) 2017-01-24 11:23:12 -08:00
Andrew McCreight
f3f21b71cd Bug 1331743 - Create CrossProcessCpowHolder even if there is no message manager. r=smaug
MozReview-Commit-ID: AtRfKQCHofe
2017-01-17 11:00:38 -08:00
Markus Stange
96258d1927 Bug 1331402 - Update plugins' clipRects when hiding a tab. r=jimm,mattwoodrow
In non-e10s, all tabs of a window would share one nsRootPresContext. When
switching tabs, the tab switch paint would trigger a call to
nsRootPresContext::ComputePluginGeometryUpdates, which would call
SetEmptyWidgetConfiguration on all registered nsPluginFrames, notably also
those inside the tab that was hidden.

With e10s, every tab has its own nsRootPresContext, and paints in one tab do
not trigger calls to nsRootPresContext::ComputePluginGeometryUpdates on the
root pres contexts of other tabs. So when painting the new tab, the registered
plugin frames in the old tab were not notified that they were now hidden.
This patch now does that in TabChild::MakeHidden.

MozReview-Commit-ID: LlW9dKKFqZE
2017-01-17 18:07:05 +01:00
Ryan VanderMeulen
8d1ee918ca Merge autoland to m-c. a=merge 2017-01-18 09:24:55 -05:00
Ben Kelly
84612f8a3b Bug 1331193 P2 Don't leave TabChild in inconsistent state if init fails. r=billm 2017-01-17 16:28:40 -08:00
Ben Kelly
49454d31c8 Bug 1331193 Make TabChild handle a nullptr mMessageManager. r=smaug 2017-01-17 16:28:39 -08:00
Kartikaya Gupta
7fad4e88c5 Bug 1330037 - Propagate the CompositorOptions over to TabChild and keep a copy there. r=dvander
MozReview-Commit-ID: IQSm5cHkW4z
2017-01-12 17:29:41 -05:00
Phil Ringnalda
0a5365affd Merge m-c to m-i 2017-01-16 14:50:05 -08:00
Phil Ringnalda
f9ce9768cb Merge m-i to m-c, a=merge 2017-01-16 13:18:17 -08:00
Kartikaya Gupta
f81bebe04a Bug 1331380 - Remove unused kDefaultViewportSize. r=botond
MozReview-Commit-ID: 80gkw0BUErW
2017-01-16 10:25:35 -05:00
Olli Pettay
471b8b0ac3 Bug 1330252, try to avoid flooding child process with repeated key events, r=masayuki 2017-01-16 11:29:37 +02:00
Kartikaya Gupta
9bd5398b27 Merge m-c to graphics
MozReview-Commit-ID: 74RpKOFNVx4
2017-01-05 09:28:19 -05:00
Kartikaya Gupta
70e5d37aaa Merge m-c to graphics
MozReview-Commit-ID: GuKJhfxDhij
2017-01-04 10:53:15 -05:00
Morris Tseng
565444eb81 Merge m-c to graphics. 2016-12-29 18:26:24 +08:00
Masayuki Nakano
9f497a91cb Bug 1332195 part.2 Fix some nits of event handlers in TabChild, TabParent and PuppetWidget r=smaug
This patch fixes:

* some long lines
* some odd indent
* wrapping one line blocks with {}
* removing B2G specific block

in event handlers in TabChild, TabParent and PuppetWidget.

MozReview-Commit-ID: 6xMsNEDA5nv
2017-01-19 17:57:20 +09:00
Masayuki Nakano
409a8ad618 Bug 1332195 part.1 Event handlers in TabChild, TabParent and PuppetWidget should use "a" prefix for their arguments r=smaug
MozReview-Commit-ID: 2c7cbOigwfU
2017-01-19 17:27:15 +09:00
Botond Ballo
f846c3557d Bug 1326290 - Correct sequencing of layer transaction and StartAsyncScrollbarDrag messages. r=kats
In cases where a mouse click that starts a scrollbar drag is also what
layerizes the scroll frame, the StartAsyncScrollbarDrag message needs to
arrive after the layer transaction. This patch ensures it does.

MozReview-Commit-ID: A02qRb6yWxg
2017-01-04 13:42:36 -05:00
Kartikaya Gupta
10b17b0728 Merge m-c to graphics
MozReview-Commit-ID: EVRgJB0urSI
2016-12-27 09:33:52 -05:00
Kartikaya Gupta
3050106083 Merge m-c to graphics
MozReview-Commit-ID: 6XqNGxF5EiQ
2016-12-23 10:14:44 -05:00
Kartikaya Gupta
26f427122c Merge m-c to graphics
MozReview-Commit-ID: E0Sr26LKcZx
2016-12-21 10:16:15 -05:00
Ho-Pang
01ad6dda9d Bug 1299209 - Part 1: Passing PointerId when a new WidgetMouseEvent is created. h=sshih, r=smaug 2016-12-20 22:53:00 -05:00
Olli Pettay
3898f7d882 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8 2017-01-03 21:47:55 +02:00
Kartikaya Gupta
93a684c568 Merge m-c to graphics
MozReview-Commit-ID: D5tvjU423oT
2016-12-16 10:23:35 -05:00