Commit Graph

108 Commits

Author SHA1 Message Date
Randall Barker
c955f482b1 Bug 1335895 - Android GeckoView Dynamic Toolbar Version 3 r=botond,dvander,jchen,kats
This version of the Dynamic Toolbar moves the animation of the toolbar
from the Android UI thread to the compositor thread. All animation for
showing and hiding the toolbar are done with the compositor and a static
snapshot of the real toolbar.

MozReview-Commit-ID: BCe8zpbkWQt
2017-04-20 15:15:14 -07:00
Kartikaya Gupta
a1df68e319 Merge m-c to graphics
MozReview-Commit-ID: 7iqIrSl2VpU
2017-04-15 17:05:27 -04:00
sotaro
111d213410 Bug 1356190 - Fix GetNextExternalImageId() r=jrmuizel 2017-04-14 17:06:09 +09:00
Jay Harris
86ba6810a2 Bug 1338011 - Adds some telemetry probes - f=bsmedberg r=gerald
MozReview-Commit-ID: BmwEjBiCBNo
2017-04-15 09:36:42 +12:00
Jay Harris
315fc078db Bug 1338011 - Adds an intermediate fallback when the GPU process crashes - r=gerald
MozReview-Commit-ID: 9x1ckaWagcE
2017-04-15 09:34:01 +12:00
Kartikaya Gupta
1bcda612ce Bug 1350638 - Remove sync GetCompositorOptions call in TabChild::InitRenderingState. r=dvander
The goal of this patch is to remove the call to the sync IPC
GetCompositorOptions message from TabChild::InitRenderingState. In order
to this, we have InitRenderingState take the CompositorOptions as an
argument instead, and propagate that backwards through the call sites.
Eventually we can propagate it back to a set of already-sync IPC
messages in PCompositorBridge that are used during layers id
registration (NotifyChildCreated, NotifyChildRecreated, etc.). Therefore
this patch effectively piggybacks the CompositorOptions sync IPC onto
these pre-existing sync IPC messages.

The one exception is when we propagate it back to the AdoptChild call.
If this message were sync we could just use it like the others and have
it return a CompositorOptions. However, it is async, so instead we add
another call to GetCompositorOptions here temporarily. This will be
removed in the next patch.

