Commit graph

265 commits

Author SHA1 Message Date
cku
8ed218233f Bug 1323912 - Part 5. Apply opacity in mask layer painting path. r=mstange
MozReview-Commit-ID: HX2Tcum2smO

--HG--
extra : rebase_source : 2c2f96aa28e21f79b5fafe12fac8daa3fe89eb21
2017-01-03 17:12:32 +08:00
cku
b10b619355 Bug 1323912 - Part 4. Apply opacity in indirect image mask painting path. r=mstange
MozReview-Commit-ID: IKKKMccyMsO

--HG--
extra : rebase_source : 701d84e241ba36aeaa30b8d9946c79515969ae95
2017-01-03 16:35:17 +08:00
cku
7ffd5790e1 Bug 1323912 - Part 1. Rename PaintBackground to PaintStyleImageLayer. r=mstange
MozReview-Commit-ID: GWuII34t0j7

--HG--
extra : rebase_source : 4b08672f76c57562b9ab46d6605611d99aa64cf0
2017-01-03 11:57:13 +08:00
Iris Hsiao
53e5ead7ef Backed out changeset a44640701558 (bug 1323912) 2017-01-04 21:47:16 -05:00
Iris Hsiao
6989ec2d7a Backed out changeset a2f133998adf (bug 1323912) 2017-01-04 21:47:05 -05:00
Iris Hsiao
d569188dd7 Backed out changeset b3ad53915c5e (bug 1323912) 2017-01-04 21:47:01 -05:00
cku
8c03e0e5d4 Bug 1323912 - Part 5. Apply opacity in mask layer painting path. r=mstange
MozReview-Commit-ID: HX2Tcum2smO

--HG--
extra : rebase_source : 8a28c67b898efbea304d71709c0fd13e25632032
2017-01-03 17:12:32 +08:00
cku
1aaf3f65d2 Bug 1323912 - Part 4. Apply opacity in indirect image mask painting path. r=mstange
MozReview-Commit-ID: IKKKMccyMsO

--HG--
extra : rebase_source : aaaf45dacac16fae7dc1a05529125b195de1b3cd
2017-01-03 16:35:17 +08:00
cku
e36c492419 Bug 1323912 - Part 1. Rename PaintBackground to PaintStyleImageLayer. r=mstange
MozReview-Commit-ID: GWuII34t0j7

--HG--
extra : rebase_source : f74e9d242e2ef505790575cd12e0a58cc07ec44f
2017-01-03 11:57:13 +08:00
cku
ccf62e0161 Bug 1324174 - Simplify context management logic in nsSVGIntegrationUtils::PaintMask. r=mstange
MozReview-Commit-ID: BwPSFlfqN8e

--HG--
extra : rebase_source : b16bad5f5baee1a469237b72ea6a23c341ebdb25
2016-12-30 02:07:04 +08:00
cku
706f1d717e Bug 1314001 - (followup) give different color to different kind of mask. r=me
MozReview-Commit-ID: 5NtefGdSrUT

--HG--
extra : rebase_source : 2f1cbf149e6baa42829c6f50cb81c682865e2e81
2016-12-30 03:35:36 +08:00
Phil Ringnalda
419cda6127 Backed out changeset 6a9a6e524a7b (bug 1314001) for Windows -werror bustage
MozReview-Commit-ID: Gzhx80yqTnG
2016-12-28 22:00:49 -08:00
cku
50446c645c Bug 1314001 - (followup) give different color to different kind of mask. r=me
MozReview-Commit-ID: Ko9MyTzMhL2
2016-12-29 11:36:39 +08:00
cku
df51b78be9 Bug 1313276 - Part 2. Add comment for bug 1323912. r=mstange
MozReview-Commit-ID: CetQxWIr1sq

--HG--
extra : rebase_source : c5941bdbd076197b13f2474160b67b9923048974
extra : source : d306c622c34e8290dc22212928eed6e817f0c182
2016-12-16 12:52:21 +08:00
cku
bedd21d45a Bug 1313276 - Part 1. Draw clip-path-basic-shape onto mask layer. r=mstange
MozReview-Commit-ID: ICZiy84AFfi

