Commit Graph

483 Commits

Author SHA1 Message Date
Kartikaya Gupta
961e3cdbf2 Merge m-c to graphics
MozReview-Commit-ID: GdyXEYZsVuX
2017-04-25 08:32:48 -04:00
Kartikaya Gupta
3af8d29cef Merge m-c to graphics
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
Kartikaya Gupta
c81904537b Bug 1357754 - Add ScrollDirection IPC serialization code. r=botond
In the next patch we'll need to send ScrollDirection over IPDL so we
need to add serialization code for it.

MozReview-Commit-ID: HK8ibuhhnkS
2017-04-20 10:38:05 -04:00
Iris Hsiao
ee4dc0a75c Merge mozilla-central to autoland 2017-04-25 11:28:40 +08:00
David Parks
1ff69a3298 Bug 1347710 - Enable sandbox protections for the Windows GPU process. r=bobowen
The sandbox works with levels.  The GPU sandbox level defaults to 1 in all builds.  It is controlled by security.sandbox.gpu.level.
2017-04-24 09:46:09 -07:00
Kartikaya Gupta
a1df68e319 Merge m-c to graphics
MozReview-Commit-ID: 7iqIrSl2VpU
2017-04-15 17:05:27 -04:00
Sebastian Hengst
a1e759a614 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
sotaro
111d213410 Bug 1356190 - Fix GetNextExternalImageId() r=jrmuizel 2017-04-14 17:06:09 +09:00
Wes Kocher
15e788d2f7 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Markus Stange
85eb6f4cac Bug 1321617 - Tell the CrossProcessProfilerController whether a profile is a response to a GatherProfile request or whether it was sent because the process was exiting. r=mconley
MozReview-Commit-ID: BLkaeZqtRhv
2017-04-12 16:44:31 -04:00
Jay Harris
86ba6810a2 Bug 1338011 - Adds some telemetry probes - f=bsmedberg r=gerald
MozReview-Commit-ID: BmwEjBiCBNo
2017-04-15 09:36:42 +12:00
Jay Harris
315fc078db Bug 1338011 - Adds an intermediate fallback when the GPU process crashes - r=gerald
MozReview-Commit-ID: 9x1ckaWagcE
2017-04-15 09:34:01 +12:00
Botond Ballo
7712d26767 Bug 1355374 - Use the AsyncDragMetrics to communicate the scroll thumb length to APZ. r=mstange
MozReview-Commit-ID: DJUKr4s9nWQ
2017-04-21 13:57:11 -04:00
Bill McCloskey
5162531982 Bug 1349699 - Close GPU channel unconditionally (r=dvander)
MozReview-Commit-ID: 4Ge2ib9p1i
2017-04-11 13:15:05 -07:00
Gerald Squelart
4721e073a4 Bug 1337063 - Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander
MozReview-Commit-ID: IWCgL9aCusW
2017-04-12 09:37:35 +12:00
Kevin Chen
5b7fdfdec0 Bug 1352376 - Update device data while processing device reset; r=dvander
MozReview-Commit-ID: 9sqdRhsX5HU
2017-04-05 15:17:36 +08:00
Kartikaya Gupta
eeb5724c1f Bug 1350638 - Remove sync GetCompositorOptions call added in the last patch. r=dvander
This call should be a no-op in the real world, and should be safe to
remove. The patch also adds an assert to ensure that the call is
effectively a no-op.

MozReview-Commit-ID: BXdcnHULWW2
2017-04-09 17:31:06 -04:00
Kartikaya Gupta
1bcda612ce Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander
The goal of this patch is to remove the call to the sync IPC
GetCompositorOptions message from TabChild::InitRenderingState. In order
to this, we have InitRenderingState take the CompositorOptions as an
argument instead, and propagate that backwards through the call sites.
Eventually we can propagate it back to a set of already-sync IPC
messages in PCompositorBridge that are used during layers id
registration (NotifyChildCreated, NotifyChildRecreated, etc.). Therefore
this patch effectively piggybacks the CompositorOptions sync IPC onto
these pre-existing sync IPC messages.

The one exception is when we propagate it back to the AdoptChild call.
If this message were sync we could just use it like the others and have
it return a CompositorOptions. However, it is async, so instead we add
another call to GetCompositorOptions here temporarily. This will be
removed in the next patch.

MozReview-Commit-ID: AtdYOuXmHu4
2017-04-09 17:30:27 -04:00
David Anderson
61fb14fc06 Fix a race condition between VideoBridge and Compositor thread shutdown. (bug 1356365, r=mattwoodrow) 2017-04-20 19:32:48 -07:00
Randall Barker
c955f482b1 Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats
This version of the Dynamic Toolbar moves the animation of the toolbar
from the Android UI thread to the compositor thread. All animation for
showing and hiding the toolbar are done with the compositor and a static
snapshot of the real toolbar.

