Commit Graph

12049 Commits

Author SHA1 Message Date
Max Vujovic
0becb5795e Bug 1066818 - Fix incorrect equation in hue-rotate matrix. r=mstange 2014-09-15 10:10:13 -07:00
Jonathan Watt
1457b8c01c Bug 1067222 - Make the gfxPattern code much easier to understand (by giving variables meaningful names, adding comments, and integrating the mysterious AdjustTransformForPattern into gfxPattern::GetPattern). r=Bas 2014-09-15 16:24:03 +01:00
Ehsan Akhgari
0aff24e9af Bug 1067404 - Do not expect a copysign function to be defined in <cmath> with clang-cl; r=upstream
clang-cl defines __cplusplus to 201103L, but it uses the runtime library
provided by MSVC, so the copysign function will not be available there.

Review URL: https://codereview.chromium.org/526813002
2014-09-15 11:03:14 -04:00
Sotaro Ikeda
c42f61231c Bug 1065492 - Fix a stride when using android::ColorConverter r=nical 2014-09-15 06:30:40 -07:00
Jonathan Watt
7f41dd89c9 Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas 2014-09-15 12:10:30 +01:00
Rik Cabanier
199016e453 Bug 1047477 - "Add support for all blend mode to feBlend". r=longsonr r=bz 2014-09-12 16:32:00 +02:00
Seth Fowler
e215791292 Bug 1054079 (Part 1) - Add a way to check if it's safe to render content to data surfaces to gfxPlatform. r=mattwoodrow 2014-09-14 15:22:44 -07:00
Bas Schouten
68f2fad908 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
551b9e6641 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
08c8b645b8 Bug 1066679: Make DrawTargetDWrite::GetPathsForGlyphs recognize D2D 1.1. r=jrmuizel 2014-09-14 23:52:46 +02:00
Bas Schouten
2dcf343d5b Bug 1066677: Pass on D2D 1.0 as a fallback when using D2D1.1. r=BenWa 2014-09-14 23:52:41 +02:00
Bas Schouten
014cbe4801 Bug 1066676: Make DrawTargetD2D1::DrawSurface respect the interpolation mode. r=jrmuizel 2014-09-14 23:51:35 +02:00
Bas Schouten
de2e0dfe09 Bug 1066673: Change DrawTargetD2D1::DrawSurfaceWithShadow to operate as per Canvas spec. r=jrmuizel 2014-09-14 23:51:35 +02:00
Bas Schouten
c46391eb0a Bug 1066670: Deal with a failed brush creation by drawing transparent black. r=jrmuizel 2014-09-14 23:51:34 +02:00
Bas Schouten
60504b34c6 Bug 1066668: Do not attempt to interop with D2D 1.1 inside D2D 1.0. r=jrmuizel 2014-09-14 23:51:34 +02:00
Bas Schouten
cf394caa67 Bug 1066254: Make the temporary surface used in DrawTargetD2D1 always be transparent. r=jrmuizel 2014-09-14 23:51:33 +02:00
Bas Schouten
f66dcfee43 Bug 1066153: Fail to create DrawTargetD2D1 over the maximum size. r=jrmuizel 2014-09-14 23:51:33 +02:00
Bas Schouten
adf609ffcd Bug 1066147: Clear new DrawTargets upon creation in D2D 1.1 backend. r=jrmuizel 2014-09-14 23:51:33 +02:00
Bas Schouten
a5f37cc356 Bug 1064104: Workaround bug in D2D 1.1 addressing mode. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
733c7476d6 Bug 1066144: Accept D2D paths for D2D 1.1 backends. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
564bfeb026 Bug 1066142: Respect AntiAlias mode in Direct2D 1.1 backend. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
97d8894b02 Bug 1062412: Support blending composition operations in D2D 1.1. r=jrmuizel 2014-09-14 23:51:31 +02:00
Bas Schouten
124a96d56c 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
297838e642 Bug 1066132: Fix SourceSurfaceD2D1::DrawTargetWillChange() to not null out mDrawTarget itself. r=jrmuizel 2014-09-14 23:51:30 +02:00
Bas Schouten
8dfe79e18c Bug 1060963: Correctly deal with adjusted Source rectangle in DrawTargetD2D1::DrawSurface. r=jrmuizel 2014-09-14 23:51:30 +02:00
Bas Schouten
32ec06172d Bug 1060588: Use PushClipRect when possible in ClipToRegionInternal. r=jrmuizel 2014-09-14 23:51:30 +02:00
Bas Schouten
76796092a4 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
799eb1e0e5 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
adc9640d08 Bug 1060950: Call PrepareForDrawing before GetImageForSurface. r=jrmuizel 2014-09-14 23:51:28 +02:00
Bas Schouten
31b49b05ab Bug 1066417: Add Direct2D 1.1 to the list op backends that don't like OP_SOURCE. r=mattwoodrow 2014-09-14 23:51:28 +02:00
Bas Schouten
cce115f0e0 Bug 1060953: Fix reference cycle between DrawTargetD2D1 and SourceSurfaceD2D1. r=jrmuizel 2014-09-14 23:51:28 +02:00
Matt Woodrow
b14244ee9a Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas 2014-09-14 23:51:27 +02:00
Matt Woodrow
8c5c06f212 Bug 1046550 - Part 2: Allow creating D2D 1.1 DrawTargets for D3D11 textures. r=bas 2014-09-14 23:51:27 +02:00
Bas Schouten
019c0468a9 Bug 1046550 - Part 1: Add content device to gfxWindowsPlatform. r=mattwoodrow 2014-09-14 23:51:27 +02:00
Bas Schouten
5b50de1033 Bug 1066811: Add a SupportsD2D1() method to the Moz2D factory. r=jrmuizel 2014-09-14 23:51:26 +02:00
Matt Woodrow
a3b9ba5ec7 Bug 1054838, part 4 - Stop using the gfxASurface ctor for gfxPattern in gfxWindowsNativeDrawing. r=Bas 2014-09-14 10:58:56 +01:00
Matt Woodrow
2bc24e0445 Bug 1054838, part 3 - Convert gfxPattern to Moz2D. r=Bas 2014-09-14 10:58:56 +01:00
Matt Woodrow
e17c6e9c95 Bug 1054838, part 2 - Remove callers of DrawTarget::Mask. r=Bas,jwatt 2014-09-12 08:20:12 +01:00
Matt Woodrow
dfb3114c12 Bug 1054838, part 1 - Remove dead code supporting cairo_surface_t wrapping gfxPattern. r=Bas 2014-09-14 10:58:55 +01:00
James Willcox
fe19d22a4b Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
a399ede263 Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Walter Litwinczyk
c8cb692903 Bug 806301 - Fail early if creating an antialiased buffer will fail. Prevents assert in LLVM pipe. r=jgilbert 2014-08-21 14:59:25 -07:00
Botond Ballo
b17bdef021 Bug 1065008 - Consider the shadow transform when computing the opaque rect to use for culling. r=roc
--HG--
extra : rebase_source : 2b162f272016193e2af3316c9f18d37125050863
2014-09-11 13:49:38 -04:00
Kartikaya Gupta
8280231016 Bug 1053766 - Gtests for state change notifications. r=botond 2014-09-12 11:41:28 -04:00
Kartikaya Gupta
25d9a7f6d6 Bug 1053766 - Use the statechange notification blocker to avoid some transient notifications. r=botond 2014-09-12 11:40:21 -04:00
Kartikaya Gupta
e4ff72a0ff Bug 1053766 - Add a StateChange notification blocker to APZC. r=botond 2014-09-12 11:39:56 -04:00
Kartikaya Gupta
3fca49c8e2 Bug 1066421 - Make APZStateChange a regular enum instead of a fake enum class. r=botond 2014-09-12 11:39:32 -04:00
Nicolas Silva
10493eef5e Bug 1060703 - Use XPCOM's event loop instead of chromium's in NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION. r=bjacob 2014-09-12 12:00:18 +02:00
Matt Woodrow
b981b9db8d Bug 1044702 - Use Moz2D source clipping when we can. r=Bas
--HG--
extra : rebase_source : 24eb333909db5278ff1a8babf9b4b907650695fa
2014-09-12 17:18:21 +12:00
Matt Woodrow
a4cc03c70e Bug 1062723 - Part 6: Implement source clipping for DrawTargetD2D1. r=Bas
--HG--
extra : rebase_source : bd1c022efe0548a9e7860fb18d6aced33ddad40f
2014-09-12 17:18:22 +12:00