Commit Graph
446 Commits
Author SHA1 Message Date
sotaro 80a5f54595 Bug 1387922 - Add log of start or fwd Transaction to on screen timing r=nical 2017-08-11 10:57:21 +09:00
JerryShih e8d3a62312 Bug 1357299 - P11: Update layers, dxva and vr module to use SyncObjectChild. v3. r=mattwoodrow,dvander
MozReview-Commit-ID: 4HTPz0YcYHq
2017-08-07 18:15:24 +08:00
Bevis Tseng ce50e5aaca Bug 1378930 - Part 1: Remove nsINamed::SetName(). r=billm
MozReview-Commit-ID: 7aM1yJRsfPH
2017-07-21 11:50:43 +08:00
David Anderson 883c1f480e Implement asynchronous OMTP behind a pref. (bug 1377060 part 2, r=mchang) 2017-07-05 15:19:52 -07:00
Wes Kocher a58f269485 Backed out 2 changesets (bug 1377060) for build bustage a=backout
Backed out changeset c8f818803df7 (bug 1377060)
Backed out changeset bf11ec80b0fb (bug 1377060)

MozReview-Commit-ID: Hp1PtpWYOWV
2017-07-03 11:44:58 -07:00
David Anderson a297772d5a Implement asynchronous OMTP behind a pref. (bug 1377060 part 2, r=mchang) 2017-07-03 11:20:40 -07:00
Ryan Hunt efb9965aef Bug 1351783 part 10 - Create and sync the current FocusTarget on each layer transaction. r=kats,botond
This commit modifies PresShell and nsDisplayList to send a FocusTarget update on
every layer transaction. Ideally we would like to send updates as often as possible,
but this seems like it works well. This can be iterated on later, if necessary.

MozReview-Commit-ID: 8PFqIOhzH77
2017-06-13 02:00:49 -04:00
Bill McCloskey ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Nicholas Nethercote a58025002f Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
This patch makes the following changes to the macros.

- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
  classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
  mostly misused.

- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
  universally available now anyway.

- Combines the first two string literal arguments of PROFILER_LABEL and
  PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
  them to be separate, and it forced a '::' in the label, which isn't always
  appropriate. Also, the meaning of the "name_space" argument was interpreted
  in an interesting variety of ways.

- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
  it clearer they construct RAII objects rather than just being function calls.
  (I myself have screwed up the scoping because of this in the past.)

- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
  the caller doesn't need to. This makes a *lot* more of the uses fit onto a
  single line.

The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).

- Fixes a bunch of labels that had gotten out of sync with the name of the
  class and/or function that encloses them.

- Removes a useless PROFILER_LABEL use within a trivial scope in
  EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
  any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
  a good idea.

- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
  done within them, instead of at their callsites, because that's a more
  standard way of doing things.
