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

1868 Коммитов

Автор SHA1 Сообщение Дата
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