MozReview-Commit-ID: BCe8zpbkWQt
2017-04-20 15:15:14 -07:00
David Anderson
012aa74dea Don't synchronously send the initial layer tree mapping list to the GPU process. (bug 1350660 part 2, r=rhunt) 2017-04-03 15:13:38 -07:00
David Anderson
d4e994a584 When using the GPU process, combine layer ownership and window mapping into a single IPC message. (bug 1350660 part 1, r=rhunt, r=billm) 2017-04-03 15:13:37 -07:00
David Anderson
5bb767a38a Add crash reporter annotations for the GPU process status. (bug 1343650, r=billm) 2017-04-03 15:11:27 -07:00
Markus Stange
d11ef7d56d Bug 1352237 - Fix a rebasing mistake so that we actually get profiles from the GPU process. r=dvander
MozReview-Commit-ID: A7SdPTl6rQ
2017-03-30 17:58:25 -04:00
vincentliu
86bec960b0 Bug 1314543 - Make EnsureGPUReady() returns bool to make sure GPU process is readay. r=dvander 2017-03-30 09:23:24 +08:00
Sotaro Ikeda
acabeeda91 Bug 1323316 - Use ANGLE for WebRender on Windows. r=jrmuizel,kats
MozReview-Commit-ID: Fg5GEWNRtIu
2017-03-29 10:14:19 -04:00
Markus Stange
20de405cb8 Bug 1321907 - Hook up the GPU process to the profiler. r=dvander
MozReview-Commit-ID: 8Xq3FPprAF8
2017-03-21 19:39:13 -04:00
David Anderson
80fa3494e1 Remove references to the Direct3D9 compositor. (bug 1318558 part 1, r=mattwoodrow) 2017-03-08 00:17:36 -08:00
Georg Fritzsche
3b75819ee9 Bug 1313326 - Part 1 - Support recording events in child processes. r=dexter,froydnj 2017-02-14 14:43:51 +01:00
Carsten "Tomcat" Book
b67f88b34f merge mozilla-inbound to mozilla-central a=merge 2017-03-06 10:53:27 +01:00
Matt Woodrow
f8409228f1 Bug 1340117 - Batch ReadLock intializer into a separate IDPL message to avoid hitting the file descriptor limit. r=dvander 2017-02-27 16:12:12 +13:00
Kan-Ru Chen
1262e69aba Bug 1344074 - make sure ParamTraits<mozilla::Array<T, Length>>::Read use the correct type. r=mattwoodrow
MozReview-Commit-ID: Id4pvQJe6A4
2017-03-03 19:46:00 +08:00
Sebastian Hengst
939e66513a Backed out changeset a6db4cae9990 (bug 1313326) for failing browser_UsageTelemetry_content.js on Linux x64 asan and debug (at least). r=backout on a CLOSED TREE 2017-03-01 19:48:09 +01:00
Georg Fritzsche
75d3f1d9ef Bug 1313326 - Part 1: Support recording events in child processes. r=dexter, r=froydnj 2017-02-14 14:43:51 +01:00
Morris Tseng
1341cb2400 Bug 1340871 - Add CompositorUseANGLE info to TextureFactoryIdentifier. r=nical
MozReview-Commit-ID: GjlZS6T2i0p
2017-02-23 16:46:56 +08:00
Georg Fritzsche
2011d0ae0c Bug 1339749 - Refactor Telemetry IPC code. r=chutten 2017-02-15 16:25:40 +01:00
David Anderson
5608591254 Store the child process thread id in CrashReporterHost. (bug 1338281 part 2, r=billm) 2017-02-15 14:44:29 -08:00
Carsten "Tomcat" Book
2d818c882e Backed out changeset 3a90f1f64d8d (bug 1339749) for bustage on a CLOSED TREE 2017-02-15 16:10:29 +01:00
Georg Fritzsche
c3f2c42868 Bug 1339749 - Refactor Telemetry IPC code. r=chutten 2017-02-15 10:37:17 +01:00
Daniel Holbert
bee7fa0be8 Bug 1339609: Add #include for gfxPrefs.h to all source code that calls gfxPrefs APIs. r=jgilbert
MozReview-Commit-ID: GxWehmDYB3t
2017-02-14 14:01:59 -08:00
Ryan Hunt
d41d62b398 Bug 1337487 - Disable WebRender on windows when the GPU process is disabled r=kats 2017-02-09 00:33:54 -06:00
Ryan Hunt
b101f2272c Merge m-c to graphics 2017-02-07 09:05:18 +00:00
Kartikaya Gupta
6dc846cfd8 Bug 1337085 - Update RenderThread startup/shutdown to use a runtime flag rather than a compile-time one. r=sotaro
MozReview-Commit-ID: AVIEzb8MiGV
2017-02-06 22:22:44 -05: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
sotaro
cd8ff0818c Bug 1335658 - Init RenderThread in GPUParent r=nical,kats 2017-02-03 10:22:49 +09: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
David Anderson
84b04040db Allow controlling the GPU process from xpcshell. (bug 1321492 part 8, r=mattwoodrow) 2017-01-26 16:35:55 -08:00
David Anderson
3d416e077a Add memory reporting message support to PGPU. (bug 1321492 part 6, r=rhunt, r=erahm) 2017-01-26 16:35:54 -08:00
Kartikaya Gupta
ee722d7743 Merge m-c to graphics
MozReview-Commit-ID: 98wqjDW1RVK
2017-01-23 09:45:48 -05:00