Markus Stange
40b99ad71c
Bug 1000382 - Don't simplify the invalidation region before calling nsSVGIntegrationUtils::AdjustInvalidAreaForSVGEffects. r=roc
2014-04-24 10:25:17 +02:00
Markus Stange
6252ee1b2c
Bug 997735 - Add nsSVGUtils::FrameSpaceInCSSPxToUserSpaceOffset. r=roc
...
This function calculates the offset between "bounding box frame space" and "user space" for SVG frames. For non-SVG frames it returns no offset.
It's crucial that this is consistent with what nsSVGUtils::GetBBox does.
nsFilterInstance has several methods that are called by consumers before the actual painting, e.g. to calculate post filter extents or invalidation regions. Those nsFilterInstance APIs have their input and output values in "bounding box frame space" coordinates, but if the filter units are "objectBoundingBox", then those methods also do calculations involving the result of nsSVGUtils::GetBBox. So a consistent conversion is very important.
2014-04-23 11:47:42 +02:00
Jonathan Watt
55c20bd03b
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Daniel Holbert
4f5d0ab15b
Bug 991285 part 1: Consistently allocate nsRenderingContext instances on the heap. r=roc
2014-04-15 12:54:10 -07:00
Reuben Morais
fee52d545d
Bug 458300 - Remove some unneeded includes of nsINameSpaceManager.h. r=jst
2014-02-27 20:04:45 -03:00
Robert Longson
6b775d2ff7
Bug 975206 - Elements with non-existent clip-path URLs do not fire events. r=jwatt
2014-02-26 20:40:07 +00:00
Max Vujovic
197d75eb7d
Bug 948265 - Split out rendering code from nsSVGFilterInstance into nsFilterInstance. r=roc
2014-02-24 10:22:58 -05:00
Max Vujovic
3525e8dc33
Bug 948265 - Pass an nsStyleFilter chain instead of an nsSVGFilterFrame into nsSVGFilterInstance. r=roc
2014-02-24 10:22:58 -05:00
Arnaud Sourioux
a7fb7f5ece
Bug 974687 - Part 2: Fix more than 80cols issues caused by MOZ_OVERRIDE annotation. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
fe6152ac7a
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Max Vujovic
a5b842434f
Bug 948265 - [CSS Filters] Change nsSVGFilterProperty to track an nsStyleFilter chain instead of a single nsIURI and nsSVGFilterFrame. r=roc
2014-02-09 20:31:03 -08:00
Max Vujovic
524fc26325
Bug 948265 - [CSS Filters] Make nsSVGIntegrationUtils and nsSVGUtils call nsSVGFilterInstance directly instead of through nsSVGFilterFrame. r=roc
2014-02-06 10:42:35 -08:00
Ryan VanderMeulen
0a7d71ef8a
Backed out changeset d4251829067b (bug 948265) for bustage.
...
CLOSED TREE
2014-02-07 11:05:39 -05:00
Max Vujovic
8ef1148fb1
Bug 948265 - [CSS Filters] Make nsSVGIntegrationUtils and nsSVGUtils call nsSVGFilterInstance directly instead of through nsSVGFilterFrame. r=roc
2014-02-07 10:48:39 -05:00
Benoit Jacob
aeb3bee922
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Markus Stange
45651a8470
Bug 957366 - Skip the temporary surface during filter drawing for DrawTarget-backed gfxContexts. r=roc
2014-01-08 10:30:57 +01:00
Robert Longson
87a27cceeb
Bug 956311 - Remove nsSVGGeometryFrame. r=dholbert
2014-01-04 08:29:02 +00:00
Robert Longson
3807d1d9ce
Bug 955917 (Part 2) - Remove unused functions from nsSVGUtils. r=dholbert
2014-01-03 08:57:43 +00:00
Robert Longson
c71c8cd29f
Bug 955917 - Remove unused functions from nsSVGUtils. r=dholbert
2014-01-02 12:09:07 +00:00
Robert Longson
87d8436039
Bug 955854 - Remove unused colour space mapping code and move the rest to nsSVGMaskFrame. r=dholbert
2014-01-02 12:01:29 +00:00
David Zbarsky
0d2a558518
Bug 952977: Switch GetCTM to gfx::Matrix r=nical
2013-12-31 13:44:27 -05:00
David Zbarsky
c5dc6db673
Bug 952977: Switch nsSVGImageFrame to gfx::Matrix r=nical
2013-12-30 16:42:26 -05:00
David Zbarsky
1b2bfec3ce
Bug 952977: Switch GetBBoxContribution to gfx::Matrix r=nical
2013-12-30 01:50:07 -05:00
David Zbarsky
3bb08d3626
Bug 952977: Switch IsSVGTransformed to gfx::Matrix r=nical
2013-12-29 18:35:53 -05:00
David Zbarsky
c09f7abbbc
Backout b04bd18e5692 for reftest failure
2013-12-26 15:13:57 -05:00
Robert Longson
18a59f0005
Bug 953064 - Add MOZ_STACK_CLASS and MOZ_GUARD_OBJECT_NOTIFIER to various classes. r=dholbert
2013-12-26 18:49:49 +00:00
David Zbarsky
5d7caff1f5
Bug 952977: Switch PrependSVGTransform to gfx::Matrix r=nical
2013-12-26 13:06:54 -05:00
Robert Longson
c032670925
Bug 940193 - rename nsSVGTextFrame2 to SVGTextFrame. r=dholbert
2013-12-20 16:38:51 +00:00
Markus Stange
02ec942e35
Bug 924103 - Use Moz2D for SVG filter rendering. r=roc
2013-11-27 12:25:29 +01:00
Robert Longson
c842d75793
Bug 939942 - Reflow when bounds changes due to stroke creation/removal. r=jwatt
2013-11-23 13:32:21 +00:00
Jonathan Watt
fea6ae5816
Bug 889736, part 4 - Remove nsSVGTextContainerFrame. r=heycam
2013-11-18 14:29:53 +00:00
Jonathan Watt
f79b8d3d83
Bug 889736, part 3 - Remove nsSVGTSpanFrame. r=heycam
2013-11-18 14:29:52 +00:00
Jonathan Watt
bb7921650c
Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam
2013-11-18 14:29:51 +00:00
Jonathan Watt
ee13428cd8
Bug 932761 - Implement Moz2D path builders for all of the SVG element types. r=dholbert
2013-11-02 11:10:38 +00:00
Jonathan Watt
d944082dbd
Bug 932091 - Convert SVGBBox.mBBox to Moz2D. r=dholbert
2013-11-01 11:04:01 +00:00
Jonathan Watt
4bb8a8332f
Bug 931769, part 3 - Move MaxExpansion() from nsSVGUtils to nsSVGPatternFrame, and convert it to Moz2D. r=dholbert
2013-10-29 08:14:40 +00:00
Jonathan Kew
34ff12bd34
bug 930420 - respect any transform on the glyph element itself when calculating SVG glyph extents. r=heycam
2013-10-25 10:09:30 +02:00
Jonathan Watt
a502c39fc1
Bug 929441 - Stop unnecessarily setting a transform between emitting a path and stroking it. r=Bas
2013-10-22 23:45:51 +02:00
Ehsan Akhgari
1fe743715d
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
2013-10-07 19:15:59 -04:00
Ehsan Akhgari
0a2355b4e0
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Benoit Jacob
f6f57bbbb4
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Rik Cabanier
599b99ceb8
Bug 902525 - Part 3: create a layer for content that stores the blend mode r=roc
2013-09-14 20:40:11 -07:00
Jonathan Kew
8cc7cd2503
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
...
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
Edwin Flores
4c3c88ed0c
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Jonathan Kew
cf3770b9ff
bug 875329 - don't ignore transforms when rendering SVG-in-OT glyphs. r=heycam
2013-09-11 08:27:45 +01:00
Robert O'Callahan
b4af4e806a
Bug 906521. Part 7: Handle cases where an SVG glyph has no frame or a non-SVG frame without crashing in debug builds. r=jfkthame
2013-08-20 01:08:43 +12:00
Max Vujovic
5a2daf1e45
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-22 15:08:33 -07:00
Ed Morley
69c6c1cc68
Backed out changeset f24d81b85929 (bug 895182) for Windows build failures on a CLOSED TREE
2013-07-23 16:36:45 +01:00
Max Vujovic
977bf5fda4
Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam
2013-07-23 10:47:16 -04:00
Cameron McCormack
d41b45f15c
Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt
2013-07-12 17:13:07 +10:00