--HG--
extra : rebase_source : 6a181c3d76d525b35bf3eae07c8f40cb9e1f2d95
extra : source : 9fe78d3eab3725c5838acf705843694c69197e05
2016-12-16 10:56:07 +08:00
Sebastian Hengst
8b13894203 Backed out changeset d539253e91ae (bug 1313276) for failing own test paint-on-maskLayer-1c.html on Android debug. r=backout 2016-12-22 20:16:20 +01:00
Sebastian Hengst
dc41e31e4c Backed out changeset d90a8fc45b74 (bug 1313276) 2016-12-22 20:15:40 +01:00
cku
8abbd30968 Bug 1313276 - Part 2. Add comment for bug 1323912. r=mstange
MozReview-Commit-ID: CetQxWIr1sq

--HG--
extra : rebase_source : 64d7bde4138773f7923166db7120fe4683d357bc
extra : source : d306c622c34e8290dc22212928eed6e817f0c182
2016-12-16 12:52:21 +08:00
cku
f2114f97f8 Bug 1313276 - Part 1. Draw clip-path-basic-shape onto mask layer. r=mstange
MozReview-Commit-ID: ICZiy84AFfi

--HG--
extra : rebase_source : 9862f64480946e08edaa9157f26f7e82fc8ea5a8
extra : source : 9fe78d3eab3725c5838acf705843694c69197e05
2016-12-16 10:56:07 +08:00
cku
d25e2f154e Bug 1324809 - Part 1. Fix wrong clip region while painting filter. r=mstange
MozReview-Commit-ID: Cqjo7VwtnlK

--HG--
extra : rebase_source : 0473eb6a9297d0cf0dee3e2e7b1e5f1ac8740bb1
2016-12-21 16:21:23 +08:00
cku
b8109179f1 Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
MozReview-Commit-ID: G2ghy7qGf5N

--HG--
extra : rebase_source : 3e090928ccc9ac58533162634f1269f76aba9131
2016-11-04 15:33:38 +08:00
Wes Kocher
aaaaf4e40c Backed out 5 changesets (bug 1318266) for clipboard leaks a=backout
Backed out changeset a6d9ee58afd9 (bug 1318266)
Backed out changeset 47b22189955a (bug 1318266)
Backed out changeset 936cc01602c4 (bug 1318266)
Backed out changeset 95d7547ad1c3 (bug 1318266)
Backed out changeset a4c80aed15d8 (bug 1318266)
2016-12-20 11:30:26 -08:00
cku
baf48e8a2b Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
MozReview-Commit-ID: G2ghy7qGf5N

--HG--
extra : rebase_source : b8e0c64cf251f09139cbd12c5e391daf4d0c949c
2016-11-04 15:33:38 +08:00
Iris Hsiao
e566e8864d Backed out changeset b3eaebda3d9d (bug 1318266) 2016-12-19 16:17:22 +08:00
cku
5ba953493d Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
MozReview-Commit-ID: G2ghy7qGf5N

--HG--
extra : rebase_source : 82443b6ac28d1afe93c376485368edbd141fa1d4
2016-11-04 15:33:38 +08:00
cku
aa2f62a7c5 Bug 1318418 - Eliminate one extra copy in nsSVGIntegrationUtils::PaintMask when we have both mask and clip-path. r=mstange
MozReview-Commit-ID: LlF3ZKi356S

