Commit Graph

130 Commits

Author SHA1 Message Date
Nicholas Cameron
bc5099c604 Bug 934842. CopySurface for data source surfaces. r=Bas 2013-11-08 14:39:34 +13:00
Birunthan Mohanathas
0b0edc221f Bug 784739 - Switch from NULL to nullptr in gfx/2d/; r=Bas 2013-07-20 11:48:55 +03:00
Bas Schouten
84ae160987 Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel 2013-06-19 22:48:40 +02:00
Bas Schouten
c47a0fd6a5 Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel 2013-06-19 22:48:40 +02:00
Ehsan Akhgari
b53c55af92 Backed out 2 changesets (bug 878032) because of Windows build bustage
Backed out changeset 3cb61a7d5746 (bug 878032)
Backed out changeset 627c03f469d8 (bug 878032)

Landed on a CLOSED TREE
2013-06-19 17:35:21 -04:00
Bas Schouten
86fd3f081f Bug 878032 - Part 2: Factor out partial bitmap uploading and scaling. r=jrmuizel 2013-06-19 22:48:40 +02:00
Bas Schouten
c1e8710df0 Bug 878032 - Part 1: Factor out some simle none-RenderTarget dependent functions. r=jrmuizel 2013-06-19 22:48:40 +02:00
Jeff Muizelaar
e8ad1930d2 Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592
2013-06-12 23:57:51 -04:00
Ryan VanderMeulen
61168f0ad6 Backed out changeset 8dcb029b9ca5 (bug 880836) for asserts.
CLOSED TREE
2013-06-18 12:08:19 -04:00
Jeff Muizelaar
c6a8ad6595 Bug 880836. Add MaskSurface() to Azure. r=bas
This gives a substantial performance improvement over the more general Mask():

