Commit Graph
75 Commits
Author SHA1 Message Date
David Anderson f245787e29 Wait for CreateCompositorDevices to finish before creating DeviceAttachmentsD3D11. (bug 1362145, r=bas) 2017-05-05 01:04:19 -07:00
Nicholas Nethercote a7e5660c91 Bug 1360471 (part 4) - Use a bitfield to represent profiler features. r=mstange.
Currently the profiler mostly uses an array of strings to represent which
features are available and in use. This patch changes the profiler core to use
a uint32_t bitfield, which is a much simpler and faster representation.
(nsProfiler and the profiler add-on still use the array of strings, alas.) The
new ProfilerFeature type defines the values in the bitfield.

One side-effect of this change is that profiler_feature_active() now can be
used to query all features. Previously it was just a subset.

Another side-effect is that profiler_get_available_features() no longer incorrectly
indicates support for Java and stack-walking when they aren't supported. (The
handling of task tracer support is unchanged, because the old code handled it
correctly.)
2017-05-01 14:23:34 +10:00
Nicholas Nethercote da42e4205e Bug 1360471 (part 3) - Rename various "thread name filters" identifiers as "filters". r=mstange.
The new names are more concise and matches common usage elsewhere (e.g.
profiler_start() arguments).

This patch is similar to bug 1358074 part 5.
2017-05-01 13:42:53 +10:00
David Anderson e010c220c2 Pre-initialize DeviceAttachmentsD3D11 on the compositor thread, immediately after the GPU process initializes. (bug 1360766 part 3, r=bas) 2017-04-30 11:38:59 -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
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
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
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
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
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
sotaro cd8ff0818c Bug 1335658 - Init RenderThread in GPUParent r=nical,kats 2017-02-03 10:22:49 +09: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
Randall Barker 1df3957d1f Bug 1328752 - part 1, Add UiCompositorController r=dvander 2017-01-20 11:01:29 -08:00
Kartikaya Gupta 16afba45ec Bug 1330037 - Provide the CompositorBridgeParent with a CompositorOptions during construction that it holds for eternity. r=dvander
MozReview-Commit-ID: JnvNHUCF0AX
2017-01-12 17:29:41 -05:00
George Wright 86dfcd1e55 Bug 1324095 - Add GPU_PROCESS_INITIALIZATION_TIME_MS to track how long the GPU process takes to initialise excluding fork/xpcom initialisation times r=dvander,data-review=bsmedberg 2017-01-03 15:13:36 -05:00
Daosheng Mu 330a2f9bc8 Bug 1316279 - Part 1: Fix gfxPrefs support for WebVR in out-of-process compositing; r=kip
MozReview-Commit-ID: 13tPgT0uDDi
2016-11-23 09:40:54 +08:00
Kan-Ru Chen 1b9dd22e2d Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Matt Woodrow 35d15c14ea Bug 1316221 - Force VideoBridge shutdown to happen before the compositor thread is destroyed. r=dvander 2016-11-11 15:02:32 +13:00
Ryan Hunt 7b7769e60a Bug 1313199 - Sync a device reset from GPU process to main process. r=dvander 2016-11-06 13:01:52 -06:00
Matt Woodrow 2cdb3a11b4 Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander 2016-11-03 09:55:07 +13:00
David Anderson 0a5dfa94c3 Ensure we start the Telemetry singleton in the GPU process. (bug 1304494 part 1, r=gfritzsche) 2016-10-30 22:35:56 -07:00
David Anderson 92eaa84c7b Move ownership of LogForwarder to Moz2D. (bug 1310397, r=mattwoodrow) 2016-10-15 13:04:00 -07:00
Kartikaya Gupta 892f808838 Bug 1275314 - Allow flushing in-progress checkerboard reports in the GPU process as well. r=dvander
MozReview-Commit-ID: CXLzkiloHW
2016-10-15 08:45:02 -04:00
Wes Kocher 51f2cfb44d Backed out changeset 73a60f9b3c2f (bug 1275314) for GTest bustage CLOSED TREE 2016-10-14 14:52:44 -07:00
Kartikaya Gupta 0e842d3e6d Bug 1275314 - Allow flushing in-progress checkerboard reports in the GPU process as well. r=dvander
MozReview-Commit-ID: 3EPv8hh7Zxh
2016-10-14 15:38:01 -04:00
David Anderson 50da1aa4bf Move GPU process XPCOM shutdown to ProcessChild::CleanUp. (bug 1308398 part 3, r=billm) 2016-10-12 00:08:37 -07:00
David Anderson b993358662 Fix VsyncBridgeParent leaking on GPU process shutdown. (bug 1308398 part 2, r=mattwoodrow) 2016-10-12 00:08:36 -07:00
David Anderson e2b42a4efd Ensure nsThreadManager is started before IPC in the GPU process. (bug 1308398 part 1, r=billm) 2016-10-12 00:08:36 -07:00
David Anderson f70c8ed80d Use CrashReporterHost/Client in the GPU process. (bug 1278717 part 3, r=billm) 2016-10-11 14:25:41 -07:00
George Wright 1376e7cf6b Bug 1297828 - Ensure gfx logging works in the GPU process r=dvander 2016-10-07 11:28:41 -04:00
David Anderson 3ddabcaec6 Support about:checkerboard reporting in the GPU process. (bug 1301266 part 2, r=kats) 2016-09-21 22:38:44 -07:00
Matt Woodrow 52f30d559e Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-21 21:25:33 +12:00
Matt Woodrow 376675aa6a Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander 2016-09-21 21:24:44 +12:00
Carsten "Tomcat" Book e2adb4a537 Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow 656ef770c3 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-21 15:36:39 +12:00
Matt Woodrow 6c44c8ccbc Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander 2016-09-21 15:36:10 +12:00
Carsten "Tomcat" Book 9b6a71c46b Backed out changeset d5c1565d5f7f (bug 1288618) 2016-09-15 16:34:02 +02:00
Carsten "Tomcat" Book ebe8b5327e Backed out changeset f981edef8f81 (bug 1288618) 2016-09-15 16:34:00 +02:00
Matt Woodrow 52f9683ee1 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-15 23:18:00 +12:00
Matt Woodrow a08b2c201b Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander 2016-09-15 23:18:00 +12:00
Ryan Hunt 6af70d56d9 Bug 1297845 - Initialize gtk in GPU process. r=acomminos
MozReview-Commit-ID: EngQvL6h3EU
2016-08-30 01:05:00 -04:00
Ryan Hunt a0dfd7048a Bug 1298980 - Initialize AsyncPanZoomController global state in GPU Process. r=kats
MozReview-Commit-ID: EjDgxzF5HmZ
2016-08-31 16:00:00 -04:00
Ryan Hunt 025a9afbc9 Bug 1298245 - Hook up creation of OOP APZ for main process. r=dvander
MozReview-Commit-ID: 2Ujw28K2COJ
2016-08-29 09:18:00 -04:00
Ryan Hunt a532a5409c Bug 1298324 - Change D3D11DeviceStatus to a union. r=dvander
MozReview-Commit-ID: LCy2NSch39X
2016-08-26 16:37:00 -04:00
Wes Kocher 19422c15e3 Backed out changeset e82fc4bb4cc4 (bug 1298324) for windows build bustage a=backout
CLOSED TREE
2016-08-26 14:07:32 -07:00
Ryan Hunt 29c5a24dc1 Bug 1298324 - Change D3D11DeviceStatus to a union. r=dvander
MozReview-Commit-ID: LCy2NSch39X
2016-08-26 13:32:39 -07:00
George Wright 17b8dbf563 Bug 1297797 - Set the process name for the GPU process r=dvander 2016-08-25 14:39:17 -04:00
Ryan Hunt e5eb02b091 Bug 1289650 - Check the owning PID when creating PAPZCTreeManager, PLayerTransaction. r=kats,dvander
MozReview-Commit-ID: Kbti1O7qgtN
2016-08-16 13:59:13 -07:00
Sebastian Hengst a39b57a438 Backed out changeset 21cd933e4c32 (bug 1289650) for crashing in e10s browser-chrome tests. r=backout on a CLOSED TREE 2016-08-24 23:17:37 +02:00