gecko-dev/gfx/ipc
Jamie Nicol 01c1cad628 Bug 1742985 - Add more methods to nsIGfxInfo for GPU process testing. r=tnikkel
Add KillGPUProcessForTests, which kills the GPU process without
generating a crash dump (unlike the existing CrashGPUProcessForTests).

Additionally add EnsureGPUProcessReadyForTests, which returns a
promise that resolves to true when the GPU process is enabled and
ready, and false if it is disabled. If called while the GPU process is
being (re)started, it will not resolve until it has finished launching
(or was disabled due to error).

Finally, make GPUProcessHost::IsConnected check whether the process
handle is valid. This ensures it returns false immediately following a
call to KillProcess but prior to the GPUChild being destroyed. This
means tests can call EnsureGPUProcessReadyForTests immediately after
KillGPUProcessForTests or CrashGPUProcessForTests, and it will
reliably wait for the new process to launch, as intended.

Depends on D135207

Differential Revision: https://phabricator.services.mozilla.com/D135328
2022-01-07 13:27:49 +00:00
..
CanvasManagerChild.cpp Bug 1736177 - Part 9. Add plumbing to snapshot worker canvas contexts from the main thread. r=jgilbert,ipc-reviewers,nika 2021-12-10 02:57:55 +00:00
CanvasManagerChild.h Bug 1736177 - Part 9. Add plumbing to snapshot worker canvas contexts from the main thread. r=jgilbert,ipc-reviewers,nika 2021-12-10 02:57:55 +00:00
CanvasManagerParent.cpp Bug 1736177 - Part 9. Add plumbing to snapshot worker canvas contexts from the main thread. r=jgilbert,ipc-reviewers,nika 2021-12-10 02:57:55 +00:00
CanvasManagerParent.h Bug 1736177 - Part 9. Add plumbing to snapshot worker canvas contexts from the main thread. r=jgilbert,ipc-reviewers,nika 2021-12-10 02:57:55 +00:00
CompositorOptions.h Bug 1739621 - Remove remaining UseAdvancedLayers() r=jrmuizel,gfx-reviewers,bradwerth 2021-11-07 12:44:53 +00:00
CompositorSession.cpp Bug 1741156 - Reinitialize compositor and request repaint after GPU process restart. r=aosmond,geckoview-reviewers,agi 2021-11-29 20:52:31 +00:00
CompositorSession.h Bug 1741156 - Reinitialize compositor and request repaint after GPU process restart. r=aosmond,geckoview-reviewers,agi 2021-11-29 20:52:31 +00:00
CompositorWidgetVsyncObserver.cpp Bug 1738971 - Part 3. Rework VsyncChild to allow multiple implementations. r=gfx-reviewers,jgilbert 2021-12-10 02:57:50 +00:00
CompositorWidgetVsyncObserver.h Bug 1738971 - Part 3. Rework VsyncChild to allow multiple implementations. r=gfx-reviewers,jgilbert 2021-12-10 02:57:50 +00:00
CrossProcessPaint.cpp Bug 1744468. Create a high quality scaling flag for cross process paint and propagate it to dependencies. r=emilio 2021-12-14 09:43:52 +00:00
CrossProcessPaint.h Bug 1744468. Create a high quality scaling flag for cross process paint and propagate it to dependencies. r=emilio 2021-12-14 09:43:52 +00:00
D3DMessageUtils.cpp
D3DMessageUtils.h
GfxMessageUtils.h Backed out 2 changesets (bug 1720965) for causing bustages on nsContentUtils.cpp. CLOSED TREE 2021-08-04 03:14:29 +03:00
GPUChild.cpp Bug 1743454 - Ensure GPU process crash reports are generated regardless of which IPC actor dies first. r=aosmond 2021-12-08 19:08:17 +00:00
GPUChild.h Bug 1743454 - Ensure GPU process crash reports are generated regardless of which IPC actor dies first. r=aosmond 2021-12-08 19:08:17 +00:00
GPUParent.cpp Bug 1745444 - Replace the arbitrary values in RecvTestTriggerMetrics with the PROCESS_TYPE_ constants, r=chutten. 2021-12-15 22:18:33 +00:00
GPUParent.h Bug 1745444 - Merge TestTriggerGPUMetrics and TestTriggerRDDMetrics into a method taking a process type as parameter, r=chutten. 2021-12-15 22:18:32 +00:00
GPUProcessHost.cpp Bug 1743454 - Add junit test to ensure GPU process crash triggers GeckoView crash reporter. r=agi,aosmond 2021-12-08 19:08:17 +00:00
GPUProcessHost.h Bug 1742985 - Add more methods to nsIGfxInfo for GPU process testing. r=tnikkel 2022-01-07 13:27:49 +00:00
GPUProcessImpl.cpp Bug 1723505 - Convert IPC processes to GeckoArgs r=nika,kershaw 2021-10-26 19:42:03 +00:00
GPUProcessImpl.h
GPUProcessListener.h
GPUProcessManager.cpp Bug 1742985 - Ensure ZoomConstraints get refreshed after GPU process restart. r=tnikkel 2022-01-07 13:27:48 +00:00
GPUProcessManager.h Bug 1745444 - Merge TestTriggerGPUMetrics and TestTriggerRDDMetrics into a method taking a process type as parameter, r=chutten. 2021-12-15 22:18:32 +00:00
GraphicsMessages.ipdlh Bug 1698946 p1: Add and maintain ClearType parameters gfxVars. r=jfkthame 2021-08-05 09:13:09 +00:00
InProcessCompositorSession.cpp Bug 1727682 - Make WebRenderLayerManager not inherit LayerManager. r=jrmuizel 2021-09-05 22:36:45 +00:00
InProcessCompositorSession.h Bug 1727682 - Make WebRenderLayerManager not inherit LayerManager. r=jrmuizel 2021-09-05 22:36:45 +00:00
moz.build Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi 2021-12-23 20:29:07 +00:00
PCanvasManager.ipdl Bug 1736177 - Part 9. Add plumbing to snapshot worker canvas contexts from the main thread. r=jgilbert,ipc-reviewers,nika 2021-12-10 02:57:55 +00:00
PGPU.ipdl Bug 1745444 - Merge TestTriggerGPUMetrics and TestTriggerRDDMetrics into a method taking a process type as parameter, r=chutten. 2021-12-15 22:18:32 +00:00
PVsyncBridge.ipdl Bug 1734739 - Part 2: Stop requiring the OtherPid to create Endpoint, r=handyman 2021-11-24 17:56:00 +00:00
RemoteCompositorSession.cpp
RemoteCompositorSession.h
VsyncBridgeChild.cpp
VsyncBridgeChild.h
VsyncBridgeParent.cpp
VsyncBridgeParent.h
VsyncIOThreadHolder.cpp Bug 1726594 - Add some documentation about the purpose of VsyncIOThread. r=mstange 2021-08-19 16:35:32 +00:00
VsyncIOThreadHolder.h