Nicolas Silva
3766bcc94a
Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond
2016-07-26 16:48:30 +02:00
Botond Ballo
54a6afcc58
Bug 1285619 - Call ResetLayerStateForRecycling() when recycling an image or color layer. r=mstange
...
MozReview-Commit-ID: GD4NRCoJXWf
2016-07-08 17:25:09 -04:00
Botond Ballo
ec176fc06b
Bug 1285619 - Call ResetLayerStateForRecycling() when recycling an OwnLayer. r=mstange
...
MozReview-Commit-ID: 66J6wBcrYDQ
2016-07-08 17:24:48 -04:00
Botond Ballo
511e230007
Bug 1285619 - Introduce a ResetLayerStateForRecycling() helper function. r=mstange
...
MozReview-Commit-ID: DLktq4PYNba
2016-07-08 16:30:47 -04:00
Matt Woodrow
dc6aadd7ec
Bug 1217803 - Always build a mask layer if we have rounded corners, regardless of the visible region since this might change on the compositor. r=mstange
2016-07-25 14:41:25 +12:00
Kartikaya Gupta
68edabd58a
Bug 1286957 - Because combining touch-action areas into the event regions is fraught with peril, dump them into the dispatch-to-content region. r=tnikkel
...
MozReview-Commit-ID: FOyCEFP3Hw6
2016-07-20 19:02:09 -04:00
Brad Werth
69ccb7e3db
Bug 1243559 - Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
2016-06-21 13:17:11 -07:00
Phil Ringnalda
ae1f6b874d
Back out changeset 0bb00282a4c2 (bug 1243559) for widespread SVG assertion failures
...
CLOSED TREE
2016-06-22 18:45:08 -07:00
Brad Werth
665cd94da6
Bug 1243559 - Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
2016-06-21 13:17:11 -07:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Nicholas Nethercote
a41e57a9b1
Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
...
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.
2016-06-07 09:39:56 +10:00
Kartikaya Gupta
684a33e791
Bug 1108052 - Remove empty event regions display items because they only slow things down and can add extraneous layers. r=mstange
...
MozReview-Commit-ID: JkXGiudjBpe
2016-06-03 10:20:38 -04:00
Markus Stange
1306d88d10
Bug 1272801 - Remove unused aForceOwnLayer argument. r=mattwoodrow
...
MozReview-Commit-ID: JytuAlukyy8
2016-06-02 16:44:32 -04:00
Markus Stange
0ecc6c3a60
Bug 1153694 - Don't let nsDisplayFixedPosition cause unnecessary layerization around itself. r=mattwoodrow
...
MozReview-Commit-ID: 66q3PkOdvTe
2016-06-02 20:55:02 -04:00
Jamie Nicol
cd0b448cac
Bug 1274528 - Don't enforce layers.max-active when layerizing items with different AGRs. r=mstange
...
This reverts bug 1231818, as it caused problems with async scrolling on
pages with too many active layers.
MozReview-Commit-ID: 8eGjn4fzWFb
2016-05-27 16:29:19 +01:00
Botond Ballo
9c5832b18e
Bug 1273250 - Simplify logic for determining whether a display item should be fixed to thew viewport. r=mstange
...
MozReview-Commit-ID: 3tXhaBnNa0K
2016-05-16 19:49:49 -04:00
Botond Ballo
60f8c66ad8
Bug 1273250 - Set a layer clip rather than a scroll clip for fixed background layers if the clip moves with the layer. r=mstange
...
This patch also removes the earlier workaround added in bug 1272525.
MozReview-Commit-ID: HR2wF2BGsKl
2016-05-16 17:20:23 -04:00
Botond Ballo
c6e111ddc3
Bug 1273250 - Expand the visible rect of fixed background display items instead of special-casing them in FrameLayerBuilder. r=mstange
...
MozReview-Commit-ID: DT3Mh8ordzQ
2016-05-16 17:14:29 -04:00
Kan-Ru Chen
61c6c69c00
Bug 1271931 - Make DisplayItem::IsUniform to return Maybe<nscolor>. r=tnikkel
...
Maybe<nscolor> ensures that correct value is returned and also makes the
error checking clearer than using a out param.
MozReview-Commit-ID: 39uHIFCZzqn
2016-05-19 16:07:52 +08:00
Matt Woodrow
bf56f1a52a
Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
2016-05-18 15:12:44 +12:00
Matt Woodrow
40f381ecb5
Bug 1141468 - Don't attempt to modify prerender state (for will-change) in nsDisplayTransform since it's already too late. r=BenWa,mstange
2016-05-18 15:12:14 +12:00
Kartikaya Gupta
293850fcb3
Bug 1271432 - Optimization to avoid recomputing the same Matrix over and over. r=tnikkel
...
MozReview-Commit-ID: 28lV5ZRswxu
2016-05-17 11:05:46 -04:00
Kartikaya Gupta
564a901e6f
Bug 1271432 - When combining event regions across layers, don't expand the regions that shouldn't be expanded. r=tnikkel
...
MozReview-Commit-ID: 6GlYiJAm7rO
2016-05-17 11:05:46 -04:00
Botond Ballo
14f8a3e5ce
Bug 1272525 - Set a layer clip rather than a scroll clip for fixed background layers if not using a widget layer manager. r=mstange
...
MozReview-Commit-ID: 2fJyQXSLzsU
2016-05-16 14:15:48 -04:00
Botond Ballo
a8eb3b8312
Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: LicG7zFHnX3
2016-05-04 20:07:42 -04:00
Botond Ballo
04d4b26790
Bug 1267438 - For fixed backgrounds, use the scrolled clip rather than the isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: 9STe7ypglpP
2016-05-06 19:02:26 -04:00
Botond Ballo
806b09761e
Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
...
MozReview-Commit-ID: DwdbSRdEMEc
2016-05-06 19:34:16 -04:00
Botond Ballo
38fa31a24e
Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
...
MozReview-Commit-ID: 6W0GZYkioov
2016-04-29 16:14:21 -04:00
Sotaro Ikeda
d967dd2cad
Bug 1252405 - Reduce MaskLayer's memory usage r=mattwoodrow
2016-05-10 03:18:11 -07:00
Botond Ballo
a6fa0406e7
Backed out 12 changesets (bug 1267438) for Android reftest failures on a CLOSED TREE. r=backout
...
MozReview-Commit-ID: LlibhRhbyVO
2016-05-10 04:27:31 -04:00
Botond Ballo
e8c671786a
Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: LicG7zFHnX3
2016-05-04 20:07:42 -04:00
Botond Ballo
a260ec0210
Bug 1267438 - For fixed backgrounds, use the scrolled clip rather than the isClipFixed=false annotation. r=mstange
...
MozReview-Commit-ID: 9STe7ypglpP
2016-05-06 19:02:26 -04:00
Botond Ballo
c0d82b678a
Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
...
MozReview-Commit-ID: DwdbSRdEMEc
2016-05-06 19:34:16 -04:00
Botond Ballo
22cb05c9d2
Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
...
MozReview-Commit-ID: 6W0GZYkioov
2016-04-29 16:14:21 -04:00
Markus Stange
c2ca4f6d82
Bug 1266161 - Make DrawForcedBackgroundColor fill the entire draw region, not just the layer's visible region. r=mattwoodrow
...
We need to do this because the entire draw region will be added to the layer's
valid region after drawing. If there are parts in the valid region that are not
in the visible region, we still need those parts to have valid content, because
in a later frame the visible region may grow to include those parts.
MozReview-Commit-ID: 6zESYbPAmrx
2016-05-06 13:53:56 -04:00
Kartikaya Gupta
2a837fb554
Bug 1264592 - When doing thumbnails for fennec, don't mark frames as painted because it can interfere with tests. r=mstange
...
MozReview-Commit-ID: KOhZZV3aSLv
2016-05-06 10:31:11 -04:00
Matt Woodrow
ef670a499e
Bug 1266380 - Don't try to untransform visible regions for inactive perspective layers. r=thinker
2016-04-28 17:05:46 +12:00
Kartikaya Gupta
b95164635e
Bug 1231396 - Add a pref to record and print out the number of pixels painted. r=mstange
...
MozReview-Commit-ID: 2qqnL6rqjcL
2016-04-19 17:07:57 -04:00
Markus Stange
655c53f569
Back out bug 1164227, because bug 1236043 fixes the original problem in a better way.
...
MozReview-Commit-ID: F4bD1MvOWDR
2016-03-28 18:37:07 -04:00
Milan Sreckovic
dd0830c93c
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
2016-04-12 15:18:11 -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
Mantaroh Yoshinaga
cef797a3fa
Bug 1215180 - Modify the scale calculate in order to prevent blurry of animation transform. r=mstange
2016-03-23 16:18:00 -04:00
Markus Stange
0d57201020
Bug 1209100 - Back out bug 1165185 on inbound.
...
MozReview-Commit-ID: JqohyXNvjiU
2016-03-21 16:16:52 -04:00
Benoit Girard
bca7a995e1
Bug 1256373 - Simplify mMaybeHitRegion. r=tnikkel
...
MozReview-Commit-ID: 1Px20e5EWRj
2016-03-16 15:27:19 -04:00
Sotaro Ikeda
3aa4e37cc3
Bug 1245552 - Align MaskLayer surface to 4 r=mattwoodrow
2016-03-16 18:54:38 -07:00
Matt Woodrow
f9b1c63d6c
Bug 1220466 - Avoid doing unnecessary layer building work for inactive layers. r=mstange
2016-03-10 13:56:52 +13:00
Markus Stange
29fd98884e
Bug 1221094 - Detect scrollability (for using tiled layers) through container layers. r=mattwoodrow
...
MozReview-Commit-ID: 6Z8pniahhbP
2016-03-08 14:43:32 -05:00
Markus Stange
c7f1bb1f91
Bug 1221094 - Don't mutate local mParameters with stuff that we only want to pass somewhere else. r=mattwoodrow
...
MozReview-Commit-ID: FV0HxrrWfHW
2016-03-08 14:43:15 -05:00
Markus Stange
8de4604c1b
Bug 1247854 - Apply the correct scroll clips to the nsDisplayTransform and nsDisplayPerspective of a scrolled perspective item. r=mattwoodrow
...
I've decided to fix this in a very explicit way. The only "magic" part that's
left is how we decide that the AGR of the perspective item is outside the
scrolled frame (and I'm not sure myself how that works).
I didn't want to change what scroll clips we set on what items, because the
scroll clip really belongs on the perspective item, because that's the item
that needs to be clipped, and it should also be the item that should be
scrolled if it weren't for the fact that APZ wouldn't know that it should
apply the perspective transform before the APZ transform.
MozReview-Commit-ID: BBw8VPohQI4
2016-02-26 01:29:41 +01:00
Markus Stange
2f548e96d9
Bug 1238564 - Set the innermost possible scroll clip on opacity items during creation. r=mattwoodrow
...
Always use an ancestor scroll clip of all direct children, or the original
scroll clip if the children don't share the same scroll clip tree.
Unfortunately this requires another pass over the stacking context display list.
Also, fix clips, scroll clips and creation order of blend items:
If a clipped mix-blend-mode item contains absolute / fixed positioned items,
those items should not be clipped, same for blend container items.
When a transform item contains blend modes, create the blend container inside
the transform.
Don't do tree comparisons on scroll clips from different scroll clip trees.
If the inner scroll clip is nullptr, because it was cleared, it will look like
it's the ancestor of the outer non-nullptr scroll clip.
These changes don't look very related, but it was very hard to get tests passing
with only some of the changes and not the others, and after having spent two
weeks on this patch I'm not thrilled about going back and checking exactly which
change was necessary to fix which test failure.
MozReview-Commit-ID: IKGciUBrdNa
2016-03-04 15:05:58 -05:00