Commit Graph

31 Commits

Author SHA1 Message Date
Bas Schouten
a2627198c4 Bug 829954 - Part 2: Check for allocation success inside AlphaBoxBlur::Blur. r=jrmuizel 2013-06-04 03:13:53 +02:00
Benoit Jacob
4245a75a70 Bug 869188 - Avoid mixing CheckedInt and float in Blur code - r=Bas 2013-05-07 08:14:26 -04:00
Jeff Muizelaar
d578d15fd7 Bug 845125. Fix impromper use of CheckedInt.
Previously we're missing the multiplication.
2013-04-30 15:46:22 -04:00
Milan Sreckovic
2662270c23 Bug 845125 - Add gfxImageSurface constructor that allocates more space than needed, change AlphaBoxBlur to not hold on to the data and let the callers manage it. r=jmuizelaar 2013-04-19 12:13:18 +02:00
Steve Singer
68e0638cba Bug 844883 - Use a signed value for the stride. r=jmuizelaar 2013-03-20 15:42:51 -04:00
Tobias Netzel
6dd2b0c4ea Bug 818004 - New Blurring code isn't big endian compatible. r=joedrew 2012-12-04 21:00:39 -05:00
Mats Palmgren
25edff24aa Bug 815489 - Don't let Blur() swap mData since the buffer is also used by the image surface. r=roc 2012-11-28 19:55:36 +01:00
Bas Schouten
2566a9e172 Bug 509052: Add new, faster blurring code. r=derf 2012-11-07 09:29:54 +01:00
Ed Morley
b9ac8afd08 Backout e89f1fce980d (bug 509052) for an assortment of timeouts and crashes 2012-11-07 10:47:27 +00:00
Bas Schouten
66209d86a7 Bug 509052: Add new, faster blurring code. r=derf 2012-11-07 09:29:54 +01:00
Joe Drew
821fa45bcb Bug 798061 - Fix mismatched malloc vs delete[] in mozilla::gfx::AlphaBoxBlur::~AlphaBoxBlur(). r=jmuizelaar 2012-10-06 21:53:23 -04:00
Andrew Quartey
f55a37c1ba Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas 2012-09-28 13:21:40 -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
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
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
f506730ee0 Bug 781731 - Fix shadow surface extents so they aren't double padded; r=roc 2012-08-27 11:32:14 +02: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
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
Sergey Glushchenko
970c894833 Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benoit Jacob
17b0e7f92d Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Ed Morley
8b2dbc3dca Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
8fbc0a34da Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Joe Drew
b118c666da Bug 739969 - Port patch from bug 633627 to use fixed point division instead of integer. r=jmuizelaar 2012-04-01 15:16:33 -04:00
Joe Drew
9faa8a6d27 Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow 2011-11-18 22:19:24 +13:00
Kyle Huey
053e18194b Back out Bug 685767 for leaking. 2011-11-17 13:01:11 -05:00
Joe Drew
890d07996d Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow 2011-11-14 17:29:28 +13:00