Markus Stange
26469737d1
Bug 1369859 - Add MOZ_GECKO_PROFILER ifdefs around #includes of ProfilerParent.h. r=njn
...
MozReview-Commit-ID: HS3BBsrHVHu
--HG--
extra : rebase_source : b8439920e82f067bb1a05d513d029363a8c2a24e
2017-06-02 16:03:39 -04:00
Markus Stange
e2336b07a8
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=billm,njn
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : be0aa1b9c7963882e8e7d47964f2da5b670ab10a
extra : intermediate-source : e6f368f2d8741f2a9655b288d49b59fbbd6b90b7
extra : source : 51cdc2541486d5ddf2d385ec0459a9ec38b8775b
2017-05-30 15:06:14 -04:00
sotaro
1885be3a3f
Bug 1366915 part 2 - Make CompositorBridgeChild allocate pipeline id for async image pipeline r=nical
2017-05-30 09:59:44 +09:00
Georg Fritzsche
31c702afef
Bug 1361661 - Part 2 - Make Telemetry IPC code pass around Telemetry::ProcessID. r=dexter
...
Switching to Telemetry::ProcessID allows us to break out extension process data from the content process data.
2017-05-23 13:47:58 +07:00
Phil Ringnalda
6368ef89e2
Backed out 5 changesets (bug 1330185, bug 1330184) for leaking an nsTArray_base from the plugin process on Win8
...
Backed out changeset e6f368f2d874 (bug 1330185)
Backed out changeset 2b8d50fcb20f (bug 1330184)
Backed out changeset dbe452a9eebb (bug 1330184)
Backed out changeset e13b9e798e16 (bug 1330184)
Backed out changeset 52489c7eadaf (bug 1330184)
MozReview-Commit-ID: 8L20BZ5E3t2
2017-05-22 19:45:35 -07:00
Markus Stange
9bf6b534a2
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=njn, r=billm
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : 3495ccc7700703cc587f571dfc12e46a682c29a2
extra : source : 51cdc2541486d5ddf2d385ec0459a9ec38b8775b
2017-05-22 13:47:02 -04:00
Sebastian Hengst
42925f8817
Backed out changeset 8fd3861205d1 (bug 1361661)
2017-05-22 20:40:22 +02:00
Georg Fritzsche
057ea3f2f7
Bug 1361661 - Part 2: Make Telemetry IPC code pass around Telemetry::ProcessID. r=dexter
...
Switching to Telemetry::ProcessID allows us to break out extension process data from the content process data.
--HG--
extra : rebase_source : ab334ad33b879dce373f810b452b73747ba82109
extra : source : 9cf5185e6d6fd15b1dd35b1552317ebd5ff258ed
2017-05-22 15:40:58 +07:00
Sebastian Hengst
b3a2c130d0
Backed out changeset 9cf5185e6d6f (bug 1361661)
2017-05-22 16:19:26 +02:00
Georg Fritzsche
0a9d674afd
Bug 1361661 - Part 2: Make Telemetry IPC code pass around Telemetry::ProcessID. r=dexter
...
Switching to Telemetry::ProcessID allows us to break out extension process data from the content process data.
2017-05-22 15:40:58 +07:00
Markus Stange
42b5d166ec
Back out bug 1330184 and bug 1330185 because of test failures.
...
MozReview-Commit-ID: ILD4mevlSU6
2017-05-21 15:11:15 -04:00
Markus Stange
b5fdcd479d
Bug 1330185 - Use a top-level PProfiler protocol to control the profiler in other processes. r=njn, r=billm
...
MozReview-Commit-ID: EROfGuYQ6a0
--HG--
extra : rebase_source : de266bda4fc2d6532ff45a6d548b13cd0b4f7206
extra : histedit_source : ad5c4e140c068f17c51d5085fd88ac691e50ab4f
2017-05-21 14:06:50 -04:00
Botond Ballo
933619aa8d
Bug 1349750 - Have AsyncDragMetrics use ScrollDirection instead of rolling its own direction enum. r=kats
...
MozReview-Commit-ID: FKK4OBx12oa
--HG--
extra : rebase_source : 538579bd965863ecac5d7846f1c5df232b8a2108
2017-05-10 15:22:04 -04:00
Botond Ballo
9127b9d4f3
Bug 1349750 - Move the scroll track extents from AsyncDragMetrics to ScrollThumbData. r=kats
...
To conserve space in LayerAttributes, we only store the extents along the
relevant axis.
MozReview-Commit-ID: GAL8Oa2NOde
--HG--
extra : rebase_source : 9420d0fb36175e190cbff6e162fd41d8e5240c81
2017-05-05 15:54:27 -04:00
Botond Ballo
3bc007b384
Bug 1349750 - Move the scroll thumb length from AsyncDragMetrics to ScrollThumbData. r=kats
...
MozReview-Commit-ID: Atp7Kgn6adM
--HG--
extra : rebase_source : f22d89f6b8397984e48657dda7f68826c3cc90f8
2017-05-03 20:37:14 -04:00
Botond Ballo
0f1863f7ac
Bug 1349750 - Introduce a PlainOldDataSerializer utility class and use it for SimpleLayerAttributes. r=kats
...
MozReview-Commit-ID: 2tntLfnAINy
--HG--
extra : rebase_source : 2da85ab1c4695ef23a29f1289fa996d879cd8e7b
2017-05-03 20:21:11 -04:00
David Anderson
42e57ec6d3
Remove old device reset and compositor swapping code. (bug 1363126 part 3, r=rhunt)
2017-05-11 22:44:28 -07:00
David Anderson
57800cc0bd
Handle in-process device resets by recreating the entire rendering stack. (bug 1363126 part 2, r=rhunt)
2017-05-11 22:44:27 -07:00
David Anderson
27df5ad5bd
Handle remote device resets by recreating the entire rendering stack. (bug 1363126 part 1, r=rhunt, ipc_r=billm)
2017-05-11 22:44:27 -07:00
Gerald Squelart
bc7b6779e4
Bug 1356138 - Backout bug 1337063 (Msg_GetGraphicsDeviceInitData opt) for Talos regression - r=dvander
...
MozReview-Commit-ID: LS1Gg1HRwKo
--HG--
extra : rebase_source : 8b20bc37b20feac4c0b590c8b286a9ee834646e2
2017-05-09 14:40:11 +12:00
David Anderson
30e1319799
Wait for CreateCompositorDevices to finish before creating DeviceAttachmentsD3D11. (bug 1362145, r=bas)
2017-05-05 01:04:19 -07:00
Nicholas Nethercote
ea25e62e3c
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
cc78872f8c
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
413ea1b941
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
Kartikaya Gupta
b21511b7c0
Merge m-c to graphics
...
MozReview-Commit-ID: GdyXEYZsVuX
2017-04-25 08:32:48 -04:00
Kartikaya Gupta
2e1380aecf
Merge m-c to graphics
...
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
Kartikaya Gupta
1459e240f4
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
3b17383f8d
Merge mozilla-central to autoland
2017-04-25 11:28:40 +08:00
David Parks
532fe74f04
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
1e8738cabb
Merge m-c to graphics
...
MozReview-Commit-ID: 7iqIrSl2VpU
2017-04-15 17:05:27 -04:00
Sebastian Hengst
8bd051237a
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
sotaro
43525e6cb0
Bug 1356190 - Fix GetNextExternalImageId() r=jrmuizel
2017-04-14 17:06:09 +09:00
Wes Kocher
25d50f2c30
Merge inbound to central, a=merge
2017-04-12 14:39:09 -07:00
Markus Stange
59446b4f09
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
--HG--
extra : rebase_source : b0271115a66afbf54d98b5bad61165f815f5bd8c
extra : histedit_source : 299cccc9cc8c06de4d61686ff49d2b0e7649da78
2017-04-12 16:44:31 -04:00
Jay Harris
2c1fa18863
Bug 1338011 - Adds some telemetry probes - f=bsmedberg r=gerald
...
MozReview-Commit-ID: BmwEjBiCBNo
--HG--
extra : rebase_source : 1d181a6dd1385304c6c45a22e99563f570e31374
2017-04-15 09:36:42 +12:00
Jay Harris
6ce213e795
Bug 1338011 - Adds an intermediate fallback when the GPU process crashes - r=gerald
...
MozReview-Commit-ID: 9x1ckaWagcE
--HG--
extra : rebase_source : 2962f8572dd36b2dfecb7bb30ba515fc7c6323c9
2017-04-15 09:34:01 +12:00
Botond Ballo
9323d2bb93
Bug 1355374 - Use the AsyncDragMetrics to communicate the scroll thumb length to APZ. r=mstange
...
MozReview-Commit-ID: DJUKr4s9nWQ
--HG--
extra : rebase_source : d5f9a265098c343416fc933135b4f28a808cd49e
2017-04-21 13:57:11 -04:00
Bill McCloskey
ff14bfe5f0
Bug 1349699 - Close GPU channel unconditionally (r=dvander)
...
MozReview-Commit-ID: 4Ge2ib9p1i
2017-04-11 13:15:05 -07:00
Gerald Squelart
63dbe37188
Bug 1337063 - Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander
...
MozReview-Commit-ID: IWCgL9aCusW
--HG--
extra : rebase_source : 31d901f99105224ac7445b487813b010fd643bb9
2017-04-12 09:37:35 +12:00
Kevin Chen
4e82c4bafe
Bug 1352376 - Update device data while processing device reset; r=dvander
...
MozReview-Commit-ID: 9sqdRhsX5HU
--HG--
extra : rebase_source : 00ce838008d20546f1f096d690455117efa9000d
2017-04-05 15:17:36 +08:00
Kartikaya Gupta
a13700a7ce
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
--HG--
extra : rebase_source : 03c57d2d6dbfb1d330ce7eab6d842d8375d33208
2017-04-09 17:31:06 -04:00
Kartikaya Gupta
1bfa62105b
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
--HG--
extra : rebase_source : 5b80831cf84d3a4b57b2214a12ccf8a896cfa3a7
2017-04-09 17:30:27 -04:00
David Anderson
0622d767aa
Fix a race condition between VideoBridge and Compositor thread shutdown. (bug 1356365, r=mattwoodrow)
2017-04-20 19:32:48 -07:00
Randall Barker
a606cd8b60
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
c10c9d57eb
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
0f3b97ed9c
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
dfbf7fe0d0
Add crash reporter annotations for the GPU process status. (bug 1343650, r=billm)
...
--HG--
extra : rebase_source : 28e0d023e99f66f518047f1a468c899ff52c590a
2017-04-03 15:11:27 -07:00
Markus Stange
ca45875a78
Bug 1352237 - Fix a rebasing mistake so that we actually get profiles from the GPU process. r=dvander
...
MozReview-Commit-ID: A7SdPTl6rQ
--HG--
extra : rebase_source : 153a1306e42455544a702e16227cdfe76fab0149
2017-03-30 17:58:25 -04:00
vincentliu
67a283ef9a
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
d4d0425579
Bug 1323316 - Use ANGLE for WebRender on Windows. r=jrmuizel,kats
...
MozReview-Commit-ID: Fg5GEWNRtIu
2017-03-29 10:14:19 -04:00