Commit Graph

483 Commits

Author SHA1 Message Date
David Anderson
67d2c40688 Send vsync rates to the compositor to avoid querying gfxPlatform. (bug 1288822, r=mchang) 2016-07-26 01:57:11 -07:00
David Anderson
609fa65848 Fix typo in GPUChild::Init. (bug 1289205, r=rhunt) 2016-07-25 23:18:01 -07:00
Carsten "Tomcat" Book
c0a2b46b9b merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Tom Tromey
1b5a2bdb96 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
2016-07-14 10:16:42 -06:00
David Anderson
7d56ca2211 Add VRManager support to the GPU process. (bug 1287597 part 3, r=billm) 2016-07-21 00:14:59 -07:00
David Anderson
b36da37b62 Move VRManagerChild initialization to GPUProcessManager. (bug 1287597 part 2, r=mattwoodrow) 2016-07-21 00:14:59 -07:00
David Anderson
93867a4051 Open content VRManagers using endpoints. (bug 1287597 part 1, r=billm) 2016-07-21 00:14:59 -07:00
Carsten "Tomcat" Book
a8c9d4892a Backed out changeset 3119db384fcc (bug 1281575) for bustage 2016-07-21 06:26:58 +02:00
Ryan Hunt
c3d4a9136d Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats 2016-07-20 13:37:00 +02:00
Nathan Froyd
90fc009f6b 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
590cc0cad1 Implement ImageBridge support for the GPU process. (bug 1287366 part 3, r=mattwoodrow,billm) 2016-07-20 00:19:27 -07:00
David Anderson
227ba95f86 Use Endpoints for content-process ImageBridges. (bug 1287366 part 2, r=billm) 2016-07-20 00:18:30 -07:00
David Anderson
6b880c65ac Move parent-process ImageBridgeChild startup to GPUProcessManager. (bug 1287366 part 1, r=mattwoodrow) 2016-07-20 00:17:28 -07:00
David Anderson
cfffceeb84 Ensure GPU process initializes ScrollMetadata::sNullMetrics. (bug 1287917, r=kats) 2016-07-19 21:11:44 -07:00
David Anderson
90d4a57c72 Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
David Anderson
8cb0e4b7b7 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
c9a4056474 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
10f433ea7b 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
cbb942190f 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
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
52688a256e Add a remote implementation of CompositorSession. (bug 1282348 part 5, 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
377c102448 Move layers ID allocation to GPUProcessManager. (bug 1282348 part 3, r=mattwoodrow) 2016-07-17 21:24:27 -07:00
David Anderson
9780db7bca Split InProcessCompositorBridge to its own file. (bug 1282348 part 2, r=mattwoodrow) 2016-07-17 21:24:27 -07:00
David Anderson
9849e23ed0 Split up CompositorBridgeParent initialization. (bug 1282348 part 1, r=mattwoodrow,billm) 2016-07-17 21:24:27 -07:00
Kartikaya Gupta
b1ccfa8ef7 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
83f4248e67 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
add6c95120 Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
c70cd6b6e2 Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
020480eae5 Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
039e80e39c Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm) 2016-07-01 01:15:16 -07:00
David Anderson
19ade82818 Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm) 2016-07-01 01:15:16 -07:00
Phil Ringnalda
89deea28e2 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)
2016-06-29 19:35:24 -07:00
David Anderson
eb66f8ed62 Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm) 2016-06-29 16:47:23 -04:00
David Anderson
27793b9f88 Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm) 2016-06-29 16:47:22 -04:00
David Anderson
54d6f14645 Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm) 2016-06-29 16:47:22 -04:00
David Anderson
bec1f2780f Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm) 2016-06-29 16:47:22 -04:00
David Anderson
4a6d8ea9f0 Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm) 2016-06-29 16:47:22 -04:00
David Anderson
26a5fabe36 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
52c16c9cb8 Use IntSize in CompositorBridgeParent's constructor. (bug 1282347, r=kats) 2016-06-27 17:05:34 -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
eyim
e2c2b0b56c Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD
2016-06-06 11:17:23 -04:00