Commit Graph

1094 Commits

Author SHA1 Message Date
jdashg
ca85c23987 Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow 2014-10-08 13:04:19 -07:00
jdashg
fbd3252fc0 Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow 2014-10-07 21:16:14 -07:00
jdashg
bd7ba17b6a 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
2b3c0ef901 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
9f13f71594 Bug 1079321 - Fix some more bad implicit constructors in gfx; r=jrmuizel 2014-09-24 09:16:53 -04:00
Jonathan Kew
cd20b667c6 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
2db885f447 merge mozilla-inbound to mozilla-central a=merge 2014-10-08 15:45:22 +02:00
Carsten "Tomcat" Book
12f1280ce3 Backed out changeset 88bb2a142e10 (bug 902799) on smaugs requests for regressions/crashes 2014-10-08 15:41:35 +02:00
Markus Stange
4c6fa36735 Bug 1076695 - Don't convert alpha surfaces into RGBA surfaces for FilterNodeTransformSoftware. r=Bas 2014-10-07 16:18:01 +02:00
Jonathan Watt
30c91163ad 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
1a2c9fd8d4 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
88d45d2dae Bug 1072605 - Just use PR_LOGGING to determine if logging is enabled. r=Bas 2014-10-06 09:33:06 -07:00
Jonathan Kew
9e6b1ce2ef Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 16:19:36 +01:00
Ed Morley
d23852e136 Backed out changeset a3250bad7f3c (bug 902799) for build failures on Windows 2014-10-06 15:55:56 +01:00
Jonathan Kew
a0d9529795 Bug 902799 - Support textruns with vertical writing modes when drawing Canvas2D text. r=bas 2014-10-06 15:14:54 +01:00
Jonathan Watt
2e4b869e2e Bug 1077544 - Add a GetBackendType() method to PathBuilder. r=Bas 2014-10-04 12:13:29 +01:00
Matt Woodrow
04920ac4b0 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
8a4adcbe04 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
34e15d49a4 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
8c1ed00969 Bug 1075621: Support Direct2D 1.1 for ScaledFontDWrite::CopyGlyphsToBuilder. r=jrmuizel 2014-10-01 19:50:24 +02:00
Kartikaya Gupta
6636444d56 Bug 1074944 - Add Inverse functions on Matrix and Matrix4x4. r=Bas 2014-10-01 13:13:02 -04:00
Jonathan Watt
f5f620a8d2 Bug 1074974 - Make HelpersD2D.h's CreateStrokeStyleForOptions more robust. r=Bas 2014-09-30 18:07:49 +01:00
Matt Woodrow
fcd996d937 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
c5ecdd683d Bug 1074128, part 2 - Rename Moz2D's AutoSaveTransform to AutoRestoreTransform. r=Bas 2014-09-29 18:26:56 +01:00
Jonathan Watt
70f7d2d4a2 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
27111a9c27 Bug 1073960 - Mark DrawTarget::GetFormat() as const. r=Bas 2014-09-29 14:15:18 +01:00
Jonathan Watt
eab304ab9a 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
ec62208fdf 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
e0a5dea92a Backed out changeset b5705fbed44f (bug 1070722) for reftest orange on a CLOSED TREE 2014-09-26 14:29:46 -07:00
Matt Woodrow
09911289a1 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
33956e6925 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
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
Jim Chen
d43388fc2f Bug 1067018 - Make sure calloc/malloc/free usages match in Tools.h; r=jwatt 2014-09-25 13:08:23 -04:00
Mason Chang
4b2df54aa2 Bug 1056340 - Clip viewport fixed position overflow to scroll frame. r=roc 2014-09-23 09:44:00 -04:00
Botond Ballo
80adbb391e 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
9bfdf5b499 Bug 1071673 - Remove nsDebug.h include from gfx/2d/Logging.h. rs=Bas 2014-09-23 12:37:22 -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
31c3a34f20 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
3022f3b91f Bug 1069592: Annotate several more Direct2D errors. r=jrmuizel 2014-09-19 00:01:25 +02:00
Bas Schouten
b80e27d67f Bug 1069584: Bail if a cairo surface is in an invalid state. r=jrmuizel 2014-09-19 00:01:24 +02:00
Ryan VanderMeulen
41c82d525f Backed out changeset 0cc9fcdca191 (bug 1068195) for Windows crashtest asserts.
CLOSED TREE
2014-09-17 20:47:35 -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
Ehsan Akhgari
27838f10b2 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
01be2f7434 Bug 1068613 - Part 4: Log failures in CairoCreateSimilar. r=jrmuizel 2014-09-17 23:23:09 +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
Nicolas Silva
4529e9a4ce Bug 1068613 - Part 1: Add gfxCriticalError() log to Moz2D. r=bas 2014-09-17 23:23:02 +02:00
Jonathan Watt
038b7a5ff6 Bug 1067998 - Fix OOM crash in gfxAlphaBoxBlur::Init on large blur surface. r=Bas 2014-09-17 08:46:42 +01:00
Nicolas Silva
645e9e7d94 Bug 1061712 - Fix missing include. r=me 2014-09-16 14:55:03 +02:00
Nicolas Silva
426b1eaffa Bug 1061712 - Don't crash in DrawTargetDual::CreateSimilar if allocation fails. r=Bas 2014-09-16 14:29:40 +02: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