Commit Graph

1113 Commits

Author SHA1 Message Date
Phil Ringnalda
9a85d9269c Back out 2 changesets (bug 1085529) for win8 chrome reftest failures
Backed out changeset 758840ac2f47 (bug 1085529)
Backed out changeset 3fa71a8dc29c (bug 1085529)
2014-10-25 22:02:57 -07:00
Jonathan Watt
624f27b684 Bug 1085529, part 1 - Add an AutoPopClips helper to Moz2D. r=mattwoodrow 2014-10-26 01:15:25 +01:00
Markus Stange
5c0a6d7612 Bug 1055622 - Add support for specifying the font smoothing background color to Moz2D. r=Bas, r=jrmuizel 2014-10-24 18:32:23 +02:00
Markus Stange
75adc33b54 Bug 1074842 - Let SourceSurfaceCGBitmapContext take ownership of the data when DrawTargetCG is destroyed. r=jrmuizel 2014-10-24 18:32:22 +02:00
Jonathan Watt
ddd52b0424 Bug 1085533, part 1 - Add MakePathForRoundedRect and MakePathForEllipse helpers to Moz2D. r=mattwoodrow 2014-10-24 08:26:28 +01:00
Robert O'Callahan
80c077b306 Bug 1081185. Traverse rect edges when searching for w=0 crossings instead of taking diagonals. r=mattwoodrow
--HG--
extra : rebase_source : c87d145abea750cf0d8b02f0ea387ec9148e6be1
2014-10-22 11:01:00 +13:00
Jonathan Watt
bf1e0353fb Bug 1082530, part 5 - remove the variant of Moz2D's UserToDevicePixelSnapped that takes a Matrix argument instead of a DrawTarget argument. r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
573372667e Bug 1082530, part 2 - Fix up Moz2D's UserToDevicePixelSnapped to be more like gfxContext::UserToDevicePixelSnapped, and add a temporary variant to aid in porting. r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
1a5158a51f Bug 1082530, part 1 - Mark DrawTarget::GetUserData as const. r=mattwoodrow 2014-10-19 10:22:46 +01:00
Jonathan Watt
1416cb5fce Bug 1084093, part 1 - Add some helpers to Moz2D Color to convert to/from packed ARGB. r=Bas 2014-10-17 12:53:15 +01:00
Nicholas Nethercote
99692aa836 Bug 1083624 - Fix assertion failure in Factory::GetDirect3D10Device(). r=bas.
--HG--
extra : rebase_source : e28b1575b8bd4706d7d203696a1280c76e103ef6
2014-10-16 19:02:51 -07:00
Chris Jones
4327b3c90c Bug 1082997 - Add an option to explicitly disable skia-gpu and fix the build when it's disabled. r=mattwoodrow 2014-10-14 20:55:37 -07:00
Markus Stange
c275d79f99 Bug 1078262 - Only use the fixed epsilon for the translation components. r=roc 2014-10-16 12:37:09 +02:00
Markus Stange
bd3bc2c6e3 Bug 1076695 - Don't convert alpha surfaces into RGBA surfaces for FilterNodeTransformSoftware. r=Bas 2014-10-16 12:35:58 +02:00
Jonathan Watt
ed56b37f95 Bug 1083215, part 1 - Add a Moz2D helper for snapping lines to device pixels. r=mattwoodrow 2014-10-16 10:51:14 +01:00
Jonathan Watt
f348571ae8 Bug 1082483, part 3 - Remove the temporary Matrix4x4::Translate/Scale methods. r=Bas 2014-10-16 10:51:13 +01:00
Jonathan Watt
c4e837e83b Bug 1082483, part 1 - Rename Matrix4x4::Translate/Scale to Matrix4x4::PreTranslate/PreScale, leaving temporary inlines for the old names. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt
bc5fb392b7 Bug 1082477, part 2 - Remove the Matrix4x4::TranslatePost/ScalePost methods. r=Bas 2014-10-16 10:51:12 +01:00
Michael Wu
899268f4ba Bug 1082745 - Avoid reoptimizing optimized SourceSurfaceCairos, r=bas 2014-10-15 17:13:14 -04:00
jdashg
7eaef7f7e5 Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow 2014-10-08 13:04:19 -07:00
jdashg
48843827a7 Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow 2014-10-07 21:16:14 -07:00
jdashg
2a692a2b9c Bug 1066280 - Add TexClient for ShSurf. - r=kamidphish,mattwoodrow
From a7c09c0f17e19fd2254cb1d7a8ddd07b327151ad Mon Sep 17 00:00:00 2001
---
 gfx/2d/HelpersCairo.h                   |   2 +
 gfx/gl/GLContext.cpp                    |   3 +-
 gfx/gl/GLContext.h                      |   2 -
 gfx/gl/GLReadTexImageHelper.cpp         |  21 +--
 gfx/gl/GLReadTexImageHelper.h           |   6 +
 gfx/gl/GLScreenBuffer.h                 |   6 +-
 gfx/gl/ScopedGLHelpers.cpp              |  40 +++++
 gfx/gl/ScopedGLHelpers.h                |  26 ++-
 gfx/gl/SharedSurface.cpp                |  94 +++++++++++
 gfx/gl/SharedSurface.h                  |  19 +++
 gfx/gl/SharedSurfaceIO.h                |   4 +
 gfx/layers/CopyableCanvasLayer.cpp      |   3 +-
 gfx/layers/client/CanvasClient.cpp      | 276 +++++++++++++++++++++++++++++---
 gfx/layers/client/CanvasClient.h        |  34 ++++
 gfx/layers/client/ClientCanvasLayer.cpp |  21 ++-
 gfx/layers/client/ClientCanvasLayer.h   |   9 +-
 gfx/layers/client/TextureClient.cpp     |  35 ++++
 gfx/layers/client/TextureClient.h       |  85 +++++++++-
 gfx/layers/composite/TextureHost.cpp    | 131 ++++++++++++++-
 gfx/layers/composite/TextureHost.h      |  64 ++++++++
 gfx/layers/d3d10/CanvasLayerD3D10.cpp   |   5 +-
 gfx/layers/ipc/LayersSurfaces.ipdlh     |   5 +
 22 files changed, 828 insertions(+), 63 deletions(-)