--HG--
extra : rebase_source : 344d722a7f6b8614638bb7b5f792b3b25ae2907b
2016-12-15 14:17:50 +08:00
Ryan VanderMeulen
f31546de18 Backed out 2 changesets (bug 1318266) for breaking tab drawing when a LWT is applied.
Backed out changeset 00bb4e2f5a3c (bug 1318266)
Backed out changeset 55790893cab4 (bug 1318266)
2016-12-17 21:59:10 -05:00
Ryan VanderMeulen
ae624d4fc9 Backed out 2 changesets (bug 1313276)
Backed out changeset e505479a60e5 (bug 1313276)
Backed out changeset efb9edd878f0 (bug 1313276)
2016-12-17 21:58:03 -05:00
Ryan VanderMeulen
25d7744226 Backed out changeset 03090e5ca9b9 (bug 1318418) 2016-12-17 21:57:26 -05:00
cku
4819a41260 Bug 1318418 - Eliminate one extra copy in nsSVGIntegrationUtils::PaintMask when we have both mask and clip-path. r=mstange
MozReview-Commit-ID: LlF3ZKi356S

--HG--
extra : rebase_source : a394bbe894045953148f5efb3c98ce6f882525df
2016-12-15 14:17:50 +08:00
cku
bbb9cdf946 Bug 1313276 - Part 2. Add comment for bug 1323912. r=mstange
MozReview-Commit-ID: CetQxWIr1sq

--HG--
extra : rebase_source : 33c65b97a79f4bdface832fb9ba3e32425010e5d
2016-12-16 12:52:21 +08:00
cku
803f736c06 Bug 1313276 - Part 1. Draw clip-path-basic-shape onto mask layer. r=mstange
MozReview-Commit-ID: ICZiy84AFfi

--HG--
extra : rebase_source : 7ef14c85f8a93a952ac8d8a9bb2652b97b489dfd
2016-12-16 10:56:07 +08:00
cku
7cb6b79be7 Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
MozReview-Commit-ID: G2ghy7qGf5N

--HG--
extra : rebase_source : 064baa7d4815b7ddbccdc4c625156ec485418bb2
2016-11-04 15:33:38 +08:00
cku
e50551a66d Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. r=longsonr+218550
MozReview-Commit-ID: GQzPf9Qy8LJ

--HG--
extra : rebase_source : d03d5609a8ed2eddaf596a019775a35bfd7d2f24
2016-12-13 19:40:27 +08:00
cku
fb19c45aa9 Bug 1322330 - Part 2. Implement EffectProperties::HasInvalidClipPath. r=longsonr+218550
MozReview-Commit-ID: F3m4UZ0ET9x

--HG--
extra : rebase_source : aa11ea80bc566f287095ad91f721a2f70870c13c
2016-12-06 21:28:47 -10:00
cku
a46dd4f00e Bug 1320364 - Correct NS_ASSERTION failure condition in GetPreEffectsVisualOverflowRect. r=heycam
MozReview-Commit-ID: 4675cFLehK4

--HG--
extra : rebase_source : 5ff6778a558e2773b926d9317fef34cdd79e94e6
2016-11-28 16:26:34 +08:00
cku
da357af099 Bug 1319667 - (follow-up) Remove incorrect assertion. r=me
If the size of mask is empty, we wil hit this assertion, which is wrong.

MozReview-Commit-ID: LgulkGPsjyH

--HG--
extra : rebase_source : fbf8fc05a0bfa16b28599726f8ee85d4468d5d86
2016-12-01 17:13:18 +08:00
cku
5ee6e3966a Bug 1319667 - Part 2. Move DrawResult from function parameter of PaintClipMask to the return value. r=mstange
Enlight by "Bug 1314536 - Part 1"

MozReview-Commit-ID: Iogdh7LWsWa

--HG--
extra : rebase_source : aacc88ac39551aeb5ffbb84a11580a0d2eec73cc
2016-11-24 00:08:13 +08:00
cku
6a4c5689f0 Bug 1319667 - Part 1. Allow mask longhands apply to SVG elements. r=mstange
Originally, we use the follwoing statement to determine whether generate mask
for an SVG element:
aUsage.shouldGenerateMaskLayer =
  maskFrames.Length() == 1 && maskFrames[0];

maskFrames[0] is not null only if that mask resource is an SVG-mask. That means
we will not generate mask for image mask to any SVG one.

