Граф коммитов

547 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan f7fb3da105 Bug 705559. Part 3: Use mDirtyTransform to avoid unnecessary SetTransform calls. r=bas 2011-12-09 22:53:14 +13:00
Robert O'Callahan 6857f8955e Bug 705559. Part 2: Keep only one snapshot per DrawTargetD2D since all stored snapshots represent the 'last state'. Reuse that snapshot if the state hasn't changed since the last snapshot. Keep the last snapshot alive and make the snapshot's mDrawTarget weak instead. Change mDependingOnTargets/mDependentTargets to be hashsets instead of vectors. Remove SourceSurfaceD2DTarget::mIsCopy since the null-ness of mDrawTarget means the same thing. r=bas 2011-12-09 22:51:57 +13:00
Jeff Walden f76f7d6da3 Bug 704313 - Implement mozilla/StdInt.h. r=cjones
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Robert O'Callahan f9ccb9e0ae Bug 705173. Make mDependentTargets weak by tracking the inverse relationship in mDependingOnTargets. In Flush(), remove dependencies on other targets. r=bas 2011-11-25 15:12:40 +13:00
Kyle Huey f526cd64fb Bug 703028: Fix obnoxious warning spew from gfx 2d stuff. r=me 2011-11-21 09:56:24 -05:00
Joe Drew 9099fa5d4d Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow 2011-11-18 22:19:24 +13:00
Ed Morley 9f6a8ca44b Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-18 08:43:10 +00:00
Kyle Huey 990c3809c4 Back out Bug 685767 for leaking. 2011-11-17 13:01:11 -05:00
Joe Drew 36c2db467c Bug 685767 - Factor blurring out into its own class, and use it from gfxAlphaBoxBlur. r=mattwoodrow 2011-11-14 17:29:28 +13:00
Joe Drew 1bb0d43d4b Bug 685326 - Move Round{,In,Out} from gfxRect to BaseRect, and make them no-ops on IntRect. r=Bas 2011-11-14 17:29:14 +13:00
Joe Drew 22c35b1a70 Bug 685322 - Create explicit conversion constructors for Rect and Point taking IntRect and IntPoint. r=roc 2011-11-14 17:29:01 +13:00
Matt Brubeck 65a5f3ea90 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio d303f502ae Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Matt Woodrow 7af9c13518 Bug 703463 - Let SourceSurfaceSkia snapshots take ownership of DrawTargetSkia pixel data when it is destroyed. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow 75add05f0c Bug 703428 - Handle invalid stroke options. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow 75cbb62c58 Bug 702515 - Implement GetStrokedBounds for Skia. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow 9f1a782ce0 Bug 702516 - Enable bilinear filtering for Skia. r=jrmuizel 2011-11-18 17:00:38 +13:00
Marco Castelluccio 2f7388d5b7 Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow 2011-11-18 17:00:37 +13:00
Matt Woodrow 3475c0cc87 Bug 688368 - Make SourceSurfaceSkia data surfaces copy-on-write. r=joe 2011-11-03 08:55:03 +13:00
Matt Woodrow ed14f0aa74 Bug 698318 - Share ArcToBezier code. r=jrmuizel 2011-11-03 08:55:03 +13:00
Matt Woodrow 4fc2827fb5 Bug 688367 - Add Skia backend to Azure. r=jrmuizel 2011-11-03 08:55:03 +13:00
Bas Schouten fdd4bfc148 Bug 691571: Properly mark Azure DrawTarget changed on all drawing operations. r=jrmuizel 2011-10-05 16:08:56 +02:00
Chris Coulson 016428a270 Bug 690432: Fix "format not a string literal and no format arguments" error in gfx logging code. r=bas 2011-09-29 12:25:07 -07:00
Jeff Muizelaar c039ef0e76 Bug 688902. 2d: Document Color as being non-premultiplied. r=bas 2011-09-24 11:51:29 -04:00
Atul Aggarwal d578a40f89 Bug 679618 - Uninitialized memory in gfx/2d/SourceSurfaceCG.cpp; r=jmuizelaar 2011-08-31 13:16:12 +01:00
Matt Woodrow 11c1aac810 Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf 2011-08-27 12:06:03 +12:00
Jacek Caban 468f586acc Bug 670093 - gfx/2d fails to compile on mingw r=bas.schouten 2011-08-23 17:35:13 +02:00
Bas Schouten 2a1c9e2a9b Bug 676753: Support subpixel-AA for the Azure D2D backend. r=jrmuizel 2011-08-16 04:37:00 +02:00
Matt Woodrow af6bccfe08 Bug 505115 - Part 8a - Add BasePoint3D and gfxPoint3D. r=roc 2011-08-03 15:04:20 +12:00
Jeff Muizelaar f5a851c283 Bug 674003. D2D: Fix premultiplying to only premultiply the color components. r=bjacob
We were accidentally squaring alpha this caused our surface to end up with superluminescent values.
Fix this by only multiplying alpha with the color componenets and not itself.
2011-07-28 16:31:28 -04:00
Jeff Muizelaar e4aa8bf5dd Bug 672646. D2D: Fix trasparent radial gradients. r=roc
The output merger stage was expecting premultiplied alpha
and we were giving non-premultiplied. Fix by premultiplying
in the shader.

