Commit Graph

295 Commits

Author SHA1 Message Date
Ryan Hunt
ababbe26a1 Bug 1296021 - Forward DeallocateLayerTreeId to GPU process if there is one. r=dvander
MozReview-Commit-ID: 12JtwGqLyy4

--HG--
extra : rebase_source : d4382aed4c0ce85ae1aa263cf978690d04cfb5dd
2016-08-17 09:11:00 -07:00
David Anderson
45cab1b1db Initialize COM in the GPU process. (bug 1294350 part 2, r=aklotz) 2016-08-13 12:25:26 -07:00
David Anderson
7d910bdf74 Ensure gfx-related services are started and shutdown properly in the GPU process. (bug 1294350 part 1, r=rhunt) 2016-08-13 12:25:18 -07:00
David Anderson
4257f1eff2 Remove fallback to WARP, but keep the force pref for testing. (bug 1294343, r=jrmuizel) 2016-08-13 12:18:50 -07:00
David Anderson
27679a9d30 Move UseXRender from gfxPlatformGtk to gfxVars. (bug 1288259 part 5, r=jrmuizel)
--HG--
extra : rebase_source : e2f8337fe9063ba4bd316c5ae4cb6b475f70d36f
2016-08-04 11:33:44 -07:00
David Anderson
bf733b4fbb Add the 2D content backend to gfxVars. (bug 1288259 part 4, r=jrmuizel)
--HG--
extra : rebase_source : e805a138c71963f4f80ec218d9be05fde6544f02
2016-08-04 11:33:44 -07:00
David Anderson
456bcd0248 Move TileSize from gfxPlatform to gfxVars. (bug 1288259 part 3, r=jrmuizel)
--HG--
extra : rebase_source : 5a48bb72b10c8d9c1c5c96b8d2076a6d33cabc24
2016-08-04 11:33:43 -07:00
David Anderson
9e49bc37bb Introduce gfxVars for sharing graphics variables across processes. (bug 1288259 part 2, r=jrmuizel,billm)
--HG--
extra : rebase_source : cbac742f7165a2fbdec3e4d1179c9ed49324579f
2016-08-04 11:33:42 -07:00
Matt Woodrow
2254f8e498 Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander
--HG--
extra : rebase_source : 8ed9418b70d889f8544e23cd624925835e62e9dd
2016-08-02 17:58:17 +12:00
Iris Hsiao
d1330cfd9f Backed out changeset 0d4ae62cc21a (bug 1289640) 2016-08-02 16:51:20 +08:00
Matt Woodrow
f1c314c175 Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander 2016-08-02 17:58:17 +12:00
Andi-Bogdan Postelnicu
af228209b4 Bug 1282408 - add ignore initialization check flag for mProcessToken from GPUProcessManager. r=jrmuizel@mozilla.com
MozReview-Commit-ID: DW4whzEYdbl
2016-07-28 11:33:17 +03:00
David Anderson
d3cb1d23af Send vsync rates to the compositor to avoid querying gfxPlatform. (bug 1288822, r=mchang) 2016-07-26 01:57:11 -07:00
David Anderson
438a11aa5a Fix typo in GPUChild::Init. (bug 1289205, r=rhunt) 2016-07-25 23:18:01 -07:00
Carsten "Tomcat" Book
336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
David Anderson
0a5620132f Add VRManager support to the GPU process. (bug 1287597 part 3, r=billm) 2016-07-21 00:14:59 -07:00
David Anderson
bb98e9f8d7 Move VRManagerChild initialization to GPUProcessManager. (bug 1287597 part 2, r=mattwoodrow) 2016-07-21 00:14:59 -07:00
David Anderson
38864a48be Open content VRManagers using endpoints. (bug 1287597 part 1, r=billm) 2016-07-21 00:14:59 -07:00
Carsten "Tomcat" Book
5b86ab83e3 Backed out changeset 3119db384fcc (bug 1281575) for bustage 2016-07-21 06:26:58 +02:00
Ryan Hunt
de1e16b8e9 Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats 2016-07-20 13:37:00 +02:00
Nathan Froyd
2f28c4b3a4 Bug 1287784 - micro-optimize GPUParent::RecvInit; r=milan
We can make GPUParent::RecvInit more efficient in two ways:

1. Using `auto&' for the type of the for-loop variable means that we're
   not copying each GfxPrefSetting value that we're iterating over,
   which is a win.

2. Pulling the `gfxPrefs::all()' call out of the loop means that we
   don't have to call it on each iteration.  You may think the compiler
   could do this for you, but the compiler can't be sure that
   sGfxPrefList isn't being modified by SetCachedValue.
2016-07-20 16:55:07 -04:00
David Anderson
471ed8630a Implement ImageBridge support for the GPU process. (bug 1287366 part 3, r=mattwoodrow,billm)
--HG--
extra : rebase_source : 0fc5f5bab52e6f49ed2c607e63c9a14d0509dd9a
2016-07-20 00:19:27 -07:00
David Anderson
6aca1d9865 Use Endpoints for content-process ImageBridges. (bug 1287366 part 2, r=billm)
--HG--
extra : rebase_source : 388c44e8df0ff45eb32e12d2b98c654cb0592bf0
2016-07-20 00:18:30 -07:00
David Anderson
20e7252a49 Move parent-process ImageBridgeChild startup to GPUProcessManager. (bug 1287366 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : c8c1ca6fdea8f4f87bd5da392e120834c3c27a24
2016-07-20 00:17:28 -07:00
David Anderson
21a8ece643 Ensure GPU process initializes ScrollMetadata::sNullMetrics. (bug 1287917, r=kats) 2016-07-19 21:11:44 -07:00
David Anderson
969d03ec34 Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
David Anderson
ad5abd7a72 Add a top-level protocol for sending vsync messages to the GPU process. (bug 1285625 part 1, r=billm) 2016-07-19 11:56:06 -07:00
Ryan Hunt
5c1e3a17b8 Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats
MozReview-Commit-ID: 7tO2kkTNFk2
2016-07-20 13:37:00 +02:00
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