MozReview-Commit-ID: 4QiifC6J0UR

--HG--
extra : rebase_source : aa90599fc4955c0eb6e5d9d10c168b8643c32e03
2016-11-23 13:51:36 +08:00
cku
f1ae46cbdd Bug 1314536 - Part 1. Implement/use nsSVGMaskFrame::MaskParams and add a test case for nested mask-mode usage in SVG mask. r=mstange
MozReview-Commit-ID: SkU6F5fJ9b

--HG--
extra : rebase_source : d25e8ab2bc0bc3efad78a04705c9aef40119f91f
2016-11-16 12:59:52 +08:00
Phil Ringnalda
7ab6adac90 Backed out 3 changesets (bug 1314536) for Android "'Pair' does not name a type" build bustage
Backed out changeset 16632b726b19 (bug 1314536)
Backed out changeset 2effc920decf (bug 1314536)
Backed out changeset b0aa89236bb2 (bug 1314536)
2016-11-18 18:48:49 -08:00
cku
eee760be28 Bug 1314536 - Part 1. Implement/use nsSVGMaskFrame::MaskParams and add a test case for nested mask-mode usage in SVG mask. r=mstange
MozReview-Commit-ID: SkU6F5fJ9b

--HG--
extra : rebase_source : 129dc2d6abf5911ba42b459db20cfb54b83dfc0c
2016-11-16 12:59:52 +08:00
cku
67dee6966c Bug 1317636 - Part 6. Use PaintClipMask in nsSVGIntegrationUtils::PaintMask. r=mstange
MozReview-Commit-ID: 6CibljSTeNj

--HG--
extra : rebase_source : d37076092b8ead6349ec008d251909a73730db24
2016-11-16 19:04:59 +08:00
cku
92a1ecae0d Bug 1313898 - Part 2. Paint non-trivial clip-path onto mask layer. r=mstange
MozReview-Commit-ID: HJUwhqsJ42M

--HG--
extra : rebase_source : 503b69a17e69b24c88830ae866c6d8aecc7baeb2
2016-11-04 14:48:11 +08:00
cku
282a24594a Bug 1250490 - Part 2. Remove DetermineMaskUsage and ComputeOpacity from nsSVGIntegrationUtils. r=mstange
MozReview-Commit-ID: 4gHW7PyMNhd

--HG--
extra : rebase_source : 68507df64232ebef68535e85cc9934833a428456
2016-11-03 11:16:46 +08:00
cku
8147e6d4e1 Bug 1314001 - Part 2. Draw mask by single opaque green. r=mstange
MozReview-Commit-ID: 12S5vBGYRpb

--HG--
extra : rebase_source : ef9bfa3251610732a0a6d2becb0e07737a40ac12
2016-11-04 12:25:33 +08:00
cku
bb74527cff Bug 1234485 - Part 12. Extract PaintMaskSurface from GenerateMaskSurface. r=mstange
MozReview-Commit-ID: Bg4Kt6yCtNe

--HG--
extra : rebase_source : e13ce7753bede0e9edc58f8406c60d4120fbd329
2016-11-02 15:10:46 +08:00
cku
4d9495cf77 Bug 1234485 - Part 3. Implement nsSVGIntegrationUtils::PaintMask. r=mstange
Unlike nsSVGIntegrationUtils::PaintMaskAndClipPath, which paints masked content
onto aParam.ctx, nsSVGIntegrationUtils::PaintMask paints only mask, no content,
onto aParams.ctx.

MozReview-Commit-ID: BaRbtHpoHzj

--HG--
extra : rebase_source : 4a258b7332ba7a7edbffdc13c7f4b065fbe5eaa4
2016-10-19 17:31:36 +08:00
cku
999ca66251 Bug 1234485 - Part 2. Implement nsSVGIntegrationUtils::IsMaskResourceReady. r=mstange
We need this new function to determine whether paint mask onto mask layer.
MozReview-Commit-ID: IeEamPi9S8v