2017-06-22 17:08:53 +10:00
Carsten "Tomcat" Book 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
David Anderson 97fbf5b1fc Handle remote device resets by recreating the entire rendering stack. (bug 1363126 part 1, r=rhunt, ipc_r=billm) 2017-05-11 22:44:27 -07:00
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
vincentliu 2d5d641f41 Bug 1350330 - Make sure IPC channel still Open before sending IPC message. r=dvander 2017-04-17 15:50:42 +08:00
Kevin Chen 4d9eaec005 Bug 1350828 - Label CompositorForwarder; r=bevistseng,kats
MozReview-Commit-ID: 714oc4O8MNs
2017-03-29 13:49:20 +08:00
David Anderson 7ff89642e7 Collect diagnostics on paint times for the compositor overlay. (bug 1352151 part 1, r=mattwoodrow) 2017-04-10 19:44:45 -07:00
peter chang 12f701a514 Bug 1337889 - Add CompositorAnimationsId for layer animations, r=hiro
MozReview-Commit-ID: 4r9VhF4Vp2l
2017-02-08 14:31:45 -05:00
Matt Woodrow f8409228f1 Bug 1340117 - Batch ReadLock intializer into a separate IDPL message to avoid hitting the file descriptor limit. r=dvander 2017-02-27 16:12:12 +13:00
Markus Stange c68a00690b Bug 1340709 - Don't include ForwardTransaction time in the Rasterize tracing marker. r=mattwoodrow
MozReview-Commit-ID: ZKuARHuw68
2017-02-17 17:19:51 -05:00
Matt Woodrow ebbd7e515a Bug 1328797 - Part 3: Remove sync transactions entirely as they aren't used any more. r=nical 2017-02-16 11:31:18 +13:00
Matt Woodrow a5e7db88fc Bug 1328797 - Part 2: Don't use a sync transaction for DEALLOCATE_CLIENT. r=nical 2017-02-16 11:30:46 +13:00
Matt Woodrow 491e9420ca Bug 1328797 - Part 1: Don't use a sync transaction for RemoveTexture. r=nical 2017-02-16 11:28:24 +13:00
Matt Woodrow f3b2b42e4a Bug 1325227 - Part 10: Use blocking read locks instead of forcing a synchronous transaction when using ContentClientRemoteBuffer. r=nical 2017-02-14 21:10:36 +13:00
Matt Woodrow 53e1d350fc Bug 1325227 - Part 1: Remove synchronous transaction replies since they don't return any data we didn't already have. r=nical
MozReview-Commit-ID: 2HIbk65L7zR
2016-12-06 13:34:54 -10:00
David Anderson 4aaf871411 Only call LayerTransactionChild::Destroy on the main thread. (bug 1328633, r=mattwoodrow) 2017-02-08 07:21:45 -08:00
David Anderson 3b07e8a48a Send SimpleLayerAttributes separately from CommonLayerAttributes. (bug 1332567 part 6, r=mattwoodrow) 2017-01-24 16:41:18 -08:00
David Anderson ede0640985 Move OpSetLayerAttributes out of the Edit vector. (bug 1332567 part 4, r=mattwoodrow) 2017-01-24 16:41:18 -08:00
David Anderson ad69deadf5 Lump Paint operations separately from Edit operations. (bug 1332567 part 3, r=mattwoodrow) 2017-01-24 16:41:17 -08:00
David Anderson d46521f0e5 Move ScrollDirection to LayersTypes.h and make it a proper enum. (bug 1332567 part 1, r=kats) 2017-01-24 16:41:17 -08:00
David Anderson 02848eb570 Remove PCompositable. (bug 1323957 part 5, r=mattwoodrow) 2017-01-17 18:47:07 -08:00
David Anderson b1ad9c7a26 Link Compositables via IDs instead of actors. (bug 1323957 part 4, r=mattwoodrow) 2017-01-17 18:47:06 -08:00
David Anderson 01d296df20 Use CompositableHandle in ImageNotification. (bug 1323957 part 3, r=mattwoodrow) 2017-01-17 18:47:06 -08:00
David Anderson 2f41c61483 Move EditReply handling from ClientLayerManager to ShadowLayerForwarder. (bug 1323957 part 2, r=mattwoodrow) 2017-01-17 18:47:05 -08:00
David Anderson 31ae23d1eb Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow) 2017-01-17 18:47:05 -08:00
David Anderson f601d4f1a3 Don't double-copy the Edit list when forwarding transactions. (bug 1330531, r=mattwoodrow) 2017-01-12 09:49:30 -08:00
Ryan VanderMeulen 71eea2561a Backed out 6 changesets (bug 1323957) for intermittent GPU process leaks on a CLOSED TREE.
Backed out changeset 8fe93d5f82a8 (bug 1323957)
Backed out changeset 5d1615317a36 (bug 1323957)
Backed out changeset 1ec74a022e80 (bug 1323957)
Backed out changeset 0a97bbdd54d5 (bug 1323957)
Backed out changeset 70fab4f6d367 (bug 1323957)
Backed out changeset c5ca5b7fcacd (bug 1323957)
2017-01-11 23:09:14 -05:00
Ryan VanderMeulen 88a88a7924 Backed out 7 changesets (bug 1325227) to unblock the backout of bug 1323957.
Backed out changeset d6e962b025e6 (bug 1325227)
Backed out changeset 70136ced844e (bug 1325227)
Backed out changeset e21219e9638a (bug 1325227)
Backed out changeset a5d83d2b1632 (bug 1325227)
Backed out changeset f6c6ef5ac42c (bug 1325227)
Backed out changeset 1a604f87a342 (bug 1325227)
Backed out changeset d4827432cbc2 (bug 1325227)
2017-01-11 23:08:45 -05:00
Matt Woodrow d3bb8e0e07 Bug 1325227 - Part 7: Use blocking read locks instead of forcing a synchronous transaction when using ContentClientRemoteBuffer. r=nical 2016-12-08 16:43:55 -10:00
Matt Woodrow bd00c725ab Bug 1325227 - Part 1: Remove synchronous transaction replies since they don't return any data we didn't already have. r=nical 2016-12-06 13:34:54 -10:00
David Anderson fd2bfcead4 Remove PCompositable. (bug 1323957 part 5, r=mattwoodrow) 2017-01-11 09:20:55 -08:00
David Anderson 2688f79e55 Link Compositables via IDs instead of actors. (bug 1323957 part 4, r=mattwoodrow) 2017-01-11 09:20:54 -08:00
David Anderson 3be99bd32b Use CompositableHandle in ImageNotification. (bug 1323957 part 3, r=mattwoodrow) 2017-01-11 09:20:54 -08:00
David Anderson 764f8cdaca Move EditReply handling from ClientLayerManager to ShadowLayerForwarder. (bug 1323957 part 2, r=mattwoodrow) 2017-01-11 09:20:53 -08:00
David Anderson d3aff6adcb Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow) 2017-01-11 09:20:53 -08:00
David Anderson 57b434983c Simplify calling SendUpdate/SendUpdateNoSwap. (bug 1325993, r=nical) 2017-01-04 12:58:58 -05:00
David Anderson 35fa218998 Remove PLayer. (bug 1323539 part 2, r=mattwoodrow) 2016-12-21 10:43:47 -05:00
David Anderson bcbc238dbf Don't access ShadowableLayer from ClientLayer's destructor. (bug 1323539 part 1, r=mattwoodrow) 2016-12-21 10:43:04 -05:00
Matt Woodrow 26fae296aa Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00