Bas Schouten
e84586dbf4
Bug 722269: Make DrawTargetD2D::DrawSurface deal with any SourceSurface convertible to a DataSourceSurface. r=joedrew
2012-09-20 21:24:12 +00:00
Robert O'Callahan
7efeb9262e
Bug 772726. Part 14: Nudge pattern transform components to integers to avoid rounding errors. Also nudge rects to integers when we retransform them due to a CTM change. r=bas
2012-09-08 00:32:21 +12:00
Robert O'Callahan
58aea04535
Bug 772726. Part 8: Add Rect::NudgeToIntegers and share improved nudging code among all nudging APIs. r=bas
2012-09-12 17:24:09 +12:00
Robert O'Callahan
ff8935ad31
Bug 772726. Part 6: Add NudgeToIntegers operation to Azure Matrix, add MultiplyAndNudgeToIntegers to gfxContext, and call it from SVG when we render path geometry, to ensure that small internal rounding errors in transforms don't cause unnecessary differences in rasterization of paths. r=bas
2012-09-05 12:15:52 +12:00
Bas Schouten
c2c8bcf85c
Bug 772726: Factor out pixel-aligned clip handling in DrawTargetD2D. r=jrmuizel
2012-09-18 23:04:42 +00:00
George Wright
515afdf53b
Bug 777614 - Handle BGRX SourceSurfaces in Skia by converting them to BGRA r=nrc
2012-09-18 15:41:37 -04:00
George Wright
d4e6777676
Bug 777614 - Use Skia's Conical gradient shader instead of Radial to be in line with the canvas spec. r=nrc
2012-09-18 15:41:37 -04:00
Daniel Holbert
df0cad19bc
Bug 791801: Reorder AlphaBoxBlur init list to fix build warning. r=ajones
2012-09-17 15:41:24 -07:00
Jeff Muizelaar
d6345f3cb2
Bug 782647. Move the nullptr workaround macros to MFBT so that it can be shared. r=waldo
...
This also changes the header to use compiler detection instead of a
configure test. This makes the header more portable because
it doesn't require the configure infrastructure.
2012-09-01 16:16:17 -04:00
Bas Schouten
5eafc13019
Bug 790222: Fix azure stand-alone build. r=BenWa
2012-09-11 13:51:39 +00:00
Andrew Quartey
567e57c9ae
Bug 788398 - Remove unused variable 'rule' in CairoPathContext::DuplicateContextAndPath r=bjacob
2012-09-06 20:16:30 -04:00
Nicholas Cameron
bf85c57f33
Bug 722217; keep only a single snapshot. r=jrmuizel
2012-09-06 16:07:53 +12:00
Benoit Girard
ca014e6639
Bug 788681 - Fix swapped Typedefs IOSurfaceGetWidthFunc and IOSurfaceGetHeightFunc. r=smichaud
2012-09-05 17:31:30 -04:00
Anthony Jones
6eecc7f5e3
Bug 788087 - Apply matrices to Azure/Cairo patterns. r=joe
2012-09-04 21:01:57 -04:00
Anthony Jones
9c0c7bba12
Bug 784573 - Fix problems converting cairo paths between user space and device space. r=joe
2012-09-03 17:48:04 -04:00
Anthony Jones
5c27f695d2
Bug 784573 - Create a RAII helper for temporary cairo matrices. r=joe
2012-09-03 17:47:09 -04:00
Anthony Jones
e696585651
Bug 781731 - Use a similar surface for non-blurred shadows to improve performance. r=joe
2012-09-02 19:07:06 -04:00
Anthony Jones
5886de8bb7
Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back. r=jrmuizel
2012-09-02 19:07:06 -04:00
Anthony Jones
d427bdc7db
Bug 781731 - Fix shadow surface extents so they aren't double padded. r=joe
2012-09-02 19:07:05 -04:00
Anthony Jones
0fcd2824ce
Bug 781731 - Clean up DrawTargetCairo::DrawSurfaceWithShadow() to make it simpler and paint correctly in all modes. r=jrmuizel
2012-09-02 19:07:05 -04:00
Ryan VanderMeulen
02e36bcf96
Bug 781380 - Follow-up fix for a change that was lost in the original landing. r=ajones
2012-08-28 20:55:20 -04:00
Ms2ger
f900f266f1
Backout bug 781731.
2012-08-27 12:27:40 +02:00
Anthony Jones
0e06d7bda0
Bug 781731 - Fixed failed assertion in reftest1; r=doublec
2012-08-27 22:01:47 +12:00
Anthony Jones
cd3e2d436b
Bug 781731 - Use a similar surface for non-blurred shadows to improve performance; r=roc
2012-08-27 11:34:33 +02:00
Anthony Jones
e1f0182516
Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back; r=roc
2012-08-27 11:34:07 +02:00
Anthony Jones
f506730ee0
Bug 781731 - Fix shadow surface extents so they aren't double padded; r=roc
2012-08-27 11:32:14 +02:00
Anthony Jones
e10d5fffde
Bug 781731 - Clean up DrawTargetCairo::DrawSurfaceWithShadow() to make it simpler and paint correctly in all modes; r=jrmuizel
2012-08-27 11:31:56 +02:00
Anthony Jones
b54caed5e7
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::DrawSurfaceWithShadow(). r=roc
2012-08-23 19:50:59 -04:00
Anthony Jones
79ab957a38
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc
2012-08-23 19:50:59 -04:00
Nicholas Cameron
5b6207074b
Bug 784260; DrawTargetD2D should deal with Cairo surfaces in CreateBrush... . r=Bas
...
--HG--
extra : rebase_source : 6f6226c1b22b6e863499a40268cb44afab799381
2012-08-23 08:56:03 +12:00
Mats Palmgren
53b4052250
Bug 783041 - Minor cleanup: remove local 'shadowIntRect' and use 'mRect' instead since it has the same value, and use Intersect instead of IntersectRect since we're not using its return value. part 2, r=roc
2012-08-16 16:13:29 +02:00
Mats Palmgren
d6887b963c
Bug 783041 - Check IsEmpty() after rounding. part 1, r=roc
2012-08-16 16:13:29 +02:00
Joe Drew
c12d40e347
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : cfa9fc8ae592880e22e1f14cee42539b4f911668
2012-08-14 14:06:12 -04:00
Joe Drew
97cec546da
Bug 782416 - Make gfx::2d's nullptr definition actually work. r=nrc
...
--HG--
extra : rebase_source : da098e5e6d04aa1dce2ffefd4ccd0ad6ffb376b8
2012-08-15 15:24:44 -04:00
Joe Drew
012f6296d7
Back out 98d2c24ce932 for failing to build r=moron
2012-08-15 12:51:33 -04:00
Joe Drew
7d9c231869
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : 9b12a2af4c55f4dc383e8075b400e7a1fbe1ac23
2012-08-14 14:06:12 -04:00
Aryeh Gregor
6a9cec29c8
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Nicholas Cameron
20cab98861
Bug 781943. nullptr macro. r=joe
2012-08-14 09:06:59 +12:00
Robert O'Callahan
16858576bf
Bug 772726. Part 3: Optimize DrawTargetD2D::GetClippedGeometry for the case where all clips are rectangles, to work around a D2D geometry-intersection bug. r=bas
...
--HG--
extra : rebase_source : 72a21554ec37818e1b5ba4c36d03e4f81010c6a1
2012-08-10 23:18:36 +12:00
Ed Morley
10b5d6d4ac
Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html
2012-08-10 14:50:43 +01:00
Robert O'Callahan
290e486f0b
Bug 772726. Part 3: Optimize DrawTargetD2D::GetClippedGeometry for the case where all clips are rectangles, to work around a D2D geometry-intersection bug. r=bas
...
--HG--
extra : rebase_source : 51734958e7100ee4a5fc96d973905834d69345f0
2012-08-10 23:18:36 +12:00
Nicholas Cameron
a6e991fc2f
Bug 781056; remove extraneous save/restores from DrawTargetCairo. r=bas
...
--HG--
extra : rebase_source : d3c9d94d3263c50bc0d4bae42b6d58f3f5b07a0b
2012-08-10 06:45:03 +12:00
Nicholas Cameron
36ea565564
Bug 779401; Teach HelpersCairo.h about 565 image formats. r=bas
...
--HG--
extra : rebase_source : eef05ab0fa1a8094104f272786ba7a3714c27dd5
2012-08-09 08:17:04 +12:00
Nicholas Cameron
f94f86a078
Bug 780392; Make ScaledFontDWrite inherit from ScaledFontBase. r=bas
...
--HG--
extra : rebase_source : 83ffee7d64f1ecdfa15b8cf96024c27fdf00c29b
2012-08-09 08:17:04 +12:00
Sergey Glushchenko
970c894833
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
Matt Woodrow
452cca761a
Bug 778036 - Add Has function to gfx::UserData and use it in Layers to correctly check for existance of user data. r=roc
2012-08-03 17:38:44 -07:00
Andrew McCreight
9d50b26b4e
Bug 724666 - Remove debugging printfs. r=bgirard
2012-08-01 08:51:31 -07:00