Commit Graph

15 Commits

Author SHA1 Message Date
Nicholas Nethercote
723f585d9c Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.

The patch also removes a couple of unused declarations from
nsIStringBundle.idl.

Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.
2017-08-04 14:40:52 +10:00
Jared Wein
1c1767f018 Bug 1364221 - Allow frames to be prerendered as long as the area of the frame is less than the area of the relative limit and the dimensions are less than the absolute limit. r=mattwoodrow,mstange
MozReview-Commit-ID: C3QLjaCRbzE
2017-06-05 17:01:19 -04:00
Ryan VanderMeulen
835c2c6e8c Backed out changeset bb1542b364f2 (bug 1364221) for Android 4.2 x86 test_animation_performance_warning.html failures on a CLOSED TREE. 2017-05-26 15:37:14 -04:00
Jared Wein
5e690a4051 Bug 1364221 - Allow frames to be prerendered as long as the area of the frame is less than the area of the relative limit and the dimensions are less than the absolute limit. r=mattwoodrow,mstange
MozReview-Commit-ID: C3QLjaCRbzE
2017-05-23 17:41:06 -04:00
Wes Kocher
3b8bd0148f Backed out changeset f8c14563b37d (bug 1364221) for m(c1) failures in test_animation_performance_warning.html a=backout
MozReview-Commit-ID: 9vwi69eAZ5r
2017-05-19 14:01:47 -07:00
Jared Wein
d86708e6cc Bug 1364221 - Allow frames to be prerendered as long as the area of the frame is less than the area of the relative limit and the dimensions are less than the absolute limit. r=mattwoodrow
MozReview-Commit-ID: C3QLjaCRbzE
2017-05-18 14:52:31 -04:00
Jamie Nicol
f10b52ba06 Bug 1339578 - Remove min active layer size for animations; r=mattwoodrow
Even for very small layers we want to avoid doing work on the main
thread.

At the same time, however, increase the minimum active layer size for
animations which come from restyles. These involve the main thread
anyway, so there is less to be gained from using an active
layer. Since switching items between active and inactive can have
large knock-on effects, we want to make sure it really is worth making
the layer active.

MozReview-Commit-ID: 8N6xlVW4Dp3
2017-02-09 18:00:32 +00:00
Botond Ballo
1477e31dd9 Bug 1321412 - Allow controlling the size of the prerendered area via prefs. r=birtles,flod,mattwoodrow
Note that the default values of the prefs are chosen so as to preserve
existing behaviour.

The patch also updates a user-visible warning message, which was
already out of date as of bug 1274991.

MozReview-Commit-ID: AqBBoIucShT
2016-12-09 20:23:42 -05:00
Brian Birtles
a62719d68e Bug 1301305 - Add a performance warning type for transform animations that should be synchronized with geometric animations; r=hiro, r=flod
This patch adds a new performance warning type for the case when we start
a transform animation at the same time as an animation that includes a
geometric property. In that case we run the transform animation on the main
thread so that it is synchronized with the geometric animation (which we can
only run on the main thread).

This differs from CompositorAnimationWarningTransformWithGeometricProperties
in that this applies across different elements whilst the existing warning
only covers the case when the same animation animates both transform and
geometric properties.

MozReview-Commit-ID: EcOMo4VDAYY
2016-12-02 10:00:51 +09:00
Matt Woodrow
9a8304b054 Bug 1282312 - Part 2: Disable async animations when we have rendering observers. r=bbirtles 2016-07-29 17:58:32 +12:00
Hiroyuki Ikezoe
552e414c81 Bug 1267251 - Change message IDs for animation warnings. r=birtles,pbro
MozReview-Commit-ID: Fb93m5xt1Ey
2016-05-19 13:06:27 +09:00
Hiroyuki Ikezoe
6e4c5eef70 Bug 1258904 - Part 4: Set performance warning for small content. r=birtles
MozReview-Commit-ID: 7GyGkPog1Bo
2016-05-07 17:37:58 +09:00
Hiroyuki Ikezoe
af2cf73a66 Bug 1258904 - Part 3: Factor out ToLocalizedStringForKey. r=birtles
This function will be used for the warning of small content as well.
MozReview-Commit-ID: EiUF9CgWGDA
2016-05-07 17:37:57 +09:00
Hiroyuki Ikezoe
fcef6a7319 Bug 1218620 - Allow opacity animation running on compositor even if the frame has any restricted transforms. r=birtles
The type name has been changed and re-ordered.

MozReview-Commit-ID: 78jrJ6a9Pro
2016-03-14 09:07:48 +09:00
Hiroyuki Ikezoe
769661dcdd Bug 1196114 - Part 5: Store performce warning information as enum type. r=birtles
Each warning message is generated only when getPropertyState() is called.

MozReview-Commit-ID: C03ZSvPv9ff
2016-03-04 17:54:25 +09:00