Commit Graph

266 Commits

Author SHA1 Message Date
David Anderson
8b62f958d0 Support compositor bridges from the content process to the GPU process. (bug 1282348 part 8, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson
cce407eb5f Send content compositor bridges using endpoints rather than Opens. (bug 1282348 part 7, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson
1fc0d80f24 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
0339421b99 Add a remote implementation of CompositorSession. (bug 1282348 part 5, r=billm) 2016-07-17 21:24:28 -07:00
David Anderson
adf653992b 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
2daec996e9 Move layers ID allocation to GPUProcessManager. (bug 1282348 part 3, r=mattwoodrow) 2016-07-17 21:24:27 -07:00
David Anderson
8760583973 Split InProcessCompositorBridge to its own file. (bug 1282348 part 2, r=mattwoodrow)
--HG--
rename : gfx/ipc/CompositorSession.cpp => gfx/ipc/InProcessCompositorSession.cpp
2016-07-17 21:24:27 -07:00
David Anderson
9e653f7da3 Split up CompositorBridgeParent initialization. (bug 1282348 part 1, r=mattwoodrow,billm) 2016-07-17 21:24:27 -07:00
Kartikaya Gupta
4152d69a8e Bug 1256339 - Collapse the different Handle*Tap functions in GeckoContentController into a single API. r=botond
This is just a refactoring, no functional changes intended.

MozReview-Commit-ID: GRJxVpNAlHC
2016-07-05 13:24:54 -04:00
Kartikaya Gupta
fe435c86af Bug 1283556 - Convert APZStateChange to an enum class and make the formatting more consistent with the style guide. r=botond
MozReview-Commit-ID: FtfoY1jCwkR
2016-07-04 14:44:08 -04:00
David Anderson
97a92d5d5e Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
6562af780a Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
f0edea202e Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
56c221c4a6 Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
2016-07-01 01:15:16 -07:00
David Anderson
3f0ea0572d Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
Phil Ringnalda
0d0d24bccc Back out 7 changesets (bug 1281998) for Windows Marionette crashes
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)

--HG--
rename : widget/CompositorWidget.cpp => widget/CompositorWidgetProxy.cpp
rename : widget/CompositorWidget.h => widget/CompositorWidgetProxy.h
rename : widget/windows/WinCompositorWidget.cpp => widget/windows/WinCompositorWidgetProxy.cpp
rename : widget/windows/WinCompositorWidget.h => widget/windows/WinCompositorWidgetProxy.h
2016-06-29 19:35:24 -07:00
David Anderson
4853817add Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm)
--HG--
extra : rebase_source : 66e23a6efd766341a97ab46f1c52b368f145d849
2016-06-29 16:47:23 -04:00
David Anderson
358a567c70 Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm)
--HG--
extra : rebase_source : 881a2fac4447de3f1aeae3f34f21f9e76a79e0a3
2016-06-29 16:47:22 -04:00
David Anderson
80600779fc Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm)
--HG--
extra : rebase_source : ff35830b0ca727e03366ebcd9cf069d7772de591
2016-06-29 16:47:22 -04:00
David Anderson
b4551c49b7 Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
extra : rebase_source : d885b1ec9c30e8c5558c31c6caadfc645e7ed567
2016-06-29 16:47:22 -04:00
David Anderson
804c1ee06f Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
extra : rebase_source : 8ecf59ad6039f0d0d2a51008aef53ef37aa2ce0e
2016-06-29 16:47:22 -04:00
David Anderson
6c0ba47595 Don't leave temporary dangling nsWindow references to CompositorBridgeParent. (bug 1282343 part 1, r=mattwoodrow,kats) 2016-06-28 14:53:21 -07:00
David Anderson
b32d76868e Use IntSize in CompositorBridgeParent's constructor. (bug 1282347, r=kats) 2016-06-27 17:05:34 -07:00
David Anderson
5e2232c2e7 Synchronize gfxPrefs to the GPU process. (bug 1280822 part 4, r=jrmuizel) 2016-06-26 23:33:20 -07:00
Wes Kocher
1587b12aa9 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
c6e8888418 Synchronize gfxPrefs to the GPU process. (bug 1280822 part 4, r=jrmuizel)
--HG--
extra : rebase_source : 85222a6f5ede09474d61061a74eeebb677791c51
2016-06-24 16:18:02 -07:00
Bill McCloskey
ab96df2b7a 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
ebb01e928a Implement GPU process shutdown. (bug 1271180 part 5, r=billm)
--HG--
extra : rebase_source : 13e7c4274e3948e13096baf3bf4e48000d3f8864
2016-06-10 22:37:03 -04:00
David Anderson
d3bb5cb316 Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
--HG--
extra : rebase_source : 456e4b94a93191f85d90209459c5189ea165670d
2016-06-10 22:27:24 -04:00
Phil Ringnalda
5e0adb7d56 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)

--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07:00
David Anderson
a6676c7cfb Implement GPU process shutdown. (bug 1271180 part 5, r=billm)
--HG--
extra : rebase_source : c00e110f584ac056cc4e7918b833d6c6dbd79007
2016-06-10 22:37:03 -04:00
David Anderson
d2678d4141 Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
--HG--
extra : rebase_source : 332f5cf6ca5e1f78fb2283a7e79b6b21654e9e59
2016-06-10 22:27:24 -04:00
eyim
b0ca07b635 Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD

--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Jonathan Watt
03036022ec Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas 2016-05-25 17:01:18 +01:00
Bill McCloskey
7dbc02ed0f Bug 1262671 - Use BufferList for Pickle (r=froydnj) 2016-05-27 09:57:41 -07:00
Bill McCloskey
291c555f34 Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
David Anderson
cc844f6053 Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow) 2016-05-23 00:28:51 -07:00
David Anderson
3284628c95 Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow) 2016-05-23 00:28:03 -07:00
David Anderson
60ca648e99 Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
David Anderson
44e1ee52df Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats) 2016-05-23 00:27:51 -07:00
David Anderson
ecf249bd9a Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Wes Kocher
2299744a78 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
David Anderson
3afaab9b67 Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow) 2016-05-23 00:28:51 -07:00
David Anderson
5a87aaf54e Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow) 2016-05-23 00:28:03 -07:00
David Anderson
25f45d71ec Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
David Anderson
0b299bbf23 Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats) 2016-05-23 00:27:51 -07:00
David Anderson
ba1f071a23 Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Kartikaya Gupta
9994166655 Bug 1274589 - Rename RegionBuilder::Or to RegionBuilder::OrWith for consistency with the region classes. r=jrmuizel
MozReview-Commit-ID: CIzTVKXUVSs
2016-05-21 00:06:51 -04:00
David Anderson
c2a116cdd6 Hide top-level CompositorBridgeParents behind a new API. (bug 1272472 part 4, r=mattwoodrow,kats,gwagner) 2016-05-17 22:33:22 -07:00
Milan Sreckovic
17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00