Commit Graph

347 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
ea2a9e92f1 Merge mozilla-central to mozilla-inbound 2016-09-23 12:38:03 +02:00
Joel Maher
dc82a36645 Backout 472858f465b0 (Bug 1290158) for perf regression.
MozReview-Commit-ID: 92eO5YtKLoj
2016-09-23 06:20:33 -04:00
Daniel Holbert
e14eb670ea Bug 1304540 part 2: Use nsCOMPtr/RefPtr (and their forget() API) instead of manual NS_ADDREF macros, in a few files within layout. r=mats
MozReview-Commit-ID: SrJNtbwc1B
2016-09-21 15:41:26 -07:00
Nicolas Silva
b5d811849f Bug 1303369 - Disable the nsRefreshDriver warnings while false positives are investigated. r=milan 2016-09-20 16:25:52 +02:00
Nicolas Silva
2bc6a5b9ee Bug 1302713 - Adapt the refresh driver warning threshold to the build target. 2016-09-15 22:48:48 +02:00
Nicolas Silva
3b7cda41dd Bug 1302713 - Reduce the amount of false positive in the refresh driver warnings. r=mchang 2016-09-15 22:48:39 +02:00
Neil Rashbrook
64d79b3dcf Bug 1290158 Don't generate synthetic paint events for invisible documents r=mattwoodrow 2016-09-14 15:55:45 +01:00
Olli Pettay
2d8d5268a8 Bug 1297367 - Call iCC slice and forgetSkippable right after paint, r=mccr8 2016-09-12 14:00:15 -07:00
Olli Pettay
afa67bb641 backout Bug 1297367 because of tart regression, r=backout 2016-09-13 08:47:20 -07:00
Nicolas Silva
3df2d5ed10 Bug 1298085 - Don't unthrottle the refresh driver after 200ms when waiting for compositor transactions. r=mchang 2016-09-09 12:06:29 +02:00
Olli Pettay
6454577467 Bug 1297367 - Call iCC slice and forgetSkippable right after paint, r=mccr8 2016-09-12 14:00:15 -07:00
Ryan VanderMeulen
9400093a44 Backed out changeset 649c62d13b57 (bug 1297367) for causing talos regressions.
CLOSED TREE
2016-08-25 08:41:52 -04:00
Olli Pettay
ab97380727 Bug 1297367 - Call iCC slice and forgetSkippable right after paint, r=mccr8 2016-08-24 02:50:50 +03:00
Kan-Ru Chen
a9b19d0584 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Mason Chang
127139a011 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Mason Chang
768d97be3e Bug 1294121 - Backed out changeset 635d266614ad for windows build failures. r=me. CLOSED TREE 2016-08-16 09:17:25 -07:00
Mason Chang
1d9aabb4aa Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Mason Chang
ca5b51516e Backed out changeset aaaab9a073a4 for build failures. r=me 2016-08-15 20:38:40 -07:00
Mason Chang
4eda31bf6b Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-15 19:59:26 -07:00
Alexandre Lissy
b2834a3543 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6
2016-08-02 14:54:00 +02:00
Emilio Cobos Álvarez
d3a2ca57e6 Bug 1285474: Add mozilla::RestyleManagerBase to share logic between RestyleManager and ServoRestyleManager. r=bholley
Partially implement some restyling APIs to take rid of some gecko-only code
paths.