--HG--
extra : rebase_source : 993ae4bbe31c2c21704813c318f5328719194930
2016-10-30 21:41:06 +08:00
cku
882c5bf086 Bug 1234485 - Part 1. Extract DetermineMaskUsage from PaintMaskAndClipPath. r=mstange
Two reasons that we should do this:
1. Make PaintMaskAndClipPath even simpler.
2. We need this new function to determine LayerState of a nsDisplayMask later.

MozReview-Commit-ID: 2ga0VFOs6u3

--HG--
extra : rebase_source : 8a8c4da05acf5aa1cf13eb7366116944df9c8409
2016-10-19 13:38:35 +08:00
Wes Kocher
008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
cku
2fbd5c11c2 Bug 1258751 - followup: remove out-of-date comment. r=me DONTBUILD
MozReview-Commit-ID: 8M8yHsDc1Lg

--HG--
extra : rebase_source : 3f0d695e8307bb735d2026470dcec90c9887ec1a
2016-11-07 17:09:57 +08:00
Kartikaya Gupta
57f37706cc Bug 1315477 - Add a AsBasicLayerManager() function and use instead of static_casts. r=mattwoodrow
MozReview-Commit-ID: DV6XZBEXw85

--HG--
extra : rebase_source : b82f2ea2d073292c2a9514ba8a4c2d0c8397d90a
2016-11-07 11:38:45 -05:00
cku
37219ffb9a Bug 1313570 - Change the parameter of ValidateSVGFrame. r=mstange
MozReview-Commit-ID: Brym9cbGRw8

--HG--
extra : rebase_source : 27e6795ed6b00377aa07124fea41c6db9e075d1f
2016-10-28 13:04:17 +08:00
cku
708f22a29a Bug 1305253 - Part 2. Replace gfxContext::Save/Restore by gfxContext::PopClip. r=mstange
MozReview-Commit-ID: SPfZpRsBlo

--HG--
extra : rebase_source : 1d029c6ecee5c8c83c17a42b053eb80d4b89605f
2016-10-28 18:32:01 +08:00
cku
9d24e031f3 Bug 1305253 - Part 1. Use nsCSSClipPathInstance::ApplyBasicShapeClip when clip-path type is basic-shape or geometry-box. r=mstange
Before this patch, shouldApplyBasicShape will be set as true when the url of a
clip-path is not resolvable, for example:
  clip-path: url("#non-exist-id");

So we call nsCSSClipPathInstance::ApplyBasicShapeClip and early return even if
the clip-path's type is StyleShapeSourceType::URL. This patch aims to correct
this wrong behavior: nsCSSClipPathInstance::ApplyBasicShapeClip shoud be used
only when the type of clip-path is StyleShapeSourceType::Shape or
StyleShapeSourceType::Box.

MozReview-Commit-ID: 1ON4dEY9pva

--HG--
extra : rebase_source : 88e89526f4b57bcbb0a1db585884d578682d118c
2016-10-28 23:56:07 +08:00
Mason Chang
cd84eadb22 Bug 1258751: Delete the CoreGraphics backend. r=mstange 2016-10-18 23:22:44 -04:00
cku
07f31bbe99 Bug 1299715 - Part 7. Correct clip region for mask surface. r=mstange
MozReview-Commit-ID: 1MZA9uxO9Oi

--HG--
extra : rebase_source : cb23768fb82339b4641602ac90194d009446e1d2
2016-10-07 14:46:41 +08:00
cku
0d557e384c Bug 1299715 - Part 6. Move ComputeMaskGeometry from nsSVGIntegrationUtils to nsDisplayMask. r=mstange
MozReview-Commit-ID: 4uLfaGDXGyE

--HG--
extra : rebase_source : f6a72f1067d32287e68b3cc7a84dd5a0c8384e1a
2016-10-11 13:12:00 +08:00
cku
837190aa4f Bug 1299715 - Part 5. Correct clip region for opacity surface. r=mstange
MozReview-Commit-ID: 1wiQKsHKJsg