Also adds a reftest for this situation.
2011-07-21 18:40:41 -04:00
Bas Schouten 8367a2ca66 Bug 666452 - Part 3: Create a minimal size temp surface for canvas shadow drawing. r=roc 2011-07-13 02:36:28 +02:00
Bas Schouten e72bf56f22 Bug 666452 - Part 2: Minimize drawing done with shadow in the Azure D2D backend. r=BenWa 2011-07-13 02:34:43 +02:00
Bas Schouten 9c36d75cba Bug 666452 - Part 1: Expose functions to get the (stroked) bounds of a path. r=BenWa sr=roc 2011-07-13 02:34:40 +02:00
Bas Schouten 371b57bace Bug 666097 - Fix radial gradient drawing in Azure. r=jrmuizel
* * *
Part 2: Adjust tests to properly confirm passing. r=jrmuizel
2011-07-08 18:49:35 +00:00
Jeff Muizelaar 12139c87c5 2D: Add a comment about why we need to know the fill mode early. r=bas 2011-07-07 12:57:52 -04:00
Bas Schouten 300196ee5f Bug 668801 - Followup: Properly address review comments. 2011-07-05 08:52:48 +00:00
Bas Schouten aa0a80ced3 Bug 668801 - Part 3: Adjust dealing with clipped shadows to be accurate. r=jrmuizel 2011-07-05 06:28:20 +00:00
Bas Schouten c17281a505 Bug 668801 - Part 2: Fix small bug in Azure shadow drawing. r=jrmuizel 2011-07-05 06:28:17 +00:00
Bas Schouten ab39deeadf Bug 668801 - Part 1: Adjust Azure for traditional shadow drawing style. r=jrmuizel 2011-07-05 06:28:14 +00:00
Ehsan Akhgari 86da6932d3 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Oleg Romashin 37e4c451c1 Bug 668368 - Logging.h compile fail due to missing stdio.h r=bas.schouten 2011-06-29 15:13:21 -07:00
Bas Schouten e768a19cf6 Bug 667290: Properly clear the downsampled destination before blending to it. r=jrmuizel 2011-06-28 02:10:06 +02:00
Takanori MATSUURA 4041dc2544 Bug 667286 - Include cairo.h as "cairo.h" instead of "cairo/cairo.h"; r=bas 2011-06-26 23:10:35 +09:00
Chris Jones e0d217fcaa Bug 662038, part 3: Implement dashing for d2d. r=Bas 2011-06-29 14:34:58 -07:00
Chris Jones 952bc1a668 Bug 662038, part 2: Add dashing API to Azure. r=Bas sr=roc 2011-06-29 14:34:58 -07:00
Bas Schouten 189472e8c9 Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
--HG--
rename : gfx/src/BaseMargin.h => gfx/2d/BaseMargin.h
rename : gfx/src/BasePoint.h => gfx/2d/BasePoint.h
rename : gfx/src/BaseRect.h => gfx/2d/BaseRect.h
rename : gfx/src/BaseSize.h => gfx/2d/BaseSize.h
2011-06-24 19:41:16 +02:00