Commit Graph

1234 Commits

Author SHA1 Message Date
Wes Kocher
3905dbdf57 Backed out changeset bb80c2b08bc0 (bug 1076695) for being the likely cause of the ASAN reftest permafail 2014-10-07 17:30:54 -07:00
Eric Rahm
18d59d1e8f Bug 1072605 - Just use PR_LOGGING to determine if logging is enabled. r=Bas 2014-10-06 09:33:06 -07:00
Jonathan Kew
0e2e1539b5 Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 16:19:36 +01:00
Ed Morley
4704b64337 Backed out changeset a3250bad7f3c (bug 902799) for build failures on Windows 2014-10-06 15:55:56 +01:00
Jonathan Kew
8b51ec974b Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 15:14:54 +01:00
Jonathan Watt
f3887b0340 Bug 1077544 - Add a GetBackendType() method to PathBuilder. r=Bas 2014-10-04 12:13:29 +01:00
Matt Woodrow
588349bc87 Bug 1075616 - Do partial uploads of non-D2D SourceSurfaces when we have a sampling rect. r=Bas
--HG--
extra : rebase_source : d08b5d3d515484ebc0f8a3be774d66c3b881a8d4
2014-09-24 13:23:15 -04:00
Matt Woodrow
97ffb8ffb7 Bug 1070722 - Remove DrawTargetCG::OptimizeSourceSurface since we don't get any benefit without quartz high-quality downscaling enabled. r=jrmuizel 2014-10-02 21:14:46 +13:00
Bas Schouten
91f5c62793 Bug 1075615: Pretranslate the pattern matrix when the pattern specifies a sampling rect. r=jrmuizel 2014-10-01 19:50:24 +02:00
Bas Schouten
8f2a3963e4 Bug 1075621: Support Direct2D 1.1 for ScaledFontDWrite::CopyGlyphsToBuilder. r=jrmuizel 2014-10-01 19:50:24 +02:00
Kartikaya Gupta
ed98d7c059 Bug 1074944 - Add Inverse functions on Matrix and Matrix4x4. r=Bas 2014-10-01 13:13:02 -04:00
Jonathan Watt
b7f8573ab0 Bug 1074974 - Make HelpersD2D.h's CreateStrokeStyleForOptions more robust. r=Bas 2014-09-30 18:07:49 +01:00
Matt Woodrow
0b55343996 Bug 1070722 - Use the imagelib high quality downscaler on OSX instead of the quartz one. r=jrmuizel 2014-09-26 15:05:14 -04:00
Jonathan Watt
7770d52343 Bug 1074128, part 2 - Rename Moz2D's AutoSaveTransform to AutoRestoreTransform. r=Bas 2014-09-29 18:26:56 +01:00
Jonathan Watt
45d2459587 Bug 1074128, part 1 - Add support to Moz2D's AutoSaveTransform for setting the DrawTarget lazily. r=Bas 2014-09-29 18:26:49 +01:00
Jonathan Watt
d33b953b3f Bug 1073960 - Mark DrawTarget::GetFormat() as const. r=Bas 2014-09-29 14:15:18 +01:00
Jonathan Watt
bfcf3238cc Bug 1073363, part 2 - Add a GeneralPattern class to Moz2D to solve the problem of writing general pattern creating functions. r=Bas 2014-09-29 14:12:06 +01:00
Daniel Holbert
fa4545efef Bug 1073716: Use C++ std::abs() instead of C abs(), for non-'int'-typed values, to address clang warning. r=ehsan 2014-09-28 09:59:46 -07:00
Wes Kocher
64e89669a6 Backed out changeset b5705fbed44f (bug 1070722) for reftest orange on a CLOSED TREE 2014-09-26 14:29:46 -07:00
Matt Woodrow
fa88132850 Bug 1070722 - Use the imagelib high quality downscaler on OSX instead of the quartz one. r=jrmuizel
--HG--
extra : rebase_source : 53c205cfc8af95be28d0878248b04e9872910651
2014-09-26 15:05:14 -04:00
Markus Stange
b5ca8fb0bb Bug 983241 - Allow filterNodeSoftware->SetInput(*, nullptr) in order to drop reference to input surface / filter. r=Bas 2014-09-25 15:19:28 -04:00
Markus Stange
bc25984738 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
Jim Chen
cde51fcc7b Bug 1067018 - Make sure calloc/malloc/free usages match in Tools.h; r=jwatt 2014-09-25 13:08:23 -04:00
Mason Chang
010cc23678 Bug 1056340 - Clip viewport fixed position overflow to scroll frame. r=roc 2014-09-23 09:44:00 -04:00
Botond Ballo
c6607c01f3 Bug 1062483 - Update signature of gfx::Log::operator<<(BasePoint) to include BasePoint's third template parameter. r=kats
--HG--
extra : rebase_source : 95938ee0eef4d042ac8218187b68dbf159b2e91d
2014-09-22 16:53:04 -04:00
Botond Ballo
41ae723e4b Bug 1071673 - Remove nsDebug.h include from gfx/2d/Logging.h. rs=Bas 2014-09-23 12:37:22 -04:00
Nicolas Silva
ab23cc4fba 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
64bc1a2be3 Bug 1071045: Report error codes and size/format information to D2D error reporting. r=nical 2014-09-22 19:33:04 +00:00
Bas Schouten
16f8944fa4 Bug 1069592: Annotate several more Direct2D errors. r=jrmuizel 2014-09-19 00:01:25 +02:00
Bas Schouten
2bd09f0166 Bug 1069584: Bail if a cairo surface is in an invalid state. r=jrmuizel 2014-09-19 00:01:24 +02:00
Ryan VanderMeulen
6763d0eb04 Backed out changeset 0cc9fcdca191 (bug 1068195) for Windows crashtest asserts.
CLOSED TREE
2014-09-17 20:47:35 -04:00
Bas Schouten
9bd3f60f10 Bug 1068613 - Addendum 2: Fix bustage due to stray character. r=bustage on a CLOSED TREE 2014-09-18 00:35:48 +02:00
Ehsan Akhgari
3e481f2909 Bug 1068195 - Fix an invalid MOZ_ASSERT in moz2d code, asserting the value of a constant string pointer; r=jrmuizel 2014-09-17 17:54:43 -04:00
Bas Schouten
17f1ccc927 Bug 1068613 - Part 4: Log failures in CairoCreateSimilar. r=jrmuizel 2014-09-17 23:23:09 +02:00
Nicolas Silva
1d405a8655 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
Nicolas Silva
b5292e09c1 Bug 1068613 - Part 1: Add gfxCriticalError() log to Moz2D. r=bas 2014-09-17 23:23:02 +02:00
Jonathan Watt
1b3886f900 Bug 1067998 - Fix OOM crash in gfxAlphaBoxBlur::Init on large blur surface. r=Bas 2014-09-17 08:46:42 +01:00
Nicolas Silva
69830a5b8c Bug 1061712 - Fix missing include. r=me 2014-09-16 14:55:03 +02:00
Nicolas Silva
5d15726e8f Bug 1061712 - Don't crash in DrawTargetDual::CreateSimilar if allocation fails. r=Bas 2014-09-16 14:29:40 +02: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
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
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
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
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
cce115f0e0 Bug 1060953: Fix reference cycle between DrawTargetD2D1 and SourceSurfaceD2D1. r=jrmuizel 2014-09-14 23:51:28 +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
5b50de1033 Bug 1066811: Add a SupportsD2D1() method to the Moz2D factory. r=jrmuizel 2014-09-14 23:51:26 +02: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
Matt Woodrow
b48ce21873 Bug 1062723 - Part 5: Implement source clipping for DrawTargetD2D. r=Bas
--HG--
extra : rebase_source : d1d1a33f3007f92055488d79c6cdc039efe48a25
2014-09-12 17:19:23 +12:00
Matt Woodrow
5bb847de24 Bug 1062723 - Part 4: Implement source clipping for DrawTargetSkia. r=gw280
--HG--
extra : rebase_source : 8dc98b36fa84fd23e76daf9251f81960a56b2ca0
2014-09-12 17:18:22 +12:00
Matt Woodrow
7ab5665d74 Bug 1062723 - Part 3: Implement source clipping for DrawTargetCG. r=jrmuizel
--HG--
extra : rebase_source : 679e0a97bdc31bb4b98b375618f70fb04a74b2cb
2014-09-12 17:18:22 +12:00
Matt Woodrow
bfdf5c0a2a Bug 1062723 - Part 2: Implement source clipping for DrawTargetCairo. r=Bas
--HG--
extra : rebase_source : 9e02e1e91c3bcd455640a1f60e4da673302c5cf1
2014-09-12 17:11:36 +12:00
Matt Woodrow
b0b5937e07 Bug 1062723 - Part 1: Add source clipping to SurfacePattern. r=Bas
--HG--
extra : rebase_source : ccec8c8cb37f52710b0758360bea73696212734f
2014-09-11 18:13:52 +12:00
Michael Wu
e58cfe332e Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth 2014-09-10 17:54:16 -04:00
Nicolas Silva
3a2f05799b Bug 1061696 - Don't crash release builds when failing to allocate a surface in AutoRestoreClippedOut::save. r=Bas 2014-09-11 17:27:48 +02:00
Jonathan Watt
56aaeed4fc Bug 1065764, part 2 - Make Moz2D's Matrix::NudgeToIntegers() return a reference. r=Bas 2014-09-11 01:46:21 +01:00
Jonathan Watt
ea0b67384b Bug 1065743 - Make Moz2D's DrawTarget::GetTransform() return a copy instead of a const reference. r=Bas 2014-09-11 01:46:16 +01:00
Jonathan Watt
ad3740d79f Bug 1065737 - Add a PreMultiply() method to Moz2D's Matrix class. r=Bas 2014-09-11 01:45:05 +01:00
Jonathan Watt
298b1ad1cf Bug 1065526, part 1 - Add a Copy() method to Moz2D's Matrix. r=Bas 2014-09-10 21:41:51 +01:00
Jonathan Watt
28834bab10 Bug 1065558 - Add a ConcatTransform method to Moz2D's DrawTarget. r=Bas 2014-09-10 21:41:50 +01:00
Jonathan Watt
7bf3859764 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
d9c5bea4e5 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Jonathan Watt
cc5bf95ddf 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
Jeff Muizelaar
261f9f93f1 Bug 1049564. Backout unintentionally landed code.
CLOSED TREE
2014-09-08 11:07:48 -04:00
Jeff Muizelaar
013dcc3e2c Bug 1049564. Remove sketchy sizing code from CompositorOGL. r=nical
This came from the layers refactoring and taking it out doesn't
seem to cause any test failures.
2014-09-08 10:54:26 -04:00
Jean-Yves Avenard
e9ff1e0b4e Bug 1059066 - Add various IOSurface related methods to MacIOSurface wrapper. r=mattwoodrow 2014-09-03 17:09:24 +10:00
Jonathan Watt
34dbfe4041 Bug 1063853, part 1 - Add a RemoveUserData() method to Moz2D DrawTarget. r=Bas 2014-09-05 18:11:29 +01:00
Robert O'Callahan
eaae02626a Bug 1063754. Cache result of Factory::HasSSE2(). r=bas
--HG--
extra : rebase_source : 3d25afdc6d679303ea1b73cc9ef1dbd9b971c5c0
2014-09-06 16:16:06 +12:00
Artem Sobolev
910938cba0 Bug 1054510 - Turned on SSE for image resizing. r=jrmuizel 2014-09-03 11:20:18 -07:00
Max Vujovic
3bd8a669c5 Bug 1058753 - Cap CSS/SVG blur radii to smaller value when rendering in software. r=mstange 2014-09-03 13:31:55 -07:00
Ehsan Akhgari
bf4bb474cc Bug 1062071 - Mark TileInternal's constructor as explicit; r=mattwoodrow 2014-09-03 08:11:28 -04:00
George Wright
67ca68b1ac Bug 1061241 - Unref our LocalMatrixShader when building our mask SkPaint r=mattwoodrow 2014-09-02 15:18:15 -04:00
Wes Kocher
ed0a7d599e Backed out changeset 89f165978438 (bug 1061241) for mochitest-4 orange 2014-09-02 18:56:40 -07:00
George Wright
82886ca9b5 Bug 1061241 - Unref our LocalMatrixShader when building our mask SkPaint r=mattwoodrow 2014-09-02 15:18:15 -04:00
Matt Woodrow
2b56d2e447 Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
--HG--
extra : rebase_source : 88b89a41765ab7d6b1f8ac2ae023267418bc31dc
2014-09-03 09:21:35 +12:00
Matt Woodrow
b2c63285ba Bug 1059033 - Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas
--HG--
extra : rebase_source : dac51f66400d5810b9662cf6cf48ce60bf1aa4d1
2014-09-03 09:21:14 +12:00
Matt Woodrow
f9567164a3 Bug 1059033 - Part 3: Avoid save/restoring for tiles that are entirely clipped out. r=Bas
--HG--
extra : rebase_source : c4fa893c9955f7b9af9d152c719d97b0aefef462
2014-09-03 09:20:44 +12:00
Matt Woodrow
35dfe842cd Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas
--HG--
extra : rebase_source : 153dd5cda0d9c35c724568eae5234dbd26a17683
2014-09-03 09:20:33 +12:00
Matt Woodrow
761e9feabe Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas
--HG--
extra : rebase_source : 469f465fa1a715b7c7af904da4cc48969ff805e6
2014-09-03 09:20:10 +12:00
Markus Stange
5711cc595b Bug 1055661 - Add Matrix5x4::operator*=. f=milan, r=Bas 2014-09-02 14:06:01 +02:00
Markus Stange
3cad134299 Bug 1055661 - Add Matrix5x4::operator== which does exact equality comparison. f=Milan, r=Bas 2014-09-02 14:05:49 +02:00
Phil Ringnalda
d75200777a Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
CLOSED TREE

Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
fff56208c8 Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
--HG--
extra : rebase_source : fa58170f6966ef0008f54ef4bc1b1b5381fbd0e0
2014-09-02 12:37:41 +12:00
Matt Woodrow
1228e8b905 Bug 1059033 - Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas
--HG--
extra : rebase_source : 2046ee6e625b8869c7da5b401cb7fe1135f4966a
2014-09-02 12:35:32 +12:00
Matt Woodrow
dbfc91a41f Bug 1059033 - Part 3: Avoid save/restoring for tiles that are entirely clipped out. r=Bas
--HG--
extra : rebase_source : 832de898f3fe2373b7210e3c147bfeaf716434c5
2014-09-02 12:35:02 +12:00
Matt Woodrow
4f4a0d8de2 Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas
--HG--
extra : rebase_source : 88884a1d6297a12cddd2c2f075985634e3fa235c
2014-09-02 12:34:53 +12:00
Matt Woodrow
1fd0156c52 Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas
--HG--
extra : rebase_source : 74b1c51243fa1443c4d6d5d9bdc6d448680c5a07
2014-09-02 12:34:30 +12:00
Phil Ringnalda
91ea7d35b7 Backed out 8 changesets (bug 1057212, bug 1059033) for Windows build bustage
CLOSED TREE