--HG--
extra : rebase_source : 47b58288cdde10d9fae42bec33082ea90604957b
2016-10-07 12:42:35 +08:00
cku
84d4f4c4c5 Bug 1299715 - Part 4. Correct clip region for clip-path mask surface. r=mstange
MozReview-Commit-ID: IOFOyS18yRm

--HG--
extra : rebase_source : e322b19333b6b97f879ed2e668faeffc6a1cc87c
2016-10-06 14:55:55 +08:00
Sebastian Hengst
22483d098a Backed out changeset fa72646efc0a (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst
ead934e26a Backed out changeset c53086907356 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst
f984f3a888 Backed out changeset b91db6687d19 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst
e1301411c3 Backed out changeset 4f0b13e4444a (bug 1299715) 2016-10-12 18:02:18 +02:00
cku
f00b30aac5 Bug 1299715 - Part 7. Correct clip region for mask surface. r=mstange
MozReview-Commit-ID: 1MZA9uxO9Oi

--HG--
extra : rebase_source : f0b635d4c945966b1e0bc3bd91b1911dcf81a6a6
2016-10-07 14:46:41 +08:00
cku
faa1874701 Bug 1299715 - Part 6. Move ComputeMaskGeometry from nsSVGIntegrationUtils to nsDisplayMask. r=mstange
MozReview-Commit-ID: 4uLfaGDXGyE

--HG--
extra : rebase_source : 136a87f3b23578d6a3a2cf95474463edb6a53708
2016-10-11 13:12:00 +08:00
cku
a31601cee7 Bug 1299715 - Part 5. Correct clip region for opacity surface. r=mstange
MozReview-Commit-ID: 1wiQKsHKJsg

--HG--
extra : rebase_source : d07c35615119fdae64c0bffd4cbd6290630fbc4e
2016-10-07 12:42:35 +08:00
cku
9cd308352d Bug 1299715 - Part 4. Correct clip region for clip-path mask surface. r=mstange
MozReview-Commit-ID: IOFOyS18yRm

--HG--
extra : rebase_source : b55a935500104c9a754dad8817d9bc3302944a5c
2016-10-06 14:55:55 +08:00
Markus Stange
9183b4e1bd Bug 1305259 - Use PushGroupAndCopyBackground for the masked group so that we can have subpixel AA inside the mask / clip-path. r=cjku, r=Bas
MozReview-Commit-ID: 3J9ncPn9sij

--HG--
extra : rebase_source : 6f6fdf624a68827a02696899fc46df8433b21565
2016-09-30 21:22:30 -04:00
cku
e9ac18ca58 Bug 1279409 - Part 1. Remove mix-blend-mode handling code in nsSVGIntegrationUtils.
MozReview-Commit-ID: DRxYU80ClwU

--HG--
extra : rebase_source : 2b88414c5eb032492cbd6d96ff56c0b63ad0fe8f
2016-09-29 11:07:51 +08:00
cku
ec6eae0d07 Bug 1305636 - Part 2. Only apply opacity once in nsSVGUtils::PaintFrameWithEffects and nsSVGIntegrationUtils::PaintMaskAndClipPath. r=mstange.
MozReview-Commit-ID: 3eMlxEhNdCQ

--HG--
extra : rebase_source : 643fc601175eb4bbeda87345e6d22ff8c88d2d4d
2016-09-28 02:46:47 +08:00
cku
1637e35169 Bug 1305636 - Part 1. Revert the first patch in bug 1304991. r=me
MozReview-Commit-ID: 8sDINWlgPqu

--HG--
extra : rebase_source : bcd4d9ed5ed3fc0088e0f46c73f5946039769d3e
extra : amend_source : e972c04709573f2860372d49dc7ba0f48d65c8cc
2016-09-28 22:52:05 +08:00
cku
55e1be9556 Bug 1304991 - Part 1. Remove aOpacity parameter of GenerateMaskSurface. r=mstange
MozReview-Commit-ID: D4vTSGobSMg

--HG--
extra : rebase_source : 290a12dd4b9b4af4ce3550a15734dc50b9afdea0
2016-09-26 18:35:18 +08:00
cku
f42e498549 Bug 1304011 - Part 7. Fix several coding convention violations. r=mstange
MozReview-Commit-ID: BYhiQnlfR3a

--HG--
extra : rebase_source : eba1a5fcec8f502cfaf4ff0e1d09a321e533131c
2016-09-18 23:16:35 +08:00
cku
447951cfbc Bug 1304011 - Part 6. Handle nullptr returning from nsSVGClipPathFrame::GetClipMask. r=mstange
MozReview-Commit-ID: 2FBDE9fx1LT

--HG--
extra : rebase_source : d3b6ec7a36690002530da072f4fe9cdd5f4be8b8
2016-09-22 16:29:03 +08:00
cku
097d8da362 Bug 1304011 - Part 4. For css-mask, compute frame offset by the current frame. r=mstange
MozReview-Commit-ID: K6ZUoiA9jrC

--HG--
extra : rebase_source : 6a56e5d072062f06452e653187a0d6eb5d5c3eac
2016-09-22 13:38:55 +08:00
cku
07e41f0497 Bug 1304011 - Part 3. Add clip function in SetupContextMatrix, and give a frame to this function as the source of offset computing. r=mstange
MozReview-Commit-ID: 2ry6c1cECvb

--HG--
extra : rebase_source : 54fc13e3948179ec543b0c7f4c8cf342108992fd
2016-09-21 16:49:27 +08:00
cku
22ac005328 Bug 1304011 - Part 2. typedef nsSVGIntegrationUtils::PaintFramesParams to shorten code length. r=mstange
MozReview-Commit-ID: Iw7Khv8ee0r

--HG--
extra : rebase_source : d3f04ebed02703e5b37769baca312851c181e770
2016-09-22 11:12:54 +08:00
Ethan Lin
c7074a5f40 Bug 1275478 - Fix svg mask with D2D1 backend. r=mstange 2016-09-08 02:28:00 -04:00
cku
56e3bcbb89 Bug 1300401 - Part 2. Add more comments and assertions. r=mstange
MozReview-Commit-ID: HywA9IrGhk2

--HG--
extra : rebase_source : 27dce66ccb4b0547b9c6332ebde99ebdc272565a
2016-09-05 12:46:56 +08:00
cku
86c378df38 Bug 1300401 - Part 1. Handle opacity in nsDisplayFilter. r=mstange
MozReview-Commit-ID: D4JXkDm64fN

--HG--
extra : rebase_source : 44ce4f92c2257a2303de2702af2ade3d8173c358
2016-09-05 11:47:18 +08:00
cku
fecac37ed2 Bug 1295094 - Part 14. Skip any filter effect while generating glyph mask for bg-clip:text. r=jfkthame
MozReview-Commit-ID: CTzu7uhAaQM

--HG--
extra : rebase_source : cf935bf3e8cc2b7081bd016fea94b8d5062ad014
2016-09-01 14:54:11 +08:00
cku
78ca020a31 Bug 1295094 - Part 10. nsDisplayMask creation flow. r=mstange
MozReview-Commit-ID: Jk9B54WtThK

--HG--
extra : rebase_source : 199b71fef0cce209b048dc362f89ecd700fda3e9
2016-08-16 13:56:11 +08:00
cku
40076dcfa1 Bug 1295094 - Part 8. Implement nsSVGIntegrationUtils::PaintMaskAndClipPath r=mstange
MozReview-Commit-ID: EbIUVDXuHa0

--HG--
extra : rebase_source : f9c76291cfc78352268f9cf3a32376fcac96d018
2016-08-16 01:07:57 +08:00
cku
949553410d Bug 1295094 - Part 7. Implement nsSVGIntegrationUtils::PaintFilter. r=mstange
MozReview-Commit-ID: DTcNsc2UNdu

--HG--
extra : rebase_source : 1370d3aa9f4d23086c0bc17d14a9c1fadb4d4db8
2016-08-16 00:59:35 +08:00
cku
9bf4d9c5cd Bug 1295094 - Part 6. Implement CreateBlendTarget and BlendToTarget. r=mstange
MozReview-Commit-ID: 3C3hlje0QEw

--HG--
extra : rebase_source : aaf3527cd3e3fcf12efa20d91a5233c9828d2f1d
2016-08-16 01:28:07 +08:00
cku
8afbe7e2c0 Bug 1295094 - Part 5. Implement SetupContextMatrix r=mstange
MozReview-Commit-ID: AOPyRwUSr0A

--HG--
extra : rebase_source : 8f9eb6aad0ac0d4399000e7c9d0a548bb5df9a00
2016-08-16 00:33:35 +08:00
cku
1843b41cce Bug 1295094 - Part 4. Implement ValidateSVGFrame r=mstange
MozReview-Commit-ID: GdO647a09Xo

--HG--
extra : rebase_source : cda0319ed0728fb705658055c9386eb108debef8
2016-08-16 00:05:10 +08:00
cku
33f7856d09 Bug 1295094 - Part 3. Implement ComputeOpacity r=mstange
MozReview-Commit-ID: ILdIFIvXFyi

--HG--
extra : rebase_source : 57f7c2a7594c487dbb9adca84146d19d01bcb33d
2016-08-15 23:57:45 +08:00
cku
4dd64993c5 Bug 1295094 - Part 2. Implement ComputeClipExtsInDeviceSpace r=mstange
MozReview-Commit-ID: 8BFy0y83MeG

--HG--
extra : rebase_source : 59b1fa5eabcbf64b32ef90821a5458e12501335b
2016-08-15 23:49:21 +08:00
cku
9ac4909e0a Bug 1295094 - Part 1. Simplify the logic in nsSVGIntegrationUtils::PaintFramesWithEffects. r=mstange
MozReview-Commit-ID: HbQIrhtChCC

--HG--
extra : rebase_source : 3bea6d260495c87291142249d9dc12571ee62899
2016-08-15 23:04:50 +08:00
Kan-Ru Chen
b6d880aca1 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


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
cku
3cd159aa2b Bug 1294171 - Part 1. Treat unresolvable mask as no mask before support image mask. r=mstange
MozReview-Commit-ID: 9f2k7NtpYuR

--HG--
extra : rebase_source : b39ef5f82382fd9d7f237d1dabd6d834b8bbefa0
2016-08-18 11:24:28 +08:00
cku
b901e4d14a Bug 1293929 - Part 1. Treat unresolvable mask in svg frame as no-mask. r=mstange
MozReview-Commit-ID: IdiV5w9OrNF

--HG--
extra : rebase_source : 52ed8e68782685054207078a3bc1599398aba5c5
2016-08-10 15:52:38 +08:00
Ethan Lin
6e83aa737b Bug 1273365 - Check IsForGenerateGlyphMask before doing mask. r=jfkthame 2016-07-18 03:09:00 +02:00
Matt Woodrow
fe3cfdc416 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
99414ab73f Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange
MozReview-Commit-ID: Eo8FzwOFAOT

--HG--
extra : rebase_source : 7da0ec5d1066067d5c1b22f0bc69b01cfd1131c5
2016-07-14 12:47:06 +08:00
cku
0e37181d38 Bug 1258510 - Part 1. Use the return value of nsCSSRendering::PaintBackgroundWithSC. r=mstange
MozReview-Commit-ID: D1gKBng8hnJ

--HG--
extra : rebase_source : 430c41d7bf5754169d5e485ea43ca96c8490efdd
2016-07-12 01:22:54 +08:00
Carsten "Tomcat" Book
32a806d5a1 Backed out changeset af828ca7cc58 (bug 1258510) on developers request 2016-07-13 08:37:37 +02:00