Commit Graph

847 Commits

Author SHA1 Message Date
Mats Palmgren
eb4243e0c6 Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Mats Palmgren
0c9ef677ad Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 11:35:47 -04:00
Carsten "Tomcat" Book
386163877c Backed out changeset e507145a198c (bug 1149037) 2015-03-30 15:03:25 +02:00
Mats Palmgren
dc5a3bcd7b Bug 1149037 - Make nsLayoutUtils::ComputeSizeForDrawing* take a CSSIntSize param instead of a unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
Nicolas Silva
e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Seth Fowler
726d770b60 Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Andrea Marchesini
e09c883eef Bug 1134280 - Get rid of Tag() - patch 2.6 - layout/base and layout/form - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Jonathan Watt
05962ce5a4 Bug 1135913, part 1 - Simplify nsCSSRendering::DecorationLineToPath to not require a context. r=heycam 2015-02-03 14:34:14 +00:00
Seth Fowler
c582df8664 Bug 1128769 (Part 6) - Remove imgIContainer::IsDecoded and all remaining callers. r=tn 2015-02-09 23:27:40 -08:00
Seth Fowler
de38340410 Bug 1128769 (Part 1) - Propagate the imgIContainer::Draw result through the nsLayoutUtils::PaintBackground* functions. r=tn 2015-02-09 23:27:39 -08:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Xidorn Quan
b6f10f748e Bug 1055667 part 6 - Fix border/padding of ruby frame. r=dbaron
--HG--
extra : source : 42391b99e060a7b3c4e281ce2a4fda77cb3e4efc
2015-01-15 20:02:11 +11:00
Jonathan Kew
68085e20cf Bug 1107256 - Correct the position of text decoration lines on vertical text. r=smontagu 2014-12-04 00:57:18 -08:00
Jonathan Kew
292ae32743 Bug 1083848 - Make InlineBackgroundData aware of vertical writing mode. r=dbaron 2014-11-24 23:16:04 +00:00
Jonathan Watt
9910919cdd Bug 1103623 - Port most remaining gfxContext::Fill() calls to Moz2D. r=mattwoodrow 2014-11-24 00:04:33 +00:00
Jonathan Kew
34fea182cd Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Watt
45afd98fc7 Bug 1092392 - Finish porting nsCSSBorderRenderer to Moz2D. r=roc
--HG--
extra : rebase_source : 6db1d646f09b563b40208ba8bacdf3743fbe1ba7
2014-11-04 09:53:05 +00:00
Jonathan Watt
abddfde232 Bug 1092222, part 3 - Convert nsCSSRenderingBorders from Thebes to Moz2D basic types. r=roc 2014-11-03 10:03:09 +00:00
Jonathan Watt
4b6012a859 Bug 1091787, part 2 - Port the nsCSSRendering code that uses gfxContext::RoundedRectangle to Moz2D. r=mattwoodrow 2014-11-02 15:41:08 +00:00
Jonathan Watt
f6f8d40041 Bug 1091794 - Replace gfxCornerSizes with Moz2D's RectCornerRadii. r=mattwoodrow 2014-11-01 10:45:10 +00:00
Jonathan Watt
53f338200b Bug 1091323 - Convert the nsLayoutUtils helpers that paint images and take an nsRenderingContext to take a gfxContext instead. r=seth 2014-11-01 10:45:09 +00:00
Jonathan Watt
bf49eb7f25 Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel 2014-10-31 20:08:49 +00:00
Jonathan Watt
eed40293e3 Bug 1090614 - Make nsCSSRendering::PaintBoxShadowOuter construct a Moz2D Path to do its clipping. r=mattwoodrow 2014-10-31 11:16:27 +00:00
Jonathan Watt
b6106b43d2 Bug 1085529, part 2 - Port nsCSSRendering::PaintDecorationLine() to Moz2D. r=mattwoodrow 2014-10-26 01:15:26 +01:00
Rik Cabanier
3da0db254e Bug 1074056 - Part 2 - Rendering part of 1074056: Add support for interpolation hints to CSS gradients. r=roc 2014-10-22 14:25:00 +02:00
Daniel Holbert
01f42ffe4d Bug 1084500 part 2: Promote & rename ComputeBackgroundAnchorPoint to nsImageRenderer::ComputeObjectAnchorPoint. r=seth 2014-10-22 13:03:18 -07:00
Daniel Holbert
f7ee152752 Bug 1084500 part 1: Refactor ComputeBackgroundAnchorPoint to take a Position & use a per-component helper method. r=seth 2014-10-22 13:03:18 -07:00
Jonathan Watt
09f54bbbb9 Bug 1086708 - Rename the snapping variant of NSRectToRect to NSRectToSnappedRect. r=mattwoodrow 2014-10-22 12:29:06 +01:00
Jonathan Watt
b3b5a2204e Bug 477504 - Snap to device pixels any CSS border edges that are painted as a polygon. r=mats 2014-10-22 10:48:37 +01:00
Rik Cabanier
2729085dd0 Bug 591600 - CSS gradients should work on premultiplied colors. r=mstange
--HG--
extra : rebase_source : 24d38e88d6efc8ed34960c3d3602b18f5bcd2c95
2014-10-22 08:13:56 +02:00
Jonathan Watt
e3bd1068b9 Bug 1085167, part 2 - Get rid of nsRenderingContext's DeviceContext and any need for it to know about app-units-per-device-pixel. r=mattwoodrow
--HG--
extra : rebase_source : d8fb804f03a1cc4635d6acd7f66f5f21962de6d3
2014-10-20 10:55:49 +01:00
Jonathan Watt
67d66c6dc4 Bug 1085167, part 1 - Feed the appUnitPerDevPixel value through to nsCSSRendering::DrawTableBorderSegment. r=mattwoodrow
--HG--
extra : rebase_source : 4ef83ee8f45915311c1f7379e06c77f40605c17c
2014-10-20 10:55:49 +01:00
Jonathan Watt
251f92b10b Bug 1085165 - Get rid of the nsRenderingContext::SetColor() method. r=mattwoodrow
--HG--
extra : rebase_source : dc4604e04cae84b8dcbd2d9890191713555c8c7a
2014-10-20 10:55:49 +01:00
Jonathan Watt
884793d6d9 Bug 1085160 - Port the code that uses nsRenderingContext::IntersectClip() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 54226509a1b16efdc76f92f202cc2be07cf43ab4
2014-10-20 10:55:48 +01:00
Jonathan Watt
c972886b3e Bug 1085159 - Port the code that uses nsRenderingContext::DrawLine() to Moz2D. r=mattwoodrow
--HG--
extra : rebase_source : 70553292850517d695994c0a3422fab8ea0b760a
2014-10-20 10:55:48 +01:00
Jonathan Watt
b8b833765e Bug 1083753, part 2 - Port the code that uses nsRenderingContext::FillRect(nsRect) to Moz2D. r=mattwoodrow 2014-10-19 13:22:22 +01:00
Jonathan Watt
e20775a0d6 Bug 1083557 - Port the code that uses nsRenderingContext::FillPolygon() to Moz2D. r=mattwoodrow 2014-10-17 15:06:34 +01:00
Jonathan Kew
84369a0e27 Bug 1074735 pt 2 - Support drawing CSS text decorations (underline, overline, strikeout) on vertical text frames. r=smontagu 2014-10-08 10:32:55 +01:00
Carsten "Tomcat" Book
18d99025c1 Backed out changeset 32c4d5043b18 (bug 1074735) 2014-10-08 13:06:51 +02:00
Jonathan Kew
45724811c5 Bug 1074735 pt 2 - Support drawing CSS text decorations (underline, overline, strikeout) on vertical text frames. r=smontagu 2014-10-08 10:32:55 +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
8f2b6cd7d0 Bug 1067977 - Rename nsContextBoxBlur's 'blur' member to make it possible to find and reason about the code. r=dholbert 2014-09-17 08:46:39 +01:00
Mats Palmgren
fd6e6691a0 Bug 1067088 - Use aBorderArea when not skipping any sides (e.g. ::first-letter), not the joined border area. r=roc 2014-09-17 00:36:57 +00: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
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
13482abf5a Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:10 +01:00