Commit Graph

2191 Commits

Author SHA1 Message Date
Jonathan Watt
243d1f8a0e Bug 1074128, part 3 - Update the Mozilla code to use AutoSaveTransform's new name. r=Bas 2014-09-29 18:32:36 +01:00
Jonathan Watt
d448cec863 Bug 1074012, part 3 - Make nsSVGUtils::MakeFillPatternFor/MakeStrokePatternFor return using a Moz2D GeneralPattern out-param rather than a Thebes gfxPattern. r=Bas 2014-09-29 14:26:15 +01:00
Jonathan Watt
628963b5f2 Bug 1073984 - Make SVG geometry painting use a Moz2D Path object directly. r=longsonr 2014-09-29 14:26:15 +01:00
Jonathan Watt
f43374ef3d Bug 1073974, part 2 - Make complex SVG clipPath clipping use a Moz2D Path object directly. r=longsonr 2014-09-29 14:15:19 +01:00
Jonathan Watt
537966729a Bug 1073974, part 1 - Make simple SVG clipPath clipping use a Moz2D Path object directly. r=longsonr 2014-09-29 14:15:19 +01:00
Jonathan Watt
12265c2c41 Bug 1073972 - Get rid of gfxContext's FillRule enum in favor of Moz2D's. r=Bas 2014-09-29 14:15:19 +01:00
Jonathan Watt
a6a8b844ba Bug 1073964 - Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type. r=Bas 2014-09-29 14:15:19 +01:00
Jonathan Watt
ae5259ef7b Bug 1073942 - Paint via the Moz2D DrawTarget in nsFilterInstance::BuildSourcePaint. r=Bas 2014-09-29 14:15:18 +01:00
Jonathan Watt
b1b948e189 Bug 1073854, part 2 - Get rid of nsSVGUtils::SetupCairoStroke. r=longsonr 2014-09-29 14:12:07 +01:00
Jonathan Watt
cdf7ab4abe Bug 1073854, part 1 - Get rid of nsSVGPaintServerFrame::SetupPaintServer. r=longsonr 2014-09-29 14:12:07 +01:00
Jonathan Watt
7c2f3f1ed0 Bug 1073012 , part 2 - Replace nsSVGUtils::SetupCairoStrokePaint with a helper that returns a gfxPattern. r=longsonr 2014-09-29 14:12:06 +01:00
Jonathan Watt
071a7f8dad Bug 1073012 , part 1 - Replace nsSVGUtils::SetupCairoFillPaint with a helper that returns a gfxPattern. r=longsonr 2014-09-29 14:12:06 +01:00
Robert Longson
1722ba86eb Bug 1073924 - Hovering over links in SVG does not cause cursor to change. r=jwatt 2014-09-29 09:20:22 +01:00
Dirk Schulze
a028173cff Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam 2014-09-28 01:56:00 +02:00
Jonathan Watt
a13699436c Bug 1073888 - Stop setting state on the gfxContext under SVGTextFrame::SetupCairoState, and restructure the code to make it easier to understand. r=heycam 2014-09-28 10:06:22 +01:00
Markus Stange
7d5a3be591 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Markus Stange
3cefe14dd4 Bug 927892 - Use aDestPoint in dt->DrawFilter instead of a translation. r=Bas
--HG--
extra : rebase_source : 1a2e9d2ba45ddec8d8378c467f0eb39ea70f66a2
2014-09-23 17:47:20 -04:00
Jonathan Watt
904d9ad030 Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas 2014-09-15 12:10:30 +01:00
Markus Stange
99314bc653 Bug 1066270 - Simplify mTargetBounds usage. r=roc 2014-09-15 12:12:52 +02:00
Markus Stange
27c391194a Bug 1066270 - Don't crash when attempting to resolve a filter from an external resource document that hasn't undergone frame construction yet. r=roc 2014-09-15 12:12:52 +02:00
Markus Stange
3c38e1c4b8 Bug 1066270 - Add nsFilterInstance::GetFilterDescription. r=roc 2014-09-15 12:12:52 +02:00
Markus Stange
d3ab6f184c Bug 1066270 - Allow aTargetFrame to be null in nsFilterInstance. r=roc 2014-09-15 12:12:51 +02:00
Markus Stange
9b0707d886 Bug 1066270 - Replace the nsIFrame* argument to nsCSSFilterInstance with a shadowFallbackColor argument. r=roc 2014-09-15 12:12:51 +02:00
Markus Stange
e1860516a0 Bug 1066270 - Add an nsIContent* parameter to the nsFilterInstance constructor. r=roc 2014-09-15 12:12:51 +02:00
Markus Stange
4d8ac4a8d7 Bug 1066270 - Resolve SVG lengths in nsSVGFilterInstance using the UserSpaceMetrics supplied in the nsFilterInstance constructor. r=roc 2014-09-15 12:12:50 +02:00
Markus Stange
b930e582d3 Bug 1066270 - Generalize SVG length resolution for nsIFrame-less consumers. r=roc 2014-09-15 12:12:50 +02:00
Markus Stange
3f498496ad Bug 1066270 - Add the ability to specify the filter chain in the nsFilterInstance constructor instead of always getting it from the frame. r=roc 2014-09-15 12:12:50 +02:00
Matt Woodrow
5056e93044 Bug 1054838, part 2 - Remove callers of DrawTarget::Mask. r=Bas,jwatt 2014-09-12 08:20:12 +01:00
Max Vujovic
e87ece8d18 Bug 1065606 - Use unclipped primitive subregion to calculate image transform in SVGFEImageElement::GetPrimitiveDescription. r=mstange 2014-09-12 10:44:14 -07:00
Ehsan Akhgari
40201d7706 Bug 1065667 - Fix more bad implicit ctors in layout; r=roc 2014-09-11 15:41:21 -04:00
Jonathan Watt
53f8ce1ac6 Bug 1064084, part 5 - Convert all consumers of gfxContext::NudgeCurrentMatrixToIntegers()/MultiplyAndNudgeToIntegers() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
2a0767dbda Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
93e59c8bd5 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
e7cd8ba247 Bug 1064082 - Get rid of nsRenderingContext's PushState and PopState methods. r=Bas 2014-09-11 07:48:10 +01:00
Jonathan Watt
13482abf5a Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:10 +01:00
Jonathan Watt
8220bc573c Bug 1064056, part 1 - Convert nsRenderingContext::AutoPushTranslation consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:09 +01:00
Jonathan Watt
423fda249a Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Max Vujovic
c27fa82d99 Bug 1058807 - Remove nsIFrame include from nsSVGFilterInstance.h. r=mstange 2014-09-10 10:26:49 -07:00
Markus Stange
8379b5448d Bug 1065344 - Remove unnecessary mAppUnitsPerCSSPx field. r=mvujovic 2014-09-10 19:06:10 +02:00
Markus Stange
5412fbee5e Bug 1065344 - Only construct the FilterDescription once. r=mvujovic 2014-09-10 19:06:07 +02:00
Markus Stange
2e7183e111 Bug 1065344 - mUserSpaceBounds shouldn't change its meaning temporarily. r=mvujovic 2014-09-10 19:06:05 +02:00
Jonathan Watt
62cd61e1b7 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
31ab875e26 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Jonathan Watt
ee916d4351 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Jonathan Watt
13e1e5f79d Bug 1062249 - Vastly simplify the various GetCanvasTM methods. r=longsonr
--HG--
extra : rebase_source : b0ba980a34c720bd3c3f3c95733083e92f0c0513
2014-09-08 12:28:50 +01:00
Markus Stange
f765e8e0ff Bug 1064842 - Add ImplCycleCollectionTraverse/Unlink implementations for nsReferencedElement so that nsSVGFilterReference can use the shorter NS_IMPL_CYCLE_COLLECTION macro. r=roc 2014-09-10 12:18:57 +02:00
Markus Stange
1d10ec322f Bug 1062832 - Make nsSVGFilterChainObserver participate in cycle collection. r=roc 2014-09-09 17:14:46 +02:00
Markus Stange
291a8d4966 Bug 1062832 - Create abstract class nsSVGFilterChainObserver for observers without frames. r=roc 2014-09-09 17:14:46 +02:00
Markus Stange
b12757247a Bug 1062832 - Move frame invalidation from nsSVGFilterReference to nsSVGFilterProperty. r=roc 2014-09-09 17:14:46 +02:00
Markus Stange
5ca816d536 Bug 1062832 - Remove frame handling from nsSVGIDRenderingObserver and put it into nsSVGRenderingObserverProperty. r=roc 2014-09-09 17:14:45 +02:00