MozReview-Commit-ID: AtdYOuXmHu4
2017-04-09 17:30:27 -04:00
David Anderson
012aa74dea Don't synchronously send the initial layer tree mapping list to the GPU process. (bug 1350660 part 2, r=rhunt) 2017-04-03 15:13:38 -07:00
David Anderson
d4e994a584 When using the GPU process, combine layer ownership and window mapping into a single IPC message. (bug 1350660 part 1, r=rhunt, r=billm) 2017-04-03 15:13:37 -07:00
David Anderson
5bb767a38a Add crash reporter annotations for the GPU process status. (bug 1343650, r=billm) 2017-04-03 15:11:27 -07:00
vincentliu
86bec960b0 Bug 1314543 - Make EnsureGPUReady() returns bool to make sure GPU process is readay. r=dvander 2017-03-30 09:23:24 +08:00
Daniel Holbert
bee7fa0be8 Bug 1339609: Add #include for gfxPrefs.h to all source code that calls gfxPrefs APIs. r=jgilbert
MozReview-Commit-ID: GxWehmDYB3t
2017-02-14 14:01:59 -08:00
Ryan Hunt
d41d62b398 Bug 1337487 - Disable WebRender on windows when the GPU process is disabled r=kats 2017-02-09 00:33:54 -06:00
David Anderson
3d416e077a Add memory reporting message support to PGPU. (bug 1321492 part 6, r=rhunt, r=erahm) 2017-01-26 16:35:54 -08:00
Randall Barker
1df3957d1f Bug 1328752 - part 1, Add UiCompositorController r=dvander 2017-01-20 11:01:29 -08:00
David Anderson
7c7185f15c Rename the GPU process prefs. (bug 1330554, r=milan) 2017-01-16 23:51:24 -08:00
Kartikaya Gupta
16afba45ec Bug 1330037 - Provide the CompositorBridgeParent with a CompositorOptions during construction that it holds for eternity. r=dvander
MozReview-Commit-ID: JnvNHUCF0AX
2017-01-12 17:29:41 -05:00
Kartikaya Gupta
e3df5ca2fe Bug 1330037 - Introduce a CompositorOptions struct that holds options on a per-compositor basis. r=dvander
MozReview-Commit-ID: Kja7zpCDmp3
2017-01-12 17:29:41 -05:00
Jan Beich
2dbdd746ef Bug 1317757 - Explicitly include header for SprintfLiteral(). r=milan
MozReview-Commit-ID: K8O6AMKPGzN
2016-11-15 18:58:29 +00:00
Ryan Hunt
c740ad3b23 Bug 1317512 - Prevent overflow when using device reset prefs. r=milan 2016-11-14 17:27:14 -06:00
Carsten "Tomcat" Book
c03117a948 merge mozilla-inbound to mozilla-central a=merge 2016-11-15 12:26:41 +01:00
Milan Sreckovic
554d234bb6 Bug 1316988: Change the wording of the error message. r=rhunt
MozReview-Commit-ID: GB1sF1APkBJ
2016-11-11 17:51:25 -05:00
David Anderson
0757ad84ef Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt) 2016-11-14 11:47:01 -08:00
Ryan Hunt
8d2b5ce02d Bug 1316476 - Limit the amount of device resets we allow with the gpu process. r=dvander 2016-11-09 20:57:04 -06:00
Carsten "Tomcat" Book
a3d6de70fa merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Matt Woodrow
bff0924458 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Kartikaya Gupta
281dba6afe Bug 1315974 - Have the CompositorBridgeChild take a LayerManager instead of a ClientLayerManager. r=dvander
MozReview-Commit-ID: CPTCQgIl5ad
2016-11-08 10:42:19 -05:00
George Wright
afd7a124a4 Bug 1314426 - Add a method to nsIDOMWindowUtils to terminate the GPU process and get the GPU process pid r=smaug,dvander 2016-11-07 14:22:48 -05:00
David Anderson
1cfa631b64 Fix shutdown crash in VsyncBridgeChild when the GPU process is enabled. (bug 1314816, r=mattwoodrow) 2016-11-02 16:45:38 -07:00
Matt Woodrow
2cdb3a11b4 Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander 2016-11-03 09:55:07 +13:00
Ryan Hunt
7b7769e60a Bug 1313199 - Sync a device reset from GPU process to main process. r=dvander 2016-11-06 13:01:52 -06:00
Phil Ringnalda
718a8f85bf Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Matt Woodrow
edd3d953d7 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
David Anderson
4802618151 Fix UI process not properly waiting for the GPU process to finish launching. (bug 1314127, r=rhunt) 2016-10-31 16:03:41 -07:00
Kartikaya Gupta
892f808838 Bug 1275314 - Allow flushing in-progress checkerboard reports in the GPU process as well. r=dvander
MozReview-Commit-ID: CXLzkiloHW
2016-10-15 08:45:02 -04:00
Wes Kocher
51f2cfb44d Backed out changeset 73a60f9b3c2f (bug 1275314) for GTest bustage CLOSED TREE 2016-10-14 14:52:44 -07:00
Kartikaya Gupta
0e842d3e6d Bug 1275314 - Allow flushing in-progress checkerboard reports in the GPU process as well. r=dvander
MozReview-Commit-ID: 3EPv8hh7Zxh
2016-10-14 15:38:01 -04:00
David Anderson
1ab3a55630 Fix parent process leaks when using the GPU process. (bug 1307972, r=billm) 2016-10-07 00:07:10 -07:00
David Anderson
5e162c7876 Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow) 2016-09-30 01:21:21 -07:00
Sebastian Hengst
27a909b8c3 Backed out changeset 690c50d5a4ca (bug 1305941) for build bustage. r=backout on a CLOSED TREE 2016-09-28 22:54:03 +02:00
David Anderson
bc46b1359d Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow) 2016-09-28 13:23:48 -07:00
Matt Woodrow
52f30d559e Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-21 21:25:33 +12:00
Carsten "Tomcat" Book
e2adb4a537 Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
656ef770c3 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-21 15:36:39 +12:00
David Anderson
956da50603 Recreate content compositor endpoints when the GPU process dies. (bug 1300936 part 3, r=mattwoodrow,billm) 2016-09-20 01:18:50 -07:00
David Anderson
f563a66c2a Recreate widget compositors when the GPU process dies. (bug 1300936 part 2, r=mattwoodrow) 2016-09-20 01:16:03 -07:00
David Anderson
9069df42b8 Send content compositor bridges atomically rather than individually. (bug 1300936 part 1, r=billm) 2016-09-20 01:15:49 -07:00
Bill McCloskey
1680d779a9 Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Carsten "Tomcat" Book
ebe8b5327e Backed out changeset f981edef8f81 (bug 1288618) 2016-09-15 16:34:00 +02:00
Matt Woodrow
52f9683ee1 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-15 23:18:00 +12:00
David Anderson
d2688451ad Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical) 2016-09-13 16:30:57 -07:00