gecko-dev/gfx/ipc
Andrew Osmond 8a37b15344 Bug 1389759 - Fix GPUProcessManager::EnsureGPUReady how did not guarantee the GPU process state is consistent. r=rhunt
GPUProcessManager::EnsureGPUReady promises that its state will be
consistent after returning. Either the GPU process is ready to be used,
or there is no GPU process at all. In the case it is attempted to
synchronously initialize the GPUChild with the device data and failed,
it broke that promise. This is because the GPU process was still setup,
but we weren't going to use it. This became a problem with the
CompositorManagerChild because it uses the process token as an
identifier, and it should have been reset to 0 in this case.

Now if GPUChild::EnsureGPUReady (the initialization step) fails, we
disable the GPU process entirely. This ensures our internal state is
consistent and the callers expectations are upheld.
2018-01-30 12:58:57 -05:00
..
CompositorOptions.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
CompositorSession.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
CompositorSession.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
CompositorWidgetVsyncObserver.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
CompositorWidgetVsyncObserver.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
D3DMessageUtils.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
D3DMessageUtils.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
GPUChild.cpp Bug 1424766 - Simplify `HangStack` and `HangDetails` by implementing using ipdl structs and unions, r=froydnj 2018-01-16 14:07:38 -05:00
GPUChild.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
GPUParent.cpp Bug 1424766 - Simplify `HangStack` and `HangDetails` by implementing using ipdl structs and unions, r=froydnj 2018-01-16 14:07:38 -05:00
GPUParent.h Bug 1410766 - Re-acquireDevices in gpu process when SimulateDeviceReset() is called r=dvander 2017-11-03 17:06:37 +09:00
GPUProcessHost.cpp Bug 1410209, part 4 - Add names to some IPC runnables. r=kanru 2017-10-27 13:39:28 -07:00
GPUProcessHost.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
GPUProcessImpl.cpp Bug 1420922: Remove orphaned TARGET_SANDBOX_EXPORTS defines. r=dmajor 2017-11-27 16:07:15 +00:00
GPUProcessImpl.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
GPUProcessListener.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
GPUProcessManager.cpp Bug 1389759 - Fix GPUProcessManager::EnsureGPUReady how did not guarantee the GPU process state is consistent. r=rhunt 2018-01-30 12:58:57 -05:00
GPUProcessManager.h Bug 1415494 - Uninitialised value use in mozilla::layers::CompositorManagerChild::IsInitialized. r=aosmond. 2017-11-16 11:31:51 +01:00
GfxMessageUtils.h Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
GraphicsMessages.ipdlh Bug 1352016 - P3. Check if NV12 rendering is usable when allocating D3D11 surface. r=mattwoodrow 2017-09-10 17:54:31 +02:00
InProcessCompositorSession.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
InProcessCompositorSession.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
PGPU.ipdl Bug 1424766 - Simplify `HangStack` and `HangDetails` by implementing using ipdl structs and unions, r=froydnj 2018-01-16 14:07:38 -05:00
PVsyncBridge.ipdl Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
RemoteCompositorSession.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
RemoteCompositorSession.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SharedDIB.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SharedDIB.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SharedDIBSurface.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SharedDIBSurface.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SharedDIBWin.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
SharedDIBWin.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
VsyncBridgeChild.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
VsyncBridgeChild.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
VsyncBridgeParent.cpp Backed out changeset d84ea38d6fd0 (bug 1399453) because the annotations are no longer needed. 2017-11-01 13:34:43 -04:00
VsyncBridgeParent.h Backed out changeset d84ea38d6fd0 (bug 1399453) because the annotations are no longer needed. 2017-11-01 13:34:43 -04:00
VsyncIOThreadHolder.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
VsyncIOThreadHolder.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
moz.build Bug 1330399 - determine proper bug_components for gfx/* files. r=milan 2017-01-23 11:10:05 -05:00