gecko-dev/layout/svg
cku 5be215b9d0 Bug 1385861 - Part 4. Reduce usage of SetMatrix in SVGTextFrame::PaintSVG. r=mattwoodrow
In while-loop [1],
1. The first SetMatrix call that I remvoed in this patch is totally useless,
we can just pass initialMatrix to contextPaint, instead of set initialMatrix
to aContenxt and read back from aContext and then pass it to contextPaint.

2. This function, SVGTextFrame::PaintSVG, is the only caller of
SetupStrokeGeometry, and it does not need SetupStrokeGeometry to setup matrix at
all, since it will be overwritten the transform matrix of aContext at several
lines below[2].

[1]
https://hg.mozilla.org/mozilla-central/file/5115e2dea29a/layout/svg/SVGTextFrame.cpp#l3658
[2]
https://hg.mozilla.org/mozilla-central/file/5115e2dea29a/layout/svg/SVGTextFrame.cpp#l3685

MozReview-Commit-ID: AlKQh4abbpa

--HG--
extra : rebase_source : e0dfd66ff25be0d7cffadecf9e3333bba10cff9b
2017-07-31 20:47:39 +08:00
..
crashtests Bug 1322537 - Increase tolerance when splitting Bezier curves to prevent hang. r=bas 2017-07-28 23:57:04 -07:00
tests Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
AutoReferenceChainGuard.h Bug 1358828, part 1 - Add some missing includes. r=longsonr 2017-03-27 12:49:21 +01:00
SVGContextPaint.cpp Bug 1379464 - Enable context-paint for mozilla-created webextensions. r=heycam,kmag 2017-07-10 13:34:41 -04:00
SVGContextPaint.h Bug 1365926, part 1 - Support 'context-fill-opacity'/'context-stroke-opacity' as SVG-as-an-image context properties. r=heycam 2017-05-18 12:47:20 +01:00
SVGFEContainerFrame.cpp Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
SVGFEImageFrame.cpp Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
SVGFELeafFrame.cpp Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
SVGFEUnstyledLeafFrame.cpp Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
SVGGeometryFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
SVGGeometryFrame.h Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
SVGImageContext.cpp Bug 1374614 - Support SVG image context paint in XUL tree views (treecol etc.). r=dholbert 2017-05-26 14:24:57 +01:00
SVGImageContext.h Bug 1378044 - Switch the SVGImageContext::Hash() hashing code to use PLDHashNumber; r=dholbert 2017-07-04 11:08:28 -04:00
SVGTextFrame.cpp Bug 1385861 - Part 4. Reduce usage of SetMatrix in SVGTextFrame::PaintSVG. r=mattwoodrow 2017-07-31 20:47:39 +08:00
SVGTextFrame.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
SVGViewFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
moz.build Bug 265894 - Part 5. Implement nsSVGSymbolFrame to layout symbol element. r=heycam 2017-06-14 21:40:59 +08:00
nsCSSClipPathInstance.cpp Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel 2017-06-13 11:00:10 -04:00
nsCSSClipPathInstance.h Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel 2017-06-13 11:00:10 -04:00
nsCSSFilterInstance.cpp Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt 2016-10-19 11:32:02 -04:00
nsCSSFilterInstance.h Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt 2016-10-19 11:32:02 -04:00
nsFilterInstance.cpp Bug 1377169 - Turn gfxRect into a typedef. r=jrmuizel 2017-07-05 11:22:00 -04:00
nsFilterInstance.h Bug 1351440 - Part 4. Pass imgDrawingParams to nsSVGPaintServerFrame::GetPaintServerPattern. r=jwatt 2017-05-18 22:03:50 +02:00
nsISVGSVGFrame.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSVGAFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSVGClipPathFrame.cpp Bug 1377090 - Turn gfxMatrix into a typedef for MatrixDouble. r=jrmuizel 2017-07-05 11:18:49 -04:00
nsSVGClipPathFrame.h Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
nsSVGContainerFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSVGContainerFrame.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSVGDisplayableFrame.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSVGEffects.cpp Bug 1301245 - Part 3. Resolve a style image if nsSVGPaintingProperty can not handle it. r=heycam 2017-07-26 12:02:44 +08:00
nsSVGEffects.h Bug 1301245 - Part 3. Resolve a style image if nsSVGPaintingProperty can not handle it. r=heycam 2017-07-26 12:02:44 +08:00
nsSVGFilterFrame.cpp Bug 1365982 - Attach frame properties to each frame instead of looking them up in a hashtable on the prescontext. r=mats 2017-05-27 12:36:00 +01:00
nsSVGFilterFrame.h Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
nsSVGFilterInstance.cpp Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam 2017-04-30 17:30:08 +02:00
nsSVGFilterInstance.h Bug 1339728 - Part 2. Change return value type of nsSVGFilterInstance::ComputeBounds. r=mstange 2017-02-14 10:32:10 +08:00
nsSVGFilterPaintCallback.h Bug 1351440 - Part 2. Encapsulate DrawResult and imgIContainer::FLAG_* into imgDrawingParams, and pass it to PaintSVG. r=jwatt 2017-05-18 22:03:41 +02:00
nsSVGForeignObjectFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSVGForeignObjectFrame.h Bug 1364361 - Part 1: Refactor frame anon box restyling machinery so it can return a list of anon boxes. r=bholley,bz 2017-06-16 17:22:33 +08:00
nsSVGGFrame.cpp Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam 2017-04-30 17:30:08 +02:00
nsSVGGFrame.h Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
nsSVGGenericContainerFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSVGGenericContainerFrame.h Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
nsSVGGradientFrame.cpp Bug 1365982 - Attach frame properties to each frame instead of looking them up in a hashtable on the prescontext. r=mats 2017-05-27 12:36:00 +01:00
nsSVGGradientFrame.h Bug 1377169 - Turn gfxRect into a typedef. r=jrmuizel 2017-07-05 11:22:00 -04:00
nsSVGImageFrame.cpp Bug 1359833 - Part 7. nsImageLoadingContent native observers should use the new API. r=tnikkel 2017-07-19 14:15:12 -04:00
nsSVGImageFrame.h Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
nsSVGInnerSVGFrame.cpp Bug 265894 - Part 3. Implement nsSVGViewportFrame, and let nsSVGInnerFrame inherit from it. r=heycam 2017-06-14 21:05:37 +08:00
nsSVGInnerSVGFrame.h Bug 265894 - Part 3. Implement nsSVGViewportFrame, and let nsSVGInnerFrame inherit from it. r=heycam 2017-06-14 21:05:37 +08:00
nsSVGIntegrationUtils.cpp Bug 1301245 - Part 2. Do not resolve a style image if the given url has a fragment. r=heycam 2017-07-26 11:21:30 +08:00
nsSVGIntegrationUtils.h Bug 1351440 - Part 4. Pass imgDrawingParams to nsSVGPaintServerFrame::GetPaintServerPattern. r=jwatt 2017-05-18 22:03:50 +02:00
nsSVGMarkerFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSVGMarkerFrame.h Bug 1364361 - Part 1: Refactor frame anon box restyling machinery so it can return a list of anon boxes. r=bholley,bz 2017-06-16 17:22:33 +08:00
nsSVGMaskFrame.cpp Bug 1359527. Fixup DrawTarget::IntoLuminance mismerge. r=mchang 2017-06-09 10:57:44 -04:00
nsSVGMaskFrame.h Bug 1359527. Part 1 - Add DrawTarget::IntoLuminance r=jrmuizel 2017-06-02 11:13:36 -07:00
nsSVGOuterSVGFrame.cpp Bug 1279218 - Additional applet tag logic removal; r=bz 2017-07-28 16:44:39 -07:00
nsSVGOuterSVGFrame.h Bug 1279218 - Additional applet tag logic removal; r=bz 2017-07-28 16:44:39 -07:00
nsSVGPaintServerFrame.h Bug 1377169 - Turn gfxRect into a typedef. r=jrmuizel 2017-07-05 11:22:00 -04:00
nsSVGPatternFrame.cpp Bug 1365982 - Attach frame properties to each frame instead of looking them up in a hashtable on the prescontext. r=mats 2017-05-27 12:36:00 +01:00
nsSVGPatternFrame.h Bug 1364805 part 1 - Make every concrete frame class be a NS_DECL_QUERYFRAME_TARGET. r=jfkthame 2017-05-26 12:11:11 +02:00
nsSVGStopFrame.cpp Bug 1364805 part 4 - Remove the now unused LayoutFrameType values from the ctors. r=jfkthame 2017-05-26 12:11:11 +02:00
nsSVGSwitchFrame.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSVGSymbolFrame.cpp Bug 265894 - Part 5. Implement nsSVGSymbolFrame to layout symbol element. r=heycam 2017-06-14 21:40:59 +08:00
nsSVGSymbolFrame.h Bug 265894 - Part 5. Implement nsSVGSymbolFrame to layout symbol element. r=heycam 2017-06-14 21:40:59 +08:00
nsSVGUseFrame.cpp Bug 1362886 part 2 - Devirtualize the IsLeaf() method by doing an array lookup instead. r=jfkthame 2017-05-26 12:11:12 +02:00
nsSVGUtils.cpp Bug 1385861 - Part 4. Reduce usage of SetMatrix in SVGTextFrame::PaintSVG. r=mattwoodrow 2017-07-31 20:47:39 +08:00
nsSVGUtils.h Bug 1385861 - Part 3. Rename nsSVGUtils::SetupCairoStrokeGeometry as nsSVGUtils::SetupStrokeGeometry. r=mattwoodrow 2017-07-31 20:20:28 +08:00
nsSVGViewportFrame.cpp Bug 265894 - Part 3. Implement nsSVGViewportFrame, and let nsSVGInnerFrame inherit from it. r=heycam 2017-06-14 21:05:37 +08:00
nsSVGViewportFrame.h Bug 265894 - Part 5. Implement nsSVGSymbolFrame to layout symbol element. r=heycam 2017-06-14 21:40:59 +08:00
svg.css Bug 265894 - Part 8. Implement -moz-use-shadow-tree-root pseudo class. r=heycam 2017-06-14 22:51:56 +08:00