Lee Salzman
58e976f33d
Bug 1250037 - part 3 - optimize the Moz2d fallback box blur implementation. r=bas
...
MozReview-Commit-ID: 70YnDEI20ow
2016-11-21 13:17:43 -05:00
Lee Salzman
2b779e5359
Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang
...
MozReview-Commit-ID: 5MERz8RmGUd
2016-11-21 13:17:09 -05:00
Lee Salzman
3d2a652e53
Bug 1250037 - part 1 - only blur one quadrant of a box-shadow and mirror it to the other quadrants. r=mchang
...
MozReview-Commit-ID: B4FSDmAMfXK
2016-11-21 13:16:59 -05:00
Sebastian Hengst
fd08842ecf
Backed out changeset 25840ab0d453 (bug 1250037) for assertion in Windows 8 x64 debug bc6 in browser_UITour.js. r=backout
2016-11-18 00:30:41 +01:00
Sebastian Hengst
bf0af8baea
Backed out changeset 5504280ce43c (bug 1250037)
2016-11-18 00:29:02 +01:00
Sebastian Hengst
a74c56ba73
Backed out changeset c4646823814d (bug 1250037)
2016-11-18 00:28:58 +01:00
Sebastian Hengst
e32c604fe8
Backed out changeset fb4d2febca8d (bug 1250037)
2016-11-18 00:28:40 +01:00
Lee Salzman
af2b7eaaf4
Bug 1250037 - followup - fix AlphaBoxBlur comments. r=me
2016-11-17 16:52:19 -05:00
Lee Salzman
2b4b6b14b7
Bug 1250037 - part 3 - optimize the Moz2d fallback box blur implementation. r=bas
...
MozReview-Commit-ID: 70YnDEI20ow
2016-11-17 16:04:12 -05:00
Lee Salzman
8acbd8d04a
Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang
...
MozReview-Commit-ID: 5MERz8RmGUd
2016-11-17 16:04:05 -05:00
Lee Salzman
e79ff03dbb
Bug 1250037 - part 1 - only blur one quadrant of a box-shadow and mirror it to the other quadrants. r=mchang
...
MozReview-Commit-ID: B4FSDmAMfXK
2016-11-17 16:03:59 -05:00
Milan Sreckovic
5459132cb1
Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas
...
MozReview-Commit-ID: 5Ptm0bxwKdG
--HG--
extra : rebase_source : 535f2fa2447a1401b76acc0b82ce210b3c4d6dfc
2016-08-25 13:57:39 -04:00
Chris Peterson
46bb7c80dd
Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
...
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Heiher
454c80f550
Bug 1157065- GFX: 2D: Implement AlphaBoxBlur in LS3 MMI. r=jrmuizel
...
* AlphaBoxBlur::BoxBlur
2015-04-21 19:08:00 -04:00
Ethan Lin
001ad05489
Bug 753010 - Add a NEON optimized blur method. r=mstange
2015-01-18 22:08:00 +01:00
Jonathan Watt
038b7a5ff6
Bug 1067998 - Fix OOM crash in gfxAlphaBoxBlur::Init on large blur surface. r=Bas
2014-09-17 08:46:42 +01:00
Botond Ballo
ffebd18f0b
Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
...
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Matt Woodrow
f5853d7f73
Bug 1027107 - Use fallible allocations in gfx::AlphaBoxBlur::Blur. r=Bas
2014-07-09 13:53:51 +12:00
Jonathan Watt
5aec590cc0
Bug 1023336, part 2 - Use the new BufferSizeFromStrideAndHeight helper where appropriate in Moz2D code. r=Bas
2014-06-13 22:03:52 +01:00
Birunthan Mohanathas
68b00083fd
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Markus Stange
db30cb1dcb
Bug 924102 - Let AlphaBoxBlur take separate blur radius parameters for X and Y. r=Bas
2013-11-27 12:22:36 +01:00
Markus Stange
166b3db22a
Bug 921495 - Make AlphaBoxBlur round correctly s. r=Bas
2013-11-21 17:44:41 +01:00
Bas Schouten
c0753402db
Bug 829954 - Part 2: Check for allocation success inside AlphaBoxBlur::Blur. r=jrmuizel
2013-06-04 03:13:53 +02:00
Benoit Jacob
061b45658d
Bug 869188 - Avoid mixing CheckedInt and float in Blur code - r=Bas
2013-05-07 08:14:26 -04:00
Jeff Muizelaar
f5e7e8a290
Bug 845125. Fix impromper use of CheckedInt.
...
Previously we're missing the multiplication.
2013-04-30 15:46:22 -04:00
Milan Sreckovic
1de038645a
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
f2ece8dd56
Bug 844883 - Use a signed value for the stride. r=jmuizelaar
2013-03-20 15:42:51 -04:00
Tobias Netzel
a8f635d832
Bug 818004 - New Blurring code isn't big endian compatible. r=joedrew
2012-12-04 21:00:39 -05:00
Mats Palmgren
ae5054469e
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
69f705ff64
Bug 509052: Add new, faster blurring code. r=derf
2012-11-07 09:29:54 +01:00
Ed Morley
0d699ad09b
Backout e89f1fce980d (bug 509052) for an assortment of timeouts and crashes
2012-11-07 10:47:27 +00:00
Bas Schouten
cbb586e21a
Bug 509052: Add new, faster blurring code. r=derf
2012-11-07 09:29:54 +01:00
Joe Drew
ce20fab01f
Bug 798061 - Fix mismatched malloc vs delete[] in mozilla::gfx::AlphaBoxBlur::~AlphaBoxBlur(). r=jmuizelaar
2012-10-06 21:53:23 -04:00
Andrew Quartey
1417d2b2c4
Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas
2012-09-28 13:21:40 -04:00
Daniel Holbert
d45280b718
Bug 791801: Reorder AlphaBoxBlur init list to fix build warning. r=ajones
2012-09-17 15:41:24 -07:00
Anthony Jones
15b4ca998d
Bug 781731 - Fix shadow surface extents so they aren't double padded. r=joe
2012-09-02 19:07:05 -04:00
Ms2ger
a77fd1cc47
Backout bug 781731.
2012-08-27 12:27:40 +02:00
Anthony Jones
0ef99da2cc
Bug 781731 - Fixed failed assertion in reftest1; r=doublec
2012-08-27 22:01:47 +12:00
Anthony Jones
eaaba9b733
Bug 781731 - Fix shadow surface extents so they aren't double padded; r=roc
2012-08-27 11:32:14 +02:00
Mats Palmgren
31a3faf00c
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
25d5704336
Bug 783041 - Check IsEmpty() after rounding. part 1, r=roc
2012-08-16 16:13:29 +02:00
Joe Drew
f034089eec
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
0a6f454a9d
Back out 98d2c24ce932 for failing to build r=moron
2012-08-15 12:51:33 -04:00
Joe Drew
bd561fcfea
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
a2ebf3852f
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benoit Jacob
6de3cc03da
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
0f956d7307
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469
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