MozReview-Commit-ID: L5i6Kr2Qars
2016-07-12 00:33:57 -07:00
Nathan Froyd
b89e7ed3e4 Bug 1278925 - micro-optimize nsCOMArray appending with already_AddRefed AppendElement; r=erahm
In all of the places touched by this patch, the smart pointer we're
appending is about to become unused, so simply .forget()'ing its
reference into the appropriate nsCOMArray works just fine.
2016-06-20 18:38:10 -04:00
Andrea Marchesini
7dcf0fcf39 Bug 1278838 - Remove separate worker binding for Performance API, r=smaug 2016-06-09 19:04:42 +02:00
Kyle Huey
5ab92d5a2b Bug 1273737: Fix typo introduced when addressing review comments. r=me 2016-06-06 06:53:41 -07:00
Kyle Huey
ab5fe91f6b Bug 1273737: Shutdown the refresh driver when there are no more refresh drivers. r=dbaron,mchang 2016-06-06 06:51:15 -07:00
Kyle Huey
b972c94d0f Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Xidorn Quan
1a169dea39 Bug 1267568 part 4 - Replace InFullscreenChange flag of PresShell with IsResizeSuppressed flag in RefreshDriver. r=smaug
MozReview-Commit-ID: FB3vGXwKZ9O
2016-05-03 17:58:57 +10:00
Carsten "Tomcat" Book
aadd508ffe Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Mike Conley
d6ec983152 Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
MozReview-Commit-ID: 7wCYif8F6ws
2016-04-13 16:59:15 -04:00
Seth Fowler
0f24c44100 Bug 1157546 - Replace the image visibility API with a more general API that tracks visibility for any kind of frame. r=mstange 2016-03-25 14:49:43 -07:00
Benoit Girard
67ffec25f7 Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
MozReview-Commit-ID: K5PTxUqU9E6
2016-03-14 11:50:55 -04:00
David Anderson
75884c18af Ensure that content processes recreate rendering devices. (bug 1245765 part 8, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
Cameron McCormack
cbb5f757f4 Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert 2016-02-24 18:01:12 +11:00
Cameron McCormack
471cf640eb Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert 2016-02-24 18:01:12 +11:00
Carsten "Tomcat" Book
dd66150836 Bug 1243583 - ensure transition events are dispatched to all the relevant subdocuments, r=dholbert 2016-02-10 14:21:26 +01:00
Birunthan Mohanathas
bfee0fb40c Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Hiroyuki Ikezoe
cdd75e42cf Bug 1235478 - Part 2: Don't update mMostRecentRefresh when nsRefreshDriver::ScheduleViewManagerFlush is called. r=mchang 2016-01-05 12:50:59 +09:00
Hiroyuki Ikezoe
a1055ecf14 Bug 1235478 - Part 1: Rename eAdjustingTimer to eForceAdjustTimer. r=mchang 2016-01-05 12:50:59 +09:00
Phil Ringnalda
d871b9515f Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
e95edb30a9 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
David Rajchenbach-Teller
6ddd95efcc Bug 1219144 - Using the nsRefreshDriver's jank indication for performance monitoring;f?froydnj r=froydnj
This patch (currently WIP) alters the way we determine whether jank is user-visible or not.

Instead of measuring the total time spent doing JS, we now use an
indicator provided by the vsync driver: how long it takes to deliver
the signal from the vsync timer to the main thread. This lets us find
out more accurately if there is user-visible jank. In the future, this
will also let us add an observer to find out whether the process
itself is janky, regardless of JS.
2016-01-14 15:07:18 +01:00
Sylvestre Ledru
1f07806bda Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
Timothy Nikkel
b384bc3f34 Bug 1241651. Remove nsPresContext::GetDisplayRootPresContext. r=mattwoodrow
It should no longer serve any purpose different from nsPresContext::GetRootPresContext.
2016-01-21 19:09:04 -06:00
Aidin Gharibnavaz
d457460d0c Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.
2016-01-12 07:49:08 +03:30
Brian Birtles
57ae13b35d Bug 1232577 part 15 - Drop LastStyleUpdateForAllAnimations flag from pres context; r=heycam
nsPresContext contains a mLastStyleUpdateForAllAnimations flag which is simply
used to prevent unnecessarily posting restyles when throttled animations are
already up to date. Since part 13 we now accurately record whether we have
posted a restyle for each throttled animation and only post a restyle if we
have not done so already. As a result, this flag is no longer needed since
calling PostRestyleForThrottledAnimations is effectively a noop when throttled
animations are up-to-date.
2016-01-13 07:54:55 +09:00
Wes Kocher
b6be336cce Backed out 2 changesets (bug 1235478) for possibly breaking weightmapping-12579.html CLOSED TREE
Backed out changeset 02784824ebf1 (bug 1235478)
Backed out changeset 02c3c24dff8c (bug 1235478)
2016-01-05 16:48:24 -08:00
Hiroyuki Ikezoe
94c711598d Bug 1235478 - Part 2: Don't update mMostRecentRefresh when nsRefreshDriver::ScheduleViewManagerFlush is called. r=mchang 2016-01-05 12:50:59 +09:00
Hiroyuki Ikezoe
fbe01ca32a Bug 1235478 - Part 1: Rename eAdjustingTimer to eForceAdjustTimer. r=mchang 2016-01-05 12:50:59 +09:00