Backed out changeset a54dbdca597b (bug 1059033)
Backed out changeset d8d79e4fbfc4 (bug 1059033)
Backed out changeset 87494588e493 (bug 1057212)
Backed out changeset 3e4105ea0a73 (bug 1059033)
Backed out changeset e59430ea4256 (bug 1059033)
Backed out changeset 301fdfea8fbf (bug 1059033)
Backed out changeset 1ef5a3a9bb06 (bug 1059033)
Backed out changeset a7eaac164c36 (bug 1059033)
2014-08-31 23:55:31 -07:00
Matt Woodrow
d09dce4fdf Bug 1059033 - Move DrawTargetTiled to non-unified to ensure that _USE_MATH_DEFINES is applied first. CLOSED TREE 2014-09-01 17:28:53 +12:00
Matt Woodrow
d31ee05c81 Bug 1059033 - Followup to fix windows build
--HG--
extra : rebase_source : 1ad884a8f5d90feb431a522aa7937d726ad699ec
2014-09-01 16:30:25 +12:00
Ehsan Akhgari
08ea187b4e Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Matt Woodrow
2f821dd7be Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas 2014-09-01 15:23:40 +12:00
Matt Woodrow
b48bd57177 Bug 1059033 - Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas 2014-09-01 15:23:21 +12:00
Matt Woodrow
d5c33cbff9 Bug 1059033 - Part 3: Avoid save/restoring for tiles that are entirely clipped out. r=Bas 2014-09-01 15:22:49 +12:00
Matt Woodrow
0d56aae4ca Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas 2014-09-01 15:22:40 +12:00
Matt Woodrow
7ce21c5b7e Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas 2014-09-01 15:22:08 +12:00
David Zbarsky
5662a359c6 Bug 952977: Remove gfxPointH3D r=nical 2014-08-29 14:47:30 -04:00
Matt Woodrow
16d4944833 Bug 1057218 - Initialize mFormat in DrawTargetTiled. r=Bas 2014-08-29 15:07:35 +12:00
Matt Woodrow
636bbdc9ed Bug 1053934 - Don't use the cairo context to create similar surfaces since it might be in an error state. r=jrmuizel 2014-08-28 16:07:43 +12:00
Botond Ballo
ce6b54b741 Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
Botond Ballo
00e33dc16a Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats
--HG--
extra : rebase_source : bf75da112714f584ce3fc802d716a6c969e1d160
2014-08-27 19:25:53 -04:00
George Wright
76eb280fc0 Bug 1055265 - Correct the SkColorType used for 32-bit in SkANP r=snorp 2014-08-28 15:31:01 -04:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Matt Woodrow
86d55eb90d Bug 1057216 - Make DrawTargetCG hold a reference to DataSourceSurface when we're wrapping their data. r=jrmuizel
--HG--
extra : rebase_source : ad610592f69294caedcbca5d61c1644120cbec66
2014-08-27 10:20:18 +12:00
Kartikaya Gupta
657851e486 Bug 1058048 - Implement the *= operator on Matrix4x4. r=Bas 2014-08-26 12:04:07 -04:00
Walter Litwinczyk
98c905b0c2 Bug 1046921 - Remove usage of legacy Skia API, SK_SUPPORT_LEGACY_BITMAP_CONFIG. r=gw280 2014-08-15 10:02:46 -07:00
Markus Stange
a33644f6b8 Bug 1055661: Add 5x4 matrix multiply. r=bschouten 2014-08-22 11:30:20 -04:00
David Zbarsky
10410114ac Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
Botond Ballo
1d16def11d Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Matt Woodrow
903bd31201 Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel 2014-08-15 14:23:22 +12:00
Ryan VanderMeulen
bac3f6dbb7 Backed out changeset 028c43cd12a5 (bug 1051592) for Windows bustage.
CLOSED TREE
2014-08-15 00:37:46 -04:00
Matt Woodrow
3b9b54ae65 Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel
--HG--
extra : rebase_source : 89bc9dd9c4d5120c73b025d5106827594fac6663
2014-08-15 14:23:22 +12:00
Ehsan Akhgari
7ef2679c79 Bug 1050610 - Fix more bad implicit constructors in gfx; r=roc
--HG--
extra : rebase_source : 5c6b62dbed81018370ce274e1913620ffb0ff7a2
2014-08-07 21:17:30 -04:00
George Wright
a9787ed881 [PATCH 15/15] Bug 1017113 - Use RefPtrSkia instead of SkRefPtr as it no longer exists. r=mattwoodrow 2014-08-06 12:01:44 -04:00
George Wright
b50a943d5a [PATCH 14/15] Bug 1017113 - Add RefPtrSkia to replace SkRefPtr functionality r=mattwoodrow 2014-07-28 14:48:29 -04:00
George Wright
8475f48ef4 [PATCH 05/15] Bug 1017113 - Remove unnecessary SkEmptyShader.h include r=mattwoodrow 2014-07-27 20:56:42 -04:00
George Wright
b8a5da6fd1 [PATCH 03/15] Bug 1017113 - Update DrawTargetSkia to use the new SkDropShadowImageFilter::Create() r=mattwoodrow 2014-07-27 20:51:32 -04:00
George Wright
3c264dd730 [PATCH 02/15] Bug 1017113 - Calling save on an SkCanvas no longer takes any parameters r=mattwoodrow 2014-07-27 20:51:09 -04:00
George Wright
a6d2faace3 [PATCH 01/15] Bug 1043745 - Use SkColorType and SkImageInfo instead of SkBitmap::Config r=mattwoodrow 2014-07-27 20:47:43 -04:00
Matt Woodrow
84c916ae97 Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Kartikaya Gupta
6e9630c18d Bug 966362 - Fix copy/paste error to fix typo in gfx2d. r=Bas 2014-08-07 17:45:08 -07:00
Markus Stange
aa23379b28 Bug 1049499 - Choose the correct number of gradient repetitions if a non-identity pattern matrix is involved. r=jrmuizel 2014-08-07 13:23:53 +02:00
Jonathan Watt
8c0807927d Bug 1049593 - Make BaseRect::Contains(point) behave correctly for floating point rect/point. r=Bas 2014-08-07 06:24:54 +01:00
Wes Kocher
235636ff24 Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE
Backed out changeset f8720d81b74f (bug 923512)
Backed out changeset f431232084b7 (bug 923512)
Backed out changeset dff51863663c (bug 923512)
2014-08-06 16:36:35 -07:00
Botond Ballo
fe0d952780 Bug 923512 - Introduce strongly-typed coordinate classes (Part 1: Moz2D changes). r=kats,Bas 2014-07-31 17:07:17 -04:00
Nicolas Silva
d6dd3d64a1 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Ehsan Akhgari
de9c38a70c Bug 1048243 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-08-05 17:58:40 -04:00
Bas Schouten
4867387d23 Bug 1039568: Add a capture DrawTarget to Moz2D. r=jrmuizel 2014-08-01 18:01:47 +02:00
David Zbarsky
449b827565 Bug 952977: More gfx::Matrix cleanup in FrameLayerBuilder r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky
7756f41ca1 Bug 952977: More gfx::Matrix cleanup in LayerTreeInvalidation r=nical 2014-08-01 08:31:47 -04:00
David Zbarsky
5192ab7514 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-08-01 08:31:46 -04:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Wes Kocher
02d44fddfa Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
9b5e4859ac Bug 952977: bustage fix on a CLOSED TREE to appease the compiler gods r=me 2014-07-29 19:51:38 -04:00
David Zbarsky
ba843efdce Bug 952977: More gfx::Matrix cleanup in FrameLayerBuilder r=nical 2014-07-29 19:18:52 -04:00
David Zbarsky
143ebd0547 Bug 952977: More gfx::Matrix cleanup in LayerTreeInvalidation r=nical 2014-07-29 19:18:49 -04:00
David Zbarsky
0913b5df71 Bug 952977: More gfx::Matrix cleanup in AsyncCompositionManager r=nical 2014-07-29 19:18:49 -04:00
Ehsan Akhgari
74fdbe69f7 Bug 1045091 - Fix some bad implicit constructors in gfx; r=Bas 2014-07-29 08:07:24 -04:00
Milan Sreckovic
9a47d98489 Bug 1042259 - Manage color spaces in DrawTargetCG, without re-creating them as often as before. Use std::vector for gradient stops, sorting them in the process. r=mstange 2014-07-23 12:12:59 -04:00
Botond Ballo
f17e843bbe Bug 1035598 - Add a ChangeBasis() method to Matrix4x4. r=mattwoodrow 2014-07-22 18:10:25 -04:00
Botond Ballo
9ee617cc81 Bug 1035598 - Add a PostTranslate() method to Matrix4x4. r=mattwoodrow 2014-07-22 18:09:53 -04:00
Milan Sreckovic
8c9e2ee580 Bug 1031525 - Support DrawTargetCG::DrawWindow and non-CG types. r=gw280,mattwoodrow 2014-07-14 13:24:01 -04:00
Matt Woodrow
b2aadfe281 Bug 1035168 - Avoid calling GetData/Stride on a surface that we will later Map. r=Bas 2014-07-11 15:23:56 +12:00
Matt Woodrow
bfd512a14f Bug 1035168 - Use Map api to check if DataSourceSurfaces have data available in DrawTargetCairo. r=Bas 2014-07-09 13:53:48 +12:00
Matt Woodrow
d89221876c Bug 1028802 - Don't dereference null pointer in AlignedArray::Rellaoc. r=jwatt 2014-07-14 14:06:16 +12:00
Jeff Gilbert
92e122aeeb Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 23:08:54 -07:00
Jeff Gilbert
3ccc4361db Backed out changeset 53f0f0e43ea5 2014-07-11 21:59:48 -07:00
Jeff Gilbert
b8162652b5 Bug 1034398 - Query for max IOSurf sizes. - r=benwa 2014-07-11 21:58:00 -07:00
Jonathan Watt
7bf407b7e6 Bug 1025553, part 5 - Add some missing gfxMatrix API to Moz2D Matrix. r=Bas 2014-07-11 08:06:39 +01:00
Nigel Babu
7ec2d4644d Backed out changeset bd41dff8f475 (bug 1035168) for Win7 debug crashtest bustage 2014-07-09 08:53:28 +05:30
Matt Woodrow
015ba54b79 Bug 1027107 - Use fallible allocations in gfx::AlphaBoxBlur::Blur. r=Bas 2014-07-09 13:53:51 +12:00
Matt Woodrow
4684fb8f31 Bug 1035168 - Use Map api to check if DataSourceSurfaces have data available in DrawTargetCairo. r=Bas 2014-07-09 13:53:48 +12:00
George Wright
4ea6b4a026 Bug 1034257 - Implement CreateSourceSurfaceForNativeSurface for Cairo surface types, to enable Xlib surfaces to be drawn properly when using Skia content rendering r=jrmuizel 2014-07-03 17:06:48 -04:00
Nicolas Silva
f7dfad8186 Bug 1034584 - Prevent invalid sources to contaminate cairo DrawTargets during painting operations. r=Bas 2014-07-04 16:55:04 +02:00
Ryan VanderMeulen
a3ef412a3f Backed out changeset 3f079d36c620 (bug 1034257) for non-unified bustage. 2014-07-03 20:36:14 -04:00
George Wright
64261a1019 Bug 1034257 - Implement CreateSourceSurfaceForNativeSurface for Cairo surface types, to enable Xlib surfaces to be drawn properly when using Skia content rendering r=jrmuizel 2014-07-03 17:06:48 -04:00
Walter Litwinczyk
f3a8550e6e Bug 1004375 - Removed use of legacy skia compatible device API - r=gw280 2014-06-24 15:35:07 -07:00
Mike Hommey
3ebd9bcf37 Bug 1031267 - Fix system cairo builds after bug 1027763. r=jwatt,a=kwierso 2014-07-02 09:15:51 +09:00
Matt Woodrow
7bbf06ccef Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas 2014-07-01 17:52:51 +12:00
Carsten "Tomcat" Book
60d3fd7a77 Backed out changeset c9c8c4ae8e0f (bug 997304) for bustage on a CLOSED TREE 2014-07-01 08:12:19 +02:00
Matt Woodrow
6ebed97672 Bug 997304 - Copy the image data if it's not a suitable size for cairo. r=Bas 2014-07-01 17:52:51 +12:00
Bas Schouten
77a9c3bb05 Bug 997304: Allow reading back A8 source surfaces. r=mattwoodrow 2014-07-01 17:52:49 +12:00
Mats Palmgren
2a6ed61745 Bug 1028460 - part 1, Implement a mozilla::Sides type that represents a set of sides that can be used for the GetSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
92fe6a5293 Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
170ab90b08 Bug 1028460 - part 1, Implement a mozilla::Sides type that represents a set of sides that can be used for the GetSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Jeff Muizelaar
c98f23c7df Bug 1026596. Add ellipse to bezier helper and use it from SVG. r=bas
This is faster and more accurate. Specifically, the old code
would produce non-monontic segments which was causing rasterization
differences with skia
2014-06-26 16:42:12 -04:00
Jeff Muizelaar
fa81050442 Bug 1025133. Be more consistent about rounding colors with the skia backend. r=mwoodrow
--HG--
rename : toolkit/devtools/discovery/tests/moz.build => toolkit/devtools/moz.build
extra : rebase_source : 2db3c43532a30db90326c3903d8fe5c96d077d97
2014-06-18 10:16:30 -04:00
Jonathan Watt
d6c9d59f3b Backed out changeset a7ea536288e0 (bug 1031267) for bustage.. 2014-06-27 16:58:36 +01:00
Jan Beich
e16dc2ff0b Bug 1031267 - Fix --enable-system-cairo builds after they were broken by bug 1027763. r=jwatt 2014-06-27 16:29:17 +01:00
Carsten "Tomcat" Book
6bec2c9775 Merge mozilla-central to mozilla-inbound 2014-06-27 15:51:09 +02:00
Kartikaya Gupta
fcf2a64e90 Bug 1022956 - When fling velocity is high, don't let tap gestures trigger clicks to content. r=drs r=Bas 2014-06-26 18:37:44 -04:00
Jonathan Watt
d103dd96a6 Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel 2014-06-27 10:17:49 +01:00
Gijs Kruitbosch
63563f9b5d Bug 1030115 - fix apz.printtree caching to use gfxPrefs. r=kats, bas 2014-06-25 16:12:32 +01:00
Walter Litwinczyk
5871469922 Bug 1004374 - Removed Moz2D usage of deprecated skia api: SK_SUPPORT_LEGACY_LAYERRASTERIZER_API. r=gw280 2014-06-20 11:47:27 -07:00
Rik Cabanier
5d9f208b1b Bug 1018497 - Implementation of DOMMatrix. r=roc,bz 2014-06-24 20:15:00 +02:00
Mats Palmgren
09115940e1 Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc 2014-06-24 17:52:19 +00:00
Benoit Jacob
bcea0ff935 Remove unused static function that causes non-unified build to fail - trivial, no review, no bug 2014-06-23 11:50:43 -04:00
zhoubcfan
2ec301a262 Bug 891709 - Fix build bustage in gfx/2d/Factory.cpp when Skia is disabled. r=gw280 2014-05-03 04:13:00 -04:00
Sasha Fydrich
965c67e0f3 Bug 1020439 - Call cairo_surface_destroy in GetCairoSurfaceForSourceSurface in case of failure. r=bas 2014-06-22 11:10:07 -07:00
Jonathan Watt
b8c5e8c8f4 Bug 1027763, part 3 - Remove the old DrawTarget::GetType() method. r=Bas 2014-06-19 21:35:34 +01:00
Jonathan Watt
3480cabb15 Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas 2014-06-19 21:35:33 +01:00
Birunthan Mohanathas
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Benjamin Smedberg
58acd9c659 Bug 768395 - Crash in CDevice::DriverInternalErrorCB because the d3d device is set to crash on error instead of merely returning error codes. Explicitly set the exception mode on device creation, and assert it every time we get it again. r=jrmuizel 2014-06-17 13:00:13 -04:00
Jonathan Watt
16b38eb033 Bug 1022031 - Rework gfxPlatform::GetSourceSurfaceForSurface so that it doesn't need to use a Thebes backed gfxContext (Moz2D conversion). r=mattwoodrow 2014-06-17 10:08:23 +01:00
Jonathan Watt
eaefe307f9 Bug 1025491 - Remove the DumpAsPNG() code in FilterNodeSoftware.cpp. r=mstange 2014-06-15 01:34:01 +01:00