2014-10-07 21:01:51 -07:00
Bas Schouten
90597ec20e Bug 1078693: Correctly indicate validity of a SourceSurfaceD2D1 and deal with failed surface creation. r=jrmuizel 2014-10-10 17:04:26 +02:00
Ehsan Akhgari
6f5bb65d78 Bug 1079321 - Fix some more bad implicit constructors in gfx; r=jrmuizel 2014-09-24 09:16:53 -04:00
Jonathan Kew
0b2044e10c Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 16:19:36 +01:00
Carsten "Tomcat" Book
c68a6196f1 merge mozilla-inbound to mozilla-central a=merge 2014-10-08 15:45:22 +02:00
Carsten "Tomcat" Book
1e8ea05652 Backed out changeset 88bb2a142e10 (bug 902799) on smaugs requests for regressions/crashes 2014-10-08 15:41:35 +02:00
Markus Stange
163e0b1632 Bug 1076695 - Don't convert alpha surfaces into RGBA surfaces for FilterNodeTransformSoftware. r=Bas 2014-10-07 16:18:01 +02:00
Jonathan Watt
7582639476 Bug 1077961, part 1 - Add various methods to Moz2D Matrix4x4 to allow us to minimize multiplications. r=Bas 2014-10-08 04:40:44 +01:00
Wes Kocher
02a7db74d4 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
b524c80aff Bug 1072605 - Just use PR_LOGGING to determine if logging is enabled. r=Bas 2014-10-06 09:33:06 -07:00
Jonathan Kew
4e7f3daf0e Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 16:19:36 +01:00
Ed Morley
eaab2a1a54 Backed out changeset a3250bad7f3c (bug 902799) for build failures on Windows 2014-10-06 15:55:56 +01:00
Jonathan Kew
04ab8ae103 Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 15:14:54 +01:00
Jonathan Watt
e403fcb9f1 Bug 1077544 - Add a GetBackendType() method to PathBuilder. r=Bas 2014-10-04 12:13:29 +01:00
Matt Woodrow
924a3e27f4 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
b184634da9 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
385031af0c 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
f462f78488 Bug 1075621: Support Direct2D 1.1 for ScaledFontDWrite::CopyGlyphsToBuilder. r=jrmuizel 2014-10-01 19:50:24 +02:00
Kartikaya Gupta
ab1a3f24c5 Bug 1074944 - Add Inverse functions on Matrix and Matrix4x4. r=Bas 2014-10-01 13:13:02 -04:00
Jonathan Watt
899b843228 Bug 1074974 - Make HelpersD2D.h's CreateStrokeStyleForOptions more robust. r=Bas 2014-09-30 18:07:49 +01:00
Matt Woodrow
19d21b1766 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
1f1e42b965 Bug 1074128, part 2 - Rename Moz2D's AutoSaveTransform to AutoRestoreTransform. r=Bas 2014-09-29 18:26:56 +01:00
Jonathan Watt
2189e7a886 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
0391d8b6b8 Bug 1073960 - Mark DrawTarget::GetFormat() as const. r=Bas 2014-09-29 14:15:18 +01:00
Jonathan Watt
081a1fe4e4 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
12e0aefd9f 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
8963eeab04 Backed out changeset b5705fbed44f (bug 1070722) for reftest orange on a CLOSED TREE 2014-09-26 14:29:46 -07:00
Matt Woodrow
f3fcb8c1ed 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
f01ab5ce64 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