Bas Schouten
1fcb5a396a
Bug 710509: Allow Skia to be easily switched off. r=khuey
2011-12-14 08:04:32 -05:00
Robert O'Callahan
275c22a4d9
Bug 705559. Part 4: Speed up AddDependencyOnSource by exiting early when we already have the dependency. r=bas
2011-12-09 22:53:14 +13:00
Robert O'Callahan
b000792783
Bug 705559. Part 3: Use mDirtyTransform to avoid unnecessary SetTransform calls. r=bas
2011-12-09 22:53:14 +13:00
Robert O'Callahan
2456b6e5fe
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
28b66411e2
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Robert O'Callahan
319f597522
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
a137a02902
Bug 703028: Fix obnoxious warning spew from gfx 2d stuff. r=me
2011-11-21 09:56:24 -05:00
Joe Drew
96c47d53c7
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
06b1076330
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-18 08:43:10 +00:00
Kyle Huey
97fe0428dd
Back out Bug 685767 for leaking.
2011-11-17 13:01:11 -05:00
Joe Drew
2a96c7591e
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
14906f6012
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
54c0d2c312
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
ac8a886cca
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
db401edaf6
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Matt Woodrow
1fe8fa86c4
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
d83c839e71
Bug 703428 - Handle invalid stroke options. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
001c5e17dc
Bug 702515 - Implement GetStrokedBounds for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
447edb89ff
Bug 702516 - Enable bilinear filtering for Skia. r=jrmuizel
2011-11-18 17:00:38 +13:00
Marco Castelluccio
539afdfd2d
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Matt Woodrow
e378626ccd
Bug 688368 - Make SourceSurfaceSkia data surfaces copy-on-write. r=joe
2011-11-03 08:55:03 +13:00
Matt Woodrow
70b0201473
Bug 698318 - Share ArcToBezier code. r=jrmuizel
2011-11-03 08:55:03 +13:00
Matt Woodrow
b1f0c14c8f
Bug 688367 - Add Skia backend to Azure. r=jrmuizel
2011-11-03 08:55:03 +13:00
Bas Schouten
0c716243d1
Bug 691571: Properly mark Azure DrawTarget changed on all drawing operations. r=jrmuizel
2011-10-05 16:08:56 +02:00
Chris Coulson
5fdbc9e8ad
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
ff52c21b41
Bug 688902. 2d: Document Color as being non-premultiplied. r=bas
2011-09-24 11:51:29 -04:00
Atul Aggarwal
0ad3e8fe97
Bug 679618 - Uninitialized memory in gfx/2d/SourceSurfaceCG.cpp; r=jmuizelaar
2011-08-31 13:16:12 +01:00
Matt Woodrow
19a7d127bb
Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf
2011-08-27 12:06:03 +12:00
Jacek Caban
c6036c1c5c
Bug 670093 - gfx/2d fails to compile on mingw r=bas.schouten
2011-08-23 17:35:13 +02:00
Bas Schouten
35d30b70ea
Bug 676753: Support subpixel-AA for the Azure D2D backend. r=jrmuizel
2011-08-16 04:37:00 +02:00
Matt Woodrow
94c77021d3
Bug 505115 - Part 8a - Add BasePoint3D and gfxPoint3D. r=roc
2011-08-03 15:04:20 +12:00
Jeff Muizelaar
b9f9c276e2
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
2537769b07
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
c0779e81da
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
1435e7c960
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
c02a8954d4
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
c3bda7b882
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
1620a4aeda
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
c245d42ef8
Bug 668801 - Followup: Properly address review comments.
2011-07-05 08:52:48 +00:00
Bas Schouten
72f76e0821
Bug 668801 - Part 3: Adjust dealing with clipped shadows to be accurate. r=jrmuizel
2011-07-05 06:28:20 +00:00
Bas Schouten
019c7be9e5
Bug 668801 - Part 2: Fix small bug in Azure shadow drawing. r=jrmuizel
2011-07-05 06:28:17 +00:00
Bas Schouten
6fd1143efd
Bug 668801 - Part 1: Adjust Azure for traditional shadow drawing style. r=jrmuizel
2011-07-05 06:28:14 +00:00
Ehsan Akhgari
81c1809f15
Merge mozilla-central and mozilla-inbound
2011-06-30 05:08:20 -04:00
Oleg Romashin
16eb63ac90
Bug 668368 - Logging.h compile fail due to missing stdio.h r=bas.schouten
2011-06-29 15:13:21 -07:00
Bas Schouten
5ddc8b75ed
Bug 667290: Properly clear the downsampled destination before blending to it. r=jrmuizel
2011-06-28 02:10:06 +02:00
Takanori MATSUURA
7b7e9b6257
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
42f0bc1715
Bug 662038, part 3: Implement dashing for d2d. r=Bas
2011-06-29 14:34:58 -07:00
Chris Jones
5f6de87e85
Bug 662038, part 2: Add dashing API to Azure. r=Bas sr=roc
2011-06-29 14:34:58 -07:00
Bas Schouten
57db44a01f
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