Test (MaskSurface10x10):  1.93042ms +/- 0.305028
Test (MaskSurface100x100):  2.33435ms +/- 1.00807
Test (MaskSurface500x500):  28.0472ms +/- 0.820744
Test (MaskSurface1000x1000):  107.656ms +/- 6.44615
Test (Mask10x10):  13.5237ms +/- 0.0932034
Test (Mask100x100):  14.0742ms +/- 1.21005
Test (Mask500x500):  96.5596ms +/- 1.81415
Test (Mask1000x1000):  356.891ms +/- 9.30592
2013-06-12 23:57:51 -04:00
Bas Schouten
2ecdd3afb8 Bug 828157 - Properly offset gradient origin when using D2D to draw moderately complex gradients. r=jmuizelaar 2013-03-12 15:55:50 -04:00
Filippo Cristofoletti
5850b231e0 Bug 755031 - Fix some other warnings in gfx/2d. r=jmuizelaar 2013-01-28 10:09:29 -05:00
Bas Schouten
f9e724d144 Bug 817019: Don't push ClearType layers to Transparent rendertargets. r=jrmuizel 2013-01-15 02:20:10 +01:00
Jeff Muizelaar
74b267affb Bug 823393. Breakage fix for partially commited Bug 823148.
Only some hunks of the patch for bug 823148 made it into the
tree. I've no idea why.
2012-12-20 01:16:45 -05:00
Jeff Muizelaar
94d93827f0 Bug 823148. Make IsPatternSupportedByD2D match its name. r=bgirard
The name of this function got inverted but its implementation stayed the same.
2012-12-19 23:19:45 -05:00
Rik Cabanier
0258e7e172 Bug 809927: Add new blend modes and implement them for Direct2D. r=bas 2012-12-12 21:28:17 +01:00
Brian R. Bondy
2afb1f34a0 Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas 2012-11-25 14:00:31 -05:00
Bas Schouten
8fbd0acd9c Bug 814101: Respect system-wide cleartype setting. r=jrmuizel,jfkthame 2012-11-23 02:53:12 +01:00
Bas Schouten
6b625bbf88 Bug 798931: Push clip layers to the correct render targets. r=roc 2012-10-08 12:17:17 +02:00
Bas Schouten
bc5a60e146 Bug 784382 - Part 2: Use new ID2D1DeviceContext interface in Azure. r=jrmuizel 2012-10-07 01:43:16 +02:00
Robert O'Callahan
91183e7129 Bug 793690. Fix the obvious typos for infinite rects in SetScissorRect. r=bas 2012-10-04 00:30:56 +13:00
Andrew Quartey
a7d8d6fc00 Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas 2012-09-28 13:21:40 -04:00
Bas Schouten
bf847498a3 Bug 722269: Make DrawTargetD2D::DrawSurface deal with any SourceSurface convertible to a DataSourceSurface. r=joedrew 2012-09-20 21:24:12 +00:00
Bas Schouten
261cedde50 Bug 772726: Factor out pixel-aligned clip handling in DrawTargetD2D. r=jrmuizel 2012-09-18 23:04:42 +00:00
Nicholas Cameron
9ae0604347 Bug 784260; DrawTargetD2D should deal with Cairo surfaces in CreateBrush... . r=Bas 2012-08-23 08:56:03 +12:00
Joe Drew
3f0afe00d0 Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas 2012-08-14 14:06:12 -04:00
Joe Drew
0a4da78c18 Back out 98d2c24ce932 for failing to build r=moron 2012-08-15 12:51:33 -04:00
Joe Drew
123b07964c Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas 2012-08-14 14:06:12 -04:00
Robert O'Callahan
a228c239c3 Bug 772726. Part 3: Optimize DrawTargetD2D::GetClippedGeometry for the case where all clips are rectangles, to work around a D2D geometry-intersection bug. r=bas 2012-08-10 23:18:36 +12:00
Ed Morley
4b977f82e7 Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html 2012-08-10 14:50:43 +01:00
Robert O'Callahan
f09c853e4f Bug 772726. Part 3: Optimize DrawTargetD2D::GetClippedGeometry for the case where all clips are rectangles, to work around a D2D geometry-intersection bug. r=bas 2012-08-10 23:18:36 +12:00
Nicholas Cameron
d2801864c3 Bug 780392; Make ScaledFontDWrite inherit from ScaledFontBase. r=bas 2012-08-09 08:17:04 +12:00
Sergey Glushchenko
21c837b439 Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Bas Schouten
ebc4c4dae4 Bug 770033 - Part 3: Deal with extend modes for D2D partial bitmap uploads. r=jrmuizel 2012-07-04 20:23:16 +02:00
Bas Schouten
c94271b310 Bug 765845: Reduce calling frequency of SetTextRenderingParams. r=jrmuizel 2012-06-26 02:59:18 +02:00
Bas Schouten
1ca63f3ddd Bug 761397 - Part 1: Cache ID2D1Layers for D2D Azure backend. r=jrmuizel 2012-06-20 23:41:16 +02:00
Bas Schouten
7a413a89c7 Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel 2012-06-20 23:41:16 +02:00
Bas Schouten
6bfbee1145 Bug 758980: Assume DirectWrite is buggy when it returns empty alpha texture bounds. r=jrmuizel 2012-06-13 10:42:23 +02:00
Jacek Caban
6edc6ba825 Bug 756996 - GCC warnings in gfx/2d r=bas 2012-06-04 13:02:02 +02:00
Bas Schouten
88bb1c15f6 Bug 736460: Deal with gradient stops in a single position. r=jrmuizel 2012-06-02 00:00:28 +02:00
Ed Morley
cbd05ab395 Backout fa3fe2aff1f5 (bug 756996) for bustage 2012-05-31 15:46:38 +01:00
Jacek Caban
a7aeeac80b Bug 756996 - GCC warnings in gfx/2d r=bas 2012-05-31 16:09:20 +02:00
Jacek Caban
c8bf04c74f Bug 756430 - Missing return statement in DrawTargetD2D::FillGlyphsManual r=bas 2012-05-21 11:03:06 +02:00
Bas Schouten
956d41fcdd Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Bas Schouten
b54678ba9c Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Ed Morley
44e4c7a72d Backout a693c64dc64e (bug 715768), c520957cc03f & 713ed280a80d (bug 756767), 20cb25a8b8ba (bug 756454), f3b5ad2320cb (bug 756424) for crashes 2012-05-21 18:56:46 +01:00
Bas Schouten
b2eb0b34bc Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Bas Schouten
1cf19157b1 Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Bas Schouten
cdd664e722 Bug 717393 - Part 4: Add code for drawing subpixel AA to transparent surfaces. r=jrmuizel 2012-05-15 16:57:51 +02:00