Commit Graph

283 Commits

Author SHA1 Message Date
cku
862774e1e9 Bug 1295094 - Part 14. Skip any filter effect while generating glyph mask for bg-clip:text. r=jfkthame
MozReview-Commit-ID: CTzu7uhAaQM
2016-09-01 14:54:11 +08:00
cku
d02a0fab15 Bug 1295094 - Part 10. nsDisplayMask creation flow. r=mstange
MozReview-Commit-ID: Jk9B54WtThK
2016-08-16 13:56:11 +08:00
cku
f3e46e0943 Bug 1295094 - Part 8. Implement nsSVGIntegrationUtils::PaintMaskAndClipPath r=mstange
MozReview-Commit-ID: EbIUVDXuHa0
2016-08-16 01:07:57 +08:00
cku
84e8874fa2 Bug 1295094 - Part 7. Implement nsSVGIntegrationUtils::PaintFilter. r=mstange
MozReview-Commit-ID: DTcNsc2UNdu
2016-08-16 00:59:35 +08:00
cku
ac215a61ad Bug 1295094 - Part 6. Implement CreateBlendTarget and BlendToTarget. r=mstange
MozReview-Commit-ID: 3C3hlje0QEw
2016-08-16 01:28:07 +08:00
cku
33ae957117 Bug 1295094 - Part 5. Implement SetupContextMatrix r=mstange
MozReview-Commit-ID: AOPyRwUSr0A
2016-08-16 00:33:35 +08:00
cku
c008611e62 Bug 1295094 - Part 4. Implement ValidateSVGFrame r=mstange
MozReview-Commit-ID: GdO647a09Xo
2016-08-16 00:05:10 +08:00
cku
85280206bb Bug 1295094 - Part 3. Implement ComputeOpacity r=mstange
MozReview-Commit-ID: ILdIFIvXFyi
2016-08-15 23:57:45 +08:00
cku
39245691c4 Bug 1295094 - Part 2. Implement ComputeClipExtsInDeviceSpace r=mstange
MozReview-Commit-ID: 8BFy0y83MeG
2016-08-15 23:49:21 +08:00
cku
11a51443c5 Bug 1295094 - Part 1. Simplify the logic in nsSVGIntegrationUtils::PaintFramesWithEffects. r=mstange
MozReview-Commit-ID: HbQIrhtChCC
2016-08-15 23:04:50 +08: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
cku
73d93bd0bd Bug 1294171 - Part 1. Treat unresolvable mask as no mask before support image mask. r=mstange
MozReview-Commit-ID: 9f2k7NtpYuR
2016-08-18 11:24:28 +08:00
cku
375dad8c1e Bug 1293929 - Part 1. Treat unresolvable mask in svg frame as no-mask. r=mstange
MozReview-Commit-ID: IdiV5w9OrNF
2016-08-10 15:52:38 +08:00
Ethan Lin
55b7381742 Bug 1273365 - Check IsForGenerateGlyphMask before doing mask. r=jfkthame 2016-07-18 03:09:00 +02:00
Matt Woodrow
f41b6f280b Bug 1281428 - Don't skip paint painting SVG effects due to 0 opacity if the opacity is being handled by a separate item. r=jwatt 2016-07-29 17:58:15 +12:00
cku
bb426c5864 Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange
MozReview-Commit-ID: Eo8FzwOFAOT
2016-07-14 12:47:06 +08:00
cku
18cb951ca4 Bug 1258510 - Part 1. Use the return value of nsCSSRendering::PaintBackgroundWithSC. r=mstange
MozReview-Commit-ID: D1gKBng8hnJ
2016-07-12 01:22:54 +08:00
Carsten "Tomcat" Book
0e76f92d82 Backed out changeset af828ca7cc58 (bug 1258510) on developers request 2016-07-13 08:37:37 +02:00
cku
d82135b607 Bug 1258510 - Part 1. Use the return value of nsCSSRendering::PaintBackgroundWithSC. r=mstange
MozReview-Commit-ID: D1gKBng8hnJ
2016-07-12 01:22:54 +08: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
cku
ed65c6aa2e Bug 1272859: Part 1. Reduce mask surface's size r=mstange
MozReview-Commit-ID: GkADCkiElKy
2016-06-18 00:24:26 +01:00
Matt Woodrow
83d113018a Bug 1263829 - Part 2: Don't apply opacity in PaintFramesWithEffects if we created an nsDisplayOpacity. r=jwatt 2016-06-08 17:12:35 +12:00
Nicholas Nethercote
64bfc9d2ab Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan. 2016-06-07 11:17:48 +10: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
Jonathan Watt
fa7b69b631 Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas 2016-05-25 17:01:18 +01:00
cku
2a3bd6edcc Bug 1275450 - Part 2. Reftest for unresolvable mask-reference r=mstange
MozReview-Commit-ID: Je2mJvwBiF7
2016-05-30 15:57:43 +08:00
cku
d70e54674c Bug 1275450 - Part 1. Generate a transparent black mask layer when there is no resolvable mask source or image r=mstange
MozReview-Commit-ID: I2QlZnz07TL
2016-05-31 15:45:42 +08:00
Ethan Lin
9fabe5b346 Bug 1275478 - Workaround for svg mask on windows. r=mstange
MozReview-Commit-ID: GilZz7AJTQX
2016-05-31 16:07:38 +08:00
CJKu
e6128d639e Bug 1275451: Part 1. Respect mask-composite while composing a SVG mask layer r=mstange
MozReview-Commit-ID: 8m2xR4P30hq
2016-05-26 16:07:43 +08:00
CJKu
8910ef376c Bug 1228280 - Part 6. Single SVG mask optimization;
MozReview-Commit-ID: 7k1XRTpGbtH
2016-05-19 15:44:19 +08:00
CJKu
179cc89b3f Bug 1228280 - Part 5. Paint multiple SVG and image masks;
MozReview-Commit-ID: FOgcnR9cYlH
2016-05-19 15:44:07 +08:00
CJKu
343cbfed10 Bug 1228280 - Part 4. Create nsSVGMaskProperty to carry multiple mask info;
MozReview-Commit-ID: LPTqls7wvqJ
2016-05-19 15:43:55 +08:00
CJKu
3e7be0a417 Bug 1228280 - Part 3. Move mask painting out of nsSVGIntegrationUtils::PaintFramesWithEffects;
MozReview-Commit-ID: Iwcqhy7qYR2
2016-05-19 15:43:43 +08:00
CJKu
d838e144d1 Bug 1228280 - Part 2. Change the parameters of nsSVGIntegrationUtils::PaintFramesWithEffects;
MozReview-Commit-ID: CaOINlG7HD6
2016-05-19 15:43:32 +08:00
CJKu
d98715621d Bug 1228280 - Part 1. Change the parameter of nsCSSRendering::PaintBackground;
MozReview-Commit-ID: 41KgAlkx9oZ
2016-05-19 15:43:20 +08:00
Chris Peterson
260887d32a Bug 1273363 - Fix -Wshadow warnings in layout/svg/. r=dholbert
layout/svg/SVGTextFrame.cpp:4198:28 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGClipPathFrame.cpp:388:18 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGIntegrationUtils.cpp:562:15 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGIntegrationUtils.cpp:586:26 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGIntegrationUtils.cpp:620:15 [-Wshadow] declaration shadows a local variable
2016-05-16 22:02:08 -07:00
Ting-Yu Lin
ca8be97f59 Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class. r=jfkthame
MozReview-Commit-ID: 4IFOlP9oVHl
2016-04-27 12:01:54 +08:00
CJKu
dbb4e7a74a Bug 1265715 - Part 2. Add nsDisplayListBuilderMode parameter into nsLayoutUtils::PaintFrame; r=jfkthame
MozReview-Commit-ID: 1jkJOOH8KCi
2016-04-26 00:26:40 +08:00
CJKu
79931f1ca3 Bug 1231643 - Part 1. Create skia-A8-surface for mask composition when backendtype of the source DrawTarget is CG; r=mstange
MozReview-Commit-ID: J0oIhhTowk7
2016-04-19 10:55:20 +08:00
Carsten "Tomcat" Book
11736e8c57 Backed out changeset bd58bce52916 (bug 1231643) for test failures in mask-composite-2a.html 2016-04-13 08:56:29 +02:00
CJKu
1e0b2851ac Bug 1231643 - Part 1. Create skia-A8-surface for mask composition when backendtype of the source DrawTarget is CG; r=mstange
MozReview-Commit-ID: J0oIhhTowk7
2016-04-13 12:25:24 +08: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
Cameron McCormack
a08ba659c3 Bug 1261754 - Part 12: Move filter from nsStyleSVGReset to nsStyleEffects. r=dholbert 2016-04-12 15:52:43 +10:00
Cameron McCormack
4d84720983 Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:43 +10:00
Cameron McCormack
424a4cab99 Bug 1261754 - Part 10: Move mix-blend-mode from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:42 +10:00
Ethan Lin
a91cf4c56d Bug 1228354 - Part1 - Support luminance mask mode. r=mstange r=bas 2016-03-24 01:32:00 +01:00
Timothy Nikkel
ac9d13b943 Bug 1209780. Mark some DrawResult's as unused in layout/svg. r=seth
We want to turn on the static analysis so no new violations are introduced. Fixing these is not straight forward.
2016-03-21 16:15:19 -05:00
Markus Stange
225b73b9f3 Bug 1248913 - Let nsDisplayBackgroundImage specify the background blend mode. r=mattwoodrow
This is needed because blending for nsDisplayBackgroundImage items will soon
happen outside of nsDisplayBackgroundImage::Paint, it will be done by an
nsDisplayBlendMode item that wraps the nsDisplayBackgroundImage item.

MozReview-Commit-ID: 20cILOGVFEG
2016-03-08 16:54:09 -05:00