David Major
a0e452cc20
Bug 1122367: Null check the result of D2DFactory(). r=Bas
2015-01-20 10:56:59 +13:00
Bas Schouten
6551fc8ba4
Bug 1114398 - Part 1: Make Direct2D paths specifically typed to a backend type. r=jrmuizel
2015-01-08 00:10:48 +00:00
Milan Sreckovic
8445ba0749
Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical
2014-12-17 17:54:04 -05:00
Carsten "Tomcat" Book
f901cbe58a
Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes
2014-12-17 12:56:04 +01:00
Milan Sreckovic
0b0239db58
Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical
2014-12-16 13:22:26 -05:00
Nicolas Silva
01dc7cd769
Bug 1086670 - Add more gfxCriticalError logging in the D2D backend. r=jrmuizel
2014-11-26 21:05:01 +01:00
Bas Schouten
08dbb53c8c
Bug 1101248: Properly check return values of creation functions in DrawTargetD2D1::Init. r=BenWa
2014-11-24 19:44:48 +00:00
Bas Schouten
f62c69e9d3
Bug 892910: Deal with newSize becoming empty in CreatePartialBitmapForSurface. r=BenWa
...
This patch deals with the situation where newSize becomes empty and causes a division by 0 in the current code. It also ensures all the callers will abort any potential drawing when CreatePartialBitmapForSurface returns a nullptr.
2014-11-20 20:48:01 +00:00
Bas Schouten
a3145d15a9
Bug 1101130: Make Direct2D 1.1 clean up its resources on shutdown. r=jrmuizel
2014-11-20 00:16:48 +00:00
Bas Schouten
c3eb655ddc
Bug 1097293: Do not draw radial gradients when centers and radii are identical. r=jrmuizel
...
When Cinner and Couter are equal, as well as Rinner and Router, the algorithm described in the canvas specification will hit a division by 0. As described in section 7 of the Canvas2D specification nothing should be drawn in this situation.
2014-11-12 15:05:13 +00:00
Bas Schouten
93ec577355
Bug 1088235: Use DrawBitmap when we can. r=jrmuizel
2014-11-11 22:09:31 +00:00
Bas Schouten
da9cf36e0c
Bug 1085187: Properly deal with sampling restriction when using DataSourceSurfaces. r=jrmuizel
2014-10-29 23:40:38 +01:00
Bas Schouten
34e15d49a4
Bug 1075615: Pretranslate the pattern matrix when the pattern specifies a sampling rect. r=jrmuizel
2014-10-01 19:50:24 +02:00
Markus Stange
9e1c33c018
Bug 983574 - When setting a SourceSurface input on a FilterNodeD2D1, delay the conversion to ID2D1Image until the actual DrawFilter call. r=Bas
2014-09-25 15:18:29 -04:00
Nicolas Silva
a318a426b4
Bug 1070018 - Log HRESULT error codes as hexadecimal values rather than signed integers. r=Bas
2014-09-23 11:35:39 -04:00
Bas Schouten
3c9983b9cc
Bug 1068613 - Addendum 2: Fix bustage due to stray character. r=bustage on a CLOSED TREE
2014-09-18 00:35:48 +02:00
Nicolas Silva
fbfe674e91
Bug 1068613 - Part 3: Log failures in D2D, D2D 1.1 and the D3D11 TextureClient. r=bas
2014-09-17 23:23:09 +02:00
Bas Schouten
0d7ec6e891
Bug 1066465: Fixup DrawTargetD2D1::DrawFilter to respect the AA mode and Finalize properly. r=jrmuizel
2014-09-14 23:52:47 +02:00
Bas Schouten
f19f69071d
Bug 1066463: Have DrawTargetD2D1::DrawSurface take the transform into account when doing a partial upload. r=jrmuizel
2014-09-14 23:52:46 +02:00
Bas Schouten
a1d2b56b80
Bug 1066676: Make DrawTargetD2D1::DrawSurface respect the interpolation mode. r=jrmuizel
2014-09-14 23:51:35 +02:00
Bas Schouten
10b9d90c51
Bug 1066673: Change DrawTargetD2D1::DrawSurfaceWithShadow to operate as per Canvas spec. r=jrmuizel
2014-09-14 23:51:35 +02:00
Bas Schouten
0920068608
Bug 1066670: Deal with a failed brush creation by drawing transparent black. r=jrmuizel
2014-09-14 23:51:34 +02:00
Bas Schouten
4ba13663b0
Bug 1066254: Make the temporary surface used in DrawTargetD2D1 always be transparent. r=jrmuizel
2014-09-14 23:51:33 +02:00
Bas Schouten
13a84d0119
Bug 1066153: Fail to create DrawTargetD2D1 over the maximum size. r=jrmuizel
2014-09-14 23:51:33 +02:00
Bas Schouten
4d29892a28
Bug 1066147: Clear new DrawTargets upon creation in D2D 1.1 backend. r=jrmuizel
2014-09-14 23:51:33 +02:00
Bas Schouten
64f3ad8a8a
Bug 1066142: Respect AntiAlias mode in Direct2D 1.1 backend. r=jrmuizel
2014-09-14 23:51:32 +02:00
Bas Schouten
fc70e272bb
Bug 1062412: Support blending composition operations in D2D 1.1. r=jrmuizel
2014-09-14 23:51:31 +02:00
Bas Schouten
8e9803a615
Bug 1066138: Disable using TextureClientD3D11 for A8 surfaces and fix various TextureClientD3D11 A8 bugs. r=jrmuizel
2014-09-14 23:51:31 +02:00
Bas Schouten
e7bf98a6a7
Bug 1060963: Correctly deal with adjusted Source rectangle in DrawTargetD2D1::DrawSurface. r=jrmuizel
2014-09-14 23:51:30 +02:00
Bas Schouten
ef8f8d4d27
Bug 1060960: Fix D2D 1.1 backend's ClearRect to deal with transforms and complex clips. r=jrmuizel
2014-09-14 23:51:29 +02:00
Bas Schouten
5a5f0bf600
Bug 1060951: Properly unset the transform when doing the custom blend in FinalizeDrawing. r=jrmuizel
2014-09-14 23:51:29 +02:00
Bas Schouten
da9e50c160
Bug 1060950: Call PrepareForDrawing before GetImageForSurface. r=jrmuizel
2014-09-14 23:51:28 +02:00
Bas Schouten
8c3ba1fd9c
Bug 1060953: Fix reference cycle between DrawTargetD2D1 and SourceSurfaceD2D1. r=jrmuizel
2014-09-14 23:51:28 +02:00
Matt Woodrow
f82a8dfeee
Bug 1046550 - Part 2: Allow creating D2D 1.1 DrawTargets for D3D11 textures. r=bas
2014-09-14 23:51:27 +02:00
Matt Woodrow
004810cf46
Bug 1062723 - Part 6: Implement source clipping for DrawTargetD2D1. r=Bas
...
--HG--
extra : rebase_source : bd1c022efe0548a9e7860fb18d6aced33ddad40f
2014-09-12 17:18:22 +12:00
Jonathan Watt
fa99069d2a
Bug 1065031, part 1 - Changes to Moz2D code to document and rename Moz2D Matrix's Translate, Scale and Rotate methods. r=Bas
2014-09-10 18:29:35 +01:00
Carsten "Tomcat" Book
31ab875e26
Backed out changeset e6b766d8a815 (bug 1065127) for bustage
2014-09-10 14:30:36 +02:00
Jonathan Watt
ee916d4351
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
...
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Jonathan Watt
c90e727466
Bug 1024983 - Stop addrefing and releasing excessively in the Moz2D code in functions that return a TemporaryRef. r=mstange
2014-06-13 17:09:23 +01:00
Matt Woodrow
d8e88266a3
Bug 997551 - Avoid copying data in GetSourceSurfaceForSurface whenever possible. r=Bas
2014-04-25 15:31:53 +12:00
Matt Woodrow
6b0c6f1f73
Bug 996929 - Implement OptimizeSourceSurface for all Moz2D backends. r=Bas
2014-04-17 12:45:25 +12:00
Jacek Caban
3bfaf86a69
Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan
2014-02-12 10:59:05 +01:00
Benoit Jacob
f447d87c57
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
6660086ef4
Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
ccaa35314d
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
a1e7c32630
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
80ebacd7e6
Bug 958375 - 1/9 - Make SurfaceType a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 13:55:24 -05:00
Jacek Caban
0a5214b4b6
Bug 944908 - Fixed mingw compilation in gfx/2d/. r=bas.schouten
2013-12-23 14:03:16 +01:00
Markus Stange
9e0156f03c
Bug 924102 - Add a FilterNode implementation that uses Direct2D 1.1 effects. Most of this patch was written by Bas. r=mstange, r=Bas
2013-11-27 12:25:16 +01:00
Markus Stange
8db97bd05e
Bug 924102 - Implement DrawTarget filter APIs with FilterNodeSoftware for Cairo, CG, D2D, D2D1 and Dual. r=Bas
2013-11-27 12:22:56 +01:00