Botond Ballo
6ca089f738
Bug 1259296 - Do not scroll snap on the main thread for wheel events handled by APZ. r=kats
...
MozReview-Commit-ID: DudrJuO4pFM
2016-04-04 17:46:12 -04:00
Kartikaya Gupta
93e4847520
Bug 1262151 - Back out bug 1259593 for causing worse checkerboarding in some cases. r=backout
2016-04-05 10:28:28 -04:00
Botond Ballo
f09f766e68
Bug 1259301 - Remove GeckoContentController::RequestFlingSnap(). r=kats
...
MozReview-Commit-ID: DRntzo1hohv
2016-03-30 21:11:00 -04:00
Botond Ballo
e8896f1d94
Bug 1219296 - Factor out the algorithm that computes a scroll snap destination into a reusable form. r=kats
...
MozReview-Commit-ID: KyU67pXEJus
2016-03-21 21:32:28 -04:00
Botond Ballo
dd4af74b0e
Bug 1219296 - Factor out scroll snap information into a form that's usable by the compositor. r=kats
...
MozReview-Commit-ID: DTvu7UsKsBg
2016-03-18 20:07:27 -04:00
Botond Ballo
aa2fd58a6a
Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
...
MozReview-Commit-ID: DymHOSI6yYK
2016-03-28 19:14:52 -04:00
Kartikaya Gupta
951cf39969
Bug 1259593 - Trim the displayport base rect to the size of the transformed root composition bounds, but without doing an intersection. r=tnikkel
...
MozReview-Commit-ID: G1CeplN7Mks
2016-03-31 23:51:38 -04:00
Masayuki Nakano
bb21917ed4
Bug 1259671 part.5 Rename InternalScrollPortEvent::orient to InternalScrollPortEvent::mOrient r=smaug
...
MozReview-Commit-ID: HHWPSAeeaPr
2016-03-30 17:48:23 +09:00
Masayuki Nakano
cd42f27444
Bug 1259671 part.4 Rename InternalScrollPortEvent::both to InternalScrollPortEvent::eBoth r=smaug
...
MozReview-Commit-ID: HL5phKZVYin
2016-03-30 17:39:56 +09:00
Masayuki Nakano
c168f0809a
Bug 1259671 part.3 Rename InternalScrollPortEvent::horizontal to InternalScrollPortEvent::eHorizontal r=smaug
...
MozReview-Commit-ID: JkT44G2FpUH
2016-03-30 17:33:16 +09:00
Masayuki Nakano
c3f5d1efc6
Bug 1259671 part.2 Rename InternalScrollPortEvent::vertical to InternalScrollPortEvent::eVertical r=smaug
...
MozReview-Commit-ID: 6OxTYqgZVUD
2016-03-30 17:24:57 +09:00
Masayuki Nakano
dd2f30cc11
Bug 1259671 part.1 Rename InternalScrollPortEvent::orientType to InternalScrollPortEvent::OrientType r=smaug
...
MozReview-Commit-ID: 4EmyQoIKdDy
2016-03-30 17:16:01 +09: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
958bd77f36
Bug 1259235 - Add IsScrollFrameWithSnapping to speed up event regions. r=mstange
...
MozReview-Commit-ID: KdWCkXHjHzZ
2016-03-23 17:16:38 -04:00
Xidorn Quan
ba620a636b
Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
...
MozReview-Commit-ID: 6xrHYbgHGVd
2016-03-17 13:55:48 +08:00
Xidorn Quan
289ca1f35e
Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
...
MozReview-Commit-ID: 4KMLCz6wQHQ
2016-03-17 12:07:47 +08:00
Robert O'Callahan
160ba37ce4
Bug 1242172. Invalidate intrinsic ISizes that depend on viewport BSize when the viewport is resized. r=dbaron
...
MozReview-Commit-ID: INEHo7ghGyz
2016-02-29 18:49:34 +13:00
Kartikaya Gupta
b67dbe454a
Bug 1256727 - Don't allow paint-skipping on pages with scroll-linked effects. r=mstange
...
MozReview-Commit-ID: I05EXDWOt6b
2016-03-17 15:43:17 -04:00
Kartikaya Gupta
c122b280b4
Bug 1255856 - Don't allow paint-skipping if there are windowed plugins on the page. r=mstange,jimm
...
MozReview-Commit-ID: BzQcUrSqCr5
2016-03-15 15:12:11 -04:00
Kartikaya Gupta
a8f103c954
Bug 1255705 - Add some useful logging that can be enabled at compile time. r=botond
...
MozReview-Commit-ID: KgjQMlY09Mn
2016-03-11 17:42:49 -05:00
Kartikaya Gupta
1b0954a823
Bug 1253860 - Don't update the scrollbar unless we're actually painting. r=mstange
...
MozReview-Commit-ID: 3JIcp2NFwRn
2016-03-09 22:57:15 -05:00
Kartikaya Gupta
3e57f3dfcc
Bug 1253860 - Skip paints for main thread scrolls if we can ask APZ to handle the scrolling for us. r=mstange
...
MozReview-Commit-ID: LqugzganLru
2016-03-09 22:57:15 -05:00
Kartikaya Gupta
344813f69a
Bug 1253860 - Add a flag on scroll frames indicating if they have an APZ counterpart. r=mstange
...
MozReview-Commit-ID: EEmdmjrbG3O
2016-03-09 22:57:14 -05:00
Kartikaya Gupta
d8f0ddf33a
Bug 1254263 - Add a flag to allow disabling paint-skipping. r=mstange
...
MozReview-Commit-ID: 4bgvqEZcSWy
2016-03-07 16:25:00 -05:00
Jim Mathies
2ee4b50a96
Bug 1232181 - Notify plugins about scroll state. r=roc
2016-03-01 12:48:26 -06:00
Botond Ballo
f28bdb01dc
Bug 1250550 - Ensure a scroll event posted during a refresh driver tick fires during that same tick. r=mats
...
MozReview-Commit-ID: 1ZvYjA6a5ay
2016-02-24 18:20:40 -05:00
Kartikaya Gupta
0ae4c1c9a4
Back out cset 447498cdecee for landing the wrong patch (it was obsoleted by a new one).
...
MozReview-Commit-ID: HOLKux4OtCQ
2016-03-01 09:38:55 -05:00
Botond Ballo
8a9c37e5b8
Bug 1250550 - Ensure a scroll event posted during a refresh driver tick fires during that same tick. r=mats
...
MozReview-Commit-ID: 1ZvYjA6a5ay
2016-02-24 18:20:40 -05:00
Jamie Nicol
1190904d23
Bug 1247098 - Take document resolution into account when computing root composition bounds for displayport base. r=tnikkel
...
nsLayoutUtils::CalculateCompositionSizeForFrame() is not affected by the
document resolution when called for the root content document's root
scroll frame. When determining the root composition bounds in order to
calculate a displayport base, if the frame used is the RCD-RSF we must
be sure to scale the bounds ourselves by the document resolution.
MozReview-Commit-ID: ATctmEYvWIJ
2016-02-24 15:30:10 +00:00
Kartikaya Gupta
935f7e1ee5
Bug 1243267 - Guard against reentrancy into the dispatch of a scroll event. r=mats
...
MozReview-Commit-ID: 5saxPwxOuc8
2016-02-22 14:14:20 -05:00
Jamie Nicol
1256824ee6
Bug 1246443 - Only restrict displayport base to root composition bounds if content has displayport; r=tnikkel
...
Bug 1241917 made it so that a subframe's displayport base is restricted
to the root composition bounds (in addition to its previous
restrictions). This involved an expensive coordinate transformation
causing a scrolling performance regression.
This avoids restricting the displayport base to the root composition
bounds unless the frame has a display port, avoiding the expensive
computation unless necessary.
MozReview-Commit-ID: FVacUscAfu2
2016-02-09 13:53:27 +00:00
Timothy Nikkel
c37fab9118
Bug 1246443. Don't make nsLayoutUtils::MaybeCreateDisplayPort also set the displayport base anymore. r=botond
...
It's not obvious that it does this (unless you read the comment or the code), and we don't gain much by doing it.
Also we need to split it up for the next patch in this bug.
2016-02-12 16:58:34 -06:00
Kartikaya Gupta
68ddf244f3
Bug 1245925 - Don't allow expiring the displayport on root scrollframes. r=tnikkel
...
MozReview-Commit-ID: 8LGsk9uKyL5
2016-02-10 17:11:28 -05:00
Kartikaya Gupta
2139025336
Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond
...
MozReview-Commit-ID: HZMavMJNtmq
2016-02-10 16:31:20 -05:00
Kartikaya Gupta
8858348a74
Bug 1104356 - When doing a smooth scroll on a non-APZ'd scrollframe, fall back to the main thread machinery. r=kip
2016-02-05 17:09:30 -05:00
Jamie Nicol
b308770ac0
Bug 1241917 - Restrict subframe's displayport base to root composition bounds. r=tn
...
Previously displayport bases were computed as the intersection of the
scrollport with the dirtyrect. However the dirtyrect covers what is
rendered, and with displayports what we render can be much larger than
what is visible. With displayport bases intended to represent what was
visible, this was a problem. By restricting them to the root composition
size this makes them more closely match what is visible. To do this more
properly we'd want to intersect the dirtyrect with the scroll clip of
every ancestor scroll frame, not just the root composition bounds.
2016-02-04 17:53:56 +00:00
Kartikaya Gupta
23b63e0d6f
Bug 990916 - On displayport expiry, trigger another round of expiry up the ancestor chain. r=tnikkel
2016-02-03 19:13:35 -05:00
Kartikaya Gupta
ba4a7c0c09
Bug 990916 - When setting a displayport, schedule a timer to remove it as well. r=tnikkel
2016-02-03 19:13:35 -05:00
Kartikaya Gupta
8bba4af136
Bug 990916 - Track if a scrollframe is a scroll parent for something else. r=tnikkel
2016-02-03 19:13:35 -05:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Jim Mathies
25bd998907
Bug 1243413 - Avoid hiding windowed plugins that aren't contained within the active scroll frame. r=roc
2016-02-01 16:50:57 -06: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
Ting-Yu Lin
60711ad8f1
Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
2016-01-29 22:42:15 +08:00
Ting-Yu Lin
122e5b9aeb
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
2016-01-29 22:42:14 +08:00
CJKu
d5371994d3
Bug 686281 - Implement nsStyleImageLayers; r=dbaron
2016-01-28 06:24:00 +01:00
Xidorn Quan
0f1150d793
Bug 1064843 part 5 - Ensure frames behave properly for unknown child list id passed into SetInitialChildList. r=dholbert
...
Note that nsMathMLContainerFrame and its subclasses are unchanged since
they are not target of fullscreen (and thus no backdrop frame), and they
have an assertion to ensure we really don't pass any unexpected list in.
2016-01-28 10:11:00 +11:00
Timothy Nikkel
ec740ce090
Bug 1241371. Don't schedule an image visibility update every time display port margins change. r=kats
...
Displayport margins change by small amounts on almost every single scroll. We do not want to update image visibility nearly that often.
As the comment, and the original bug (bug 1169881) suggest this is only meant to catch rather large changes in display ports as we already have means to trigger an image visibility update via a scroll position change and via any style or layout flush.
2016-01-22 00:29:17 -06:00
Timothy Nikkel
39e95d6ca1
Bug 1241371. Properly update mLastUpdateImagesPos on scrollframes when the image visibility pass encounters them. r=mats
...
This is a regression from bug 1002992 where we switch from the display list builder to the frame tree walker and didn't update mLastUpdateImagesPos in the frame walker.
2016-01-21 19:09:04 -06:00