Wes Kocher
725423ccde
Merge inbound to m-c a=merge
2014-09-16 17:06:43 -07:00
Milan Sreckovic
2e1656b886
Bug 1048984.2: mOutstandingClients could have been temporarily incorrect in GetTextureClient() call. Call ShrinkToMaximumSize() instead of ShrinkToMinimumSize() in ReturnDeferredClients(). Also add comments and more asserts around outstanding clients. r=nsilva
2014-09-16 10:13:52 -04:00
Milan Sreckovic
d29d7cffb8
Bug 1048984.1: Utility methods for managing texture pool returns. Make sure tiles go back to the correct pool. r=nsilva
2014-09-16 10:07:46 -04:00
Carsten "Tomcat" Book
fce6c75436
Merge m-c to b2g-inbound
2014-09-16 07:10:24 +02:00
Wes Kocher
196212ea47
Merge m-c to b-i a=merge
2014-09-15 16:47:02 -07:00
Max Vujovic
96f61369bf
Bug 1066818 - Fix incorrect equation in hue-rotate matrix. r=mstange
2014-09-15 10:10:13 -07:00
Jonathan Watt
c6416e4f55
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
e558587ded
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
ef31fc9a53
Bug 1065492 - Fix a stride when using android::ColorConverter r=nical
2014-09-15 06:30:40 -07:00
Botond Ballo
37e83036c0
Bug 1066259 - Change Axis to operate in Screen pixels where possible. r=kats
...
--HG--
extra : rebase_source : c31c5a16e46eb79c64fd6e6d42c1d84f4718c2fe
2014-09-12 17:46:31 -04:00
Jonathan Watt
904d9ad030
Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas
2014-09-15 12:10:30 +01:00
Rik Cabanier
91998dcf59
Bug 1047477 - "Add support for all blend mode to feBlend". r=longsonr r=bz
2014-09-12 16:32:00 +02:00
Seth Fowler
7d3ef1ca8c
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
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
be2a4f66d0
Bug 1066679
: Make DrawTargetDWrite::GetPathsForGlyphs recognize D2D 1.1. r=jrmuizel
2014-09-14 23:52:46 +02:00
Bas Schouten
cd7a317e2d
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
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
fe58303a8a
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
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
f6403ab99a
Bug 1064104: Workaround bug in D2D 1.1 addressing mode. r=jrmuizel
2014-09-14 23:51:32 +02:00
Bas Schouten
de9ee8155b
Bug 1066144: Accept D2D paths for D2D 1.1 backends. r=jrmuizel
2014-09-14 23:51:32 +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
66065c5223
Bug 1066132: Fix SourceSurfaceD2D1::DrawTargetWillChange() to not null out mDrawTarget itself. r=jrmuizel
2014-09-14 23:51:30 +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
5503ad618b
Bug 1060588: Use PushClipRect when possible in ClipToRegionInternal. 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
27762727a0
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
8c3ba1fd9c
Bug 1060953: Fix reference cycle between DrawTargetD2D1 and SourceSurfaceD2D1. r=jrmuizel
2014-09-14 23:51:28 +02:00
Matt Woodrow
b1adcf8934
Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas
2014-09-14 23:51:27 +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
Bas Schouten
00d3edd7d3
Bug 1046550 - Part 1: Add content device to gfxWindowsPlatform. r=mattwoodrow
2014-09-14 23:51:27 +02:00
Bas Schouten
89390bcff9
Bug 1066811: Add a SupportsD2D1() method to the Moz2D factory. r=jrmuizel
2014-09-14 23:51:26 +02:00
Matt Woodrow
1bf2884b6f
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
80a01d06fa
Bug 1054838, part 3 - Convert gfxPattern to Moz2D. r=Bas
2014-09-14 10:58:56 +01:00
Matt Woodrow
5056e93044
Bug 1054838, part 2 - Remove callers of DrawTarget::Mask. r=Bas,jwatt
2014-09-12 08:20:12 +01:00
Matt Woodrow
810fbe5243
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
688cd17359
Back out a84f9edfe968 for bustage
2014-09-12 14:01:26 -05:00
Jeff Gilbert
a2cd642ccd
Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp
2014-09-12 13:39:20 -05:00
Walter Litwinczyk
f55b9ef43b
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
c7931a8a6d
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
e1347f588f
Bug 1053766 - Gtests for state change notifications. r=botond
2014-09-12 11:41:28 -04:00