Commit Graph
1107 Commits
Author SHA1 Message Date
Andrew McCreight e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote 40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Kartikaya Gupta d25f5781d1 Bug 1127773 - Use the entire scrollable overflow rect so that scrolledframes build event regions more correctly. r=tn
(Patch dictated by roc)
2015-02-05 08:25:49 -05:00
Markus Stange 0f1b28336d Bug 1045213 - Add nsITheme::ThemeGeometryTypeForWidget. r=roc 2015-02-04 17:25:18 -05:00
Markus Stange 3d975ddbfc Bug 1045213 - Use vibrancy effect for context menus. r=smichaud 2015-02-04 17:25:18 -05:00
Kartikaya Gupta 426b7c5caa Bug 1126876 - Prevent subdocuments inside a pointer-events:none frame from building event regions. r=roc,tn 2015-02-03 10:52:51 -05:00
Brian Birtles 13984e7363 Bug 1123196 part 2 - Don't resolve pending animations for nested calls to PaintRoot; r=mattwoodrow
We resolve pending animations when painting has finished in
nsDisplayList::PaintRoot. However, in the process we can trigger nested calls to
PaintFrame (e.g. due to use of -moz-element). In that case, we shouldn't resolve
pending animations until we complete the widget transaction.

This patch adds a check that we're in a widget transaction before we resolve
pending animations.
2015-02-03 14:08:37 +09:00
Brian Birtles 810743749e Bug 1123196 part 1 - While player is waiting to start, return its pending start time; r=jwatt
After starting layer animations we set the same start time on content
animations but we don't apply it until the next tick (see bug 1112480 for
background). However, in some circumstances, we can end up creating layer
animations again within the same refresh driver tick. In this case, we should
initialize the animations with the same start time as we previously used.

This patch exposes the pending start time set on content animations so that,
if set, we can use it when building layer animations.
2015-02-03 14:08:37 +09:00
Markus Stange 4298b48559 Bug 1088605 - Check for root chrome documents instead of just root documents, since e10s content documents are root. r=roc 2015-02-02 15:11:15 -05:00
Markus Stange bd39aef504 Bug 1088605 - Don't create nsDisplayClearBackground in subdocuments. r=roc 2015-02-02 15:10:53 -05:00
Paul Rouget ef19109268 Bug 1118169 - Support -moz-window-dragging:drag in HTML. r=mstange r=bz 2015-02-02 15:10:51 -05:00
Timothy Nikkel 299af0222c Bug 1107843. When computing the transform matrix for a preserve-3d child just include the final translation right away, instead of doing two translations that add and subtract to increase the accuracy. r=mattwoodrow 2015-02-01 17:12:14 -06:00
Kartikaya Gupta d00963ed70 Bug 1124452 - Make it work without containerless-root, too. r=tn 2015-01-28 13:28:28 -05:00
Kartikaya Gupta 57dddf20e0 Bug 1116588 - Don't optimize away opacity:0 items if we're building event regions, unless the frame also has pointer-events:none. r=tn 2015-01-28 17:42:23 -05:00
Kartikaya Gupta 7e20cf1bf0 Back out bug 1116588 for introducing the regression in bug 1126427. r=me 2015-01-28 08:58:47 -05:00
Kartikaya Gupta e3e7f4b706 Bug 1116588 - Remove an optimization codepath that prevents building event-regions correctly. r=tn 2015-01-26 09:46:33 -05:00
Markus Stange 82573d9086 Bug 1104036 - Make -moz-window-dragging work in rectilinear 2d transforms. r=roc 2015-01-23 13:07:51 -05:00
Kartikaya Gupta 1f5f8b9295 Bug 1119942 - Hoist nsDisplayScrollInfoLayer items out of inactive layermanagers into their parent. r=tnikkel,mattwoodrow 2015-01-20 09:49:30 -05:00
Kartikaya Gupta 1812fa53a5 Bug 1119942 - Stop generating scrollinfo layers if event-regions are enabled. r=tnikkel,botond 2015-01-20 09:49:30 -05:00
Julian Seward ef43533a8d Bug 1122375 - Fixes to avoid Valgrind false positives with gcc-4.9.x -O2 builds (part 1). r=roc. 2015-01-20 10:42:29 +01:00
Surabhi Anand b5b1e8520c Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats 2015-01-16 16:15:52 -05:00
Kartikaya Gupta 05135a54fc Bug 1121033 - Respect mozpasspointerevents when building event regions. r=roc 2015-01-15 10:37:54 -05:00
David Anderson 077e04d5dc Fix classic scrollbars getting occluded with containerless scrolling. (bug 1100756, r=roc) 2015-01-13 23:55:17 -08:00
Gregor Wagner 9621fe881b Bug 1103106 - Make assertion failure: !mWillChangeBudgetCalculated non fatal. r=benwa 2015-01-09 13:29:43 -08:00
Robert O'Callahan 63620f3830 Bug 1111753. Don't restrict the dirty rect stored for display items for out-of-flow elements to their visual overflow areas. r=tn 2014-12-22 16:09:32 +13:00
Brian Birtles a6dbfaae27 Bug 1112480 part 6 - Make PendingPlayerTracker call StartOnNextTick; r=jwatt
This patch switches on the new, "actually start the player in the next refresh
driver tick" behavior. It updates PendingPlayerTracker, adding
a StartPendingPlayersOnNextTick method which calls the appropriate method on
AnimationPlayer. The existing StartPendingPlayers is renamed to
StartPendingPlayersNow and is used for testing only.

Furthermore, since we now expect AnimationPlayer::StartOnNextTick to be
functional, AnimationPlayer::DoPlay is updated to use it when there is no
document available. This should make playing an animation player always
asynchronous, that is, always transition to the pending state temporarily
(unless we are already playing).
2015-01-09 07:57:58 +09:00
Botond Ballo 70e324a117 Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn 2015-01-02 20:06:14 -05:00
Benoit Girard 2dd292c6c0 Bug 1113837 - Build display-list dumping without MOZ_DUMP_PAINTING. r=mstange 2014-12-31 15:17:39 -05:00
Wes Kocher 51972ce22f Merge m-c to inbound a=merge 2014-12-30 16:04:20 -08:00
Kushan Joshi b4d526cbbf Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats 2014-12-30 14:07:57 -05:00
Kartikaya Gupta 01ebf34437 Bug 1098654 - Add a cache for animated geometry roots on the display list builder. r=roc 2014-12-30 09:40:01 -05:00
Leonid V. Fedorenchik 0f3923a572 Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats 2014-12-27 12:48:27 -05:00
Yan Gouts f75d626d81 Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats 2014-12-23 10:35:58 -05:00
Brian Birtles a81d454810 Bug 927349 part 19 - Don't add pending animations to layers when their refresh driver is under test control; r=jwatt 2014-12-22 09:35:42 +09:00
Brian Birtles 23dfa5deff Bug 927349 part 13 - Update start times on animations in layers when the animation ready time is resolved; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles 1a62e663b4 Bug 927349 part 12 - Store the initial time of animations on layers so start times can be resolved after-the-fact; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles 61d33978cb Bug 927349 part 11 - Pass the animation ready time to the pending player tracker; r=jwatt 2014-12-22 09:35:41 +09:00
Prabhjyot Singh Sodhi cd58e9ca1d Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
David Anderson aa28e5e029 Allow containerless scrolling for root scroll frames, too. (bug 1076192, r=tn) 2014-12-17 15:37:28 -08:00
Prabhjyot Singh Sodhi 560e8eee1c Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats 2014-12-17 17:14:05 -05:00
David Anderson cb2a74f5d4 Don't treat event regions as opaque for plugin geometry. (bug 1109424, r=roc) 2014-12-11 00:37:02 -08:00
Benoit Girard 55a0d64e6e Bug 1092320 - Log a warning to the console when will-change is out of budget. r=dbaron,khuey 2014-11-22 00:35:20 -05:00
David Anderson b4d046c803 Add scroll listeners to dispatch-to-content regions. (bug 1013432 part 5, r=tn) 2014-12-09 02:38:23 -08:00
Brian Birtles 425585e10c Bug 1104427 part 2 - Encapsulate AnimationPlayer::mStartTime; r=dholbert
Now that there is a public accessor for mStartTime, we can make it a protected
member of AnimationPlayer. The only time mStartTime is ever set is when playing
the animation so we can replace external modifications to mStartTime with calls
to Play(). This simplifies implementing deferred starting of animations
in bug 927349 by isolating the deferred playback logic to AnimationPlayer.

Note that even when we call PauseFromStyle immediately afterwards we still need
to call PlayFromStyle (or Play) first in order to resolve the time at which the
player should be paused. A newly created player doesn't have a current time so
if we were simply to call pause it wouldn't pause at the start of the animation
as we might expect. The call to Play(FromStyle) will cause the current time to
become zero and then we pause at that time.
2014-12-04 08:28:38 -08:00
Kartikaya Gupta 0591c3233f Bug 1106537 - Ensure the current animated geometry root is initialized properly. r=tn 2014-12-03 07:20:32 -08:00
Robert O'Callahan 88161ea5e1 Bug 1098266. Set correct visible rect on nsDisplayOpacity items that are shuffled around during preserve-3d display list wrapping. r=tn 2014-11-24 14:03:49 +13:00
Ryan VanderMeulen ec3e53f81f Merge m-c to b2g-inbound. a=merge 2014-11-25 17:01:49 -05:00
Kartikaya Gupta 745c51b007 Bug 1104099 - Exclude non-visible frames from the LayerEventRegions. r=mstange,tn 2014-11-25 15:26:48 -05:00
Kartikaya Gupta 5d08b636f9 Bug 1104266 - Add logging of nsDisplayLayerEventRegions fields in the display list dump. r=mattwoodrow 2014-11-25 08:45:20 -05:00
Kartikaya Gupta 4f6dd5e3ef Bug 1104266 - Avoid needless temporary nsACString. r=mattwoodrow 2014-11-25 08:45:19 -05:00