Michael Smith
5287dc238a
Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander
...
To make the HeadlessCompositorWidget work under Windows as well as Linux, I had
to change the way that I hooked it into the existing CompositorWidget system.
Under GTK, the CompositorWidgetInitData and CompositorWidgetDelegate types
provided the information needed by the headless compositor widget already (the
widget client size). On Windows, however, the definitions of these types
differ, and the client size information is simply retrieved from the platform
APIs when needed.
After this patch, CompositorWidgetDelegate is renamed to
PlatformCompositorWidgetDelegate, and a new base class called
CompositorWidgetDelegate is added with "AsPlatformSpecificDelegate()" and
"AsHeadlessCompositorWidget()" methods. In non-headless mode, widgets use
AsPlatformSpecificDelegate() to access the Windows- and GTK-specific delegate
APIs. In headless mode, AsHeadlessCompositorWidget() is used to access the
singular CompositorWidget implementation for headless. Meanwhile, the
CompositorWidgetInitData IPDL type is made into a union which always contains a
headless-specific HeadlessCompositorWidgetInitData struct and under GTK and
Windows also contains an {X11,Win}CompositorWidgetInitData struct.
This also includes a small patch to ensure that the GPU process and
hardware-accelerated compositing are always disabled under headless mode. These
features weren't activated by default in the Linux environments I tested in, but
did end up activating (and then promptly crashing Firefox) when I tested on
Windows.
MozReview-Commit-ID: CocPoHBDV7H
2017-07-06 17:45:34 -07:00
[email protected]
e5b727ad6b
Bug 1373088 - Don't use a timeout for compositor process startup when debugging child process. r=milan
2017-06-19 13:12:00 -04: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
Bill McCloskey
5162531982
Bug 1349699 - Close GPU channel unconditionally (r=dvander)
...
MozReview-Commit-ID: 4Ge2ib9p1i
2017-04-11 13:15:05 -07:00
Bill McCloskey
70da100728
Revert "Bug 1349699 - Close GPU channel unconditionally (r=dvander)"
...
This reverts commit acc4397b003ca5a7760ce8bbf24c21df6a2dd8bc.
2017-04-07 16:44:55 -07:00
Bill McCloskey
86667cb299
Bug 1349699 - Close GPU channel unconditionally (r=dvander)
...
MozReview-Commit-ID: 4Ge2ib9p1i
2017-04-07 14:26:28 -07:00
David Anderson
7c7185f15c
Rename the GPU process prefs. (bug 1330554, r=milan)
2017-01-16 23:51:24 -08:00
George Wright
afd7a124a4
Bug 1314426 - Add a method to nsIDOMWindowUtils to terminate the GPU process and get the GPU process pid r=smaug,dvander
2016-11-07 14:22:48 -05:00
George Wright
862a889841
Bug 1297790 - Add telemetry probes for GPU process launch/launch-time/abort r=dvander
...
MozReview-Commit-ID: LgrdMOSZn8J
2016-10-20 11:33:40 -04:00
Wes Kocher
58ffe867de
Backed out changeset 0a1486cf11b2 (bug 1297790) for browser_UsageTelemetry_content_aboutHome.js failures a=backout CLOSED TREE
2016-10-28 15:44:51 -07:00
George Wright
5a030f5a34
Bug 1297790 - Add telemetry probes for GPU process launch/launch-time/abort r=dvander
2016-10-28 16:21:08 -04:00
David Anderson
612e0c8580
Don't double-call EnsureProcessTerminated when killing the GPU process. (bug 1310111, r=billm)
2016-10-14 23:27:32 -07: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
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
Matt Woodrow
a08b2c201b
Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander
2016-09-15 23:18:00 +12:00
David Anderson
39571d1e22
Don't call Close twice when the GPU process unexpectedly terminates. (bug 1282348 part 6, r=billm)
2016-07-17 21:24:28 -07:00
David Anderson
b1f2146f61
Allow top-level protocols the ability to notify GPUProcessManager when their actors are unexpectedly destroyed. (bug 1282348 part 4, r=billm)
2016-07-17 21:24:28 -07:00
David Anderson
083428bb45
Synchronize gfxPrefs to the GPU process. (bug 1280822 part 4, r=jrmuizel)
2016-06-26 23:33:20 -07:00
Wes Kocher
e8a95e7b8e
Backed out 4 changesets (bug 1280822) for leaking nsTArray_base
...
Backed out changeset b9a0567cd7c1 (bug 1280822)
Backed out changeset 93d483583ffa (bug 1280822)
Backed out changeset 91715d8e468f (bug 1280822)
Backed out changeset 3db77f57cef4 (bug 1280822)
2016-06-24 14:43:41 -07:00
David Anderson
e1fa7902e6
Synchronize gfxPrefs to the GPU process. (bug 1280822 part 4, r=jrmuizel)
2016-06-24 16:18:02 -07:00
Bill McCloskey
1f1db1f0e1
Bug 1268559 - Go back to ContentParent controlling process shutdown (i.e., backout bug 1262898) (r=dvander)
2016-06-24 13:13:45 -07:00
David Anderson
a4755696f2
Implement GPU process shutdown. (bug 1271180 part 5, r=billm)
2016-06-10 22:37:03 -04:00
David Anderson
effaa2762a
Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
2016-06-10 22:27:24 -04:00
Phil Ringnalda
fb45b46515
Back out 5 changesets (bug 1271180) for static analysis bustage
...
CLOSED TREE
Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)
2016-06-11 00:46:09 -07:00
David Anderson
62a1290119
Implement GPU process shutdown. (bug 1271180 part 5, r=billm)
2016-06-10 22:37:03 -04:00
David Anderson
960e333e42
Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
2016-06-10 22:27:24 -04:00