Commit Graph

369 Commits

Author SHA1 Message Date
Landry Breuil
4641abbd9e Bug 849253 - Followup to really unbreak BE archs: use USE_SKIA_GPU in HelpersSkia.h too r=gwright 2013-03-26 22:13:12 +01:00
George Wright
bbbab52ed9 Bug 849253 - Make SkiaGL a build-time option independent of Skia, and disable it on PPC[64] r=mattwoodrow 2013-03-13 19:29:47 -04:00
Steve Singer
68e0638cba Bug 844883 - Use a signed value for the stride. r=jmuizelaar 2013-03-20 15:42:51 -04:00
Milan Sreckovic
757d011762 Bug 825721 - Clamp negative box starts and disallow negative sizes. r=jmuizelaar 2013-03-07 10:13:28 -05:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Bas Schouten
249037f0d4 Bug 828157 - Properly offset gradient origin when using D2D to draw moderately complex gradients. r=jmuizelaar 2013-03-12 15:55:50 -04:00
Jacek Caban
d708ac8932 Bug 849207 - Use __declspec(dllexport) for exporting skia C++ symbols. r=gwright
--HG--
extra : rebase_source : 333c7fcc334db6f6969995f0ff5fac8bb9607e74
2013-03-12 11:33:36 +01:00
Chris Lord
81f0522af9 Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
893d8d351a Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE. 2013-03-06 16:11:05 -05:00
Chris Lord
f223199f29 Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-06 16:56:00 +00:00
Daniel Holbert
1859a93138 Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
George Wright
85199c3edd [PATCH 8/9] Bug 751418 - Plumb through GL-backed CanvasLayers for Skia/GL r=mattwoodrow
From ac18dd134e69cc734dc6a9e16498e43207de4e9a Mon Sep 17 00:00:00 2001
---
 content/canvas/src/CanvasRenderingContext2D.cpp | 42 +++++++++++++++++++++++--
 content/canvas/src/CanvasRenderingContext2D.h   |  5 +++
 gfx/2d/2D.h                                     |  8 +++++
 gfx/2d/Factory.cpp                              | 10 ++++++
 gfx/thebes/gfxPlatform.cpp                      | 34 ++++++++++++++++++++
 gfx/thebes/gfxPlatform.h                        | 12 +++++++
 6 files changed, 109 insertions(+), 2 deletions(-)
2012-11-30 18:58:00 -05:00
George Wright
5563171991 [PATCH 7/9] Bug 751418 - Add support for the Skia/GL backend to DrawTargetSkia r=mattwoodrow
From 0792589a5679ba3af020708233bacbd83a0c611e Mon Sep 17 00:00:00 2001
---
 gfx/2d/DrawTargetSkia.cpp | 24 ++++++++++++++++++++++++
 gfx/2d/DrawTargetSkia.h   |  4 ++++
 gfx/2d/HelpersSkia.h      | 20 ++++++++++++++++++++
 3 files changed, 48 insertions(+)
2012-11-30 18:57:38 -05:00
George Wright
9a7d9e3192 [PATCH 4/9] Bug 751418 - Ensure we define USE_SKIA globally r=ted
From f0e2d2aa3f9a5738369ce9e0e8cd00d937ac77ab Mon Sep 17 00:00:00 2001
---
 configure.in         | 4 ++++
 gfx/2d/Makefile.in   | 7 -------
 gfx/skia/Makefile.in | 3 ---
 3 files changed, 4 insertions(+), 10 deletions(-)
2013-02-26 18:29:33 -05:00
Ed Morley
d4f164b2da Backed out changeset c1f4eff03e82 (bug 840693) for causing bug 838563 2013-03-04 14:38:11 +00:00
Robert O'Callahan
fd02ebad7e Bug 840695. Make aAntialiasMode default to AA_DEFAULT, because, well, it's the default. r=bas
--HG--
extra : rebase_source : f22329337aa120573efc13fa6ac0bb111ff0dba2
2013-02-25 12:01:16 +13:00
Anthony Jones
a867d6ab73 Bug 840693 - Add ZoomScale; r=Bas 2013-03-04 13:25:22 +13:00
Ryan VanderMeulen
5d849d0751 Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE. 2013-03-01 16:09:59 -05:00
Chris Lord
f56a95adbd Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-01 15:46:34 +00:00
Gregory Szorc
21460a71f3 Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Benoit Girard
13c81ffaed Bug 839740 - Add Moz2D Unit Tests to gtest. r=bas 2013-02-22 19:28:08 -05:00
Daniel Holbert
c571e822b3 Bug 839265: Remove unused enum value OP_ARCTO from the PathOp::OpType enum. r=Bas 2013-02-17 00:49:50 -08:00
Daniel Holbert
4e78a9ab0a Bug 839257: Mark Factory.cpp's HasCPUIDBit() as inline, to fix build warnings on some configurations about the function being defined but not used. r=Bas 2013-02-17 00:45:10 -08:00
Daniel Holbert
f25534b79f Bug 839384: Fix build warnings for DrawTargetCG. r=jrmuizel 2013-02-12 20:00:54 -08:00
Robert O'Callahan
70ccb25043 Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-12 17:56:28 +13:00
Phil Ringnalda
cb79659a5f Back out 1b98c119cbfb (bug 8203709) for bustage
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan
af668db99e Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-10 00:28:18 +13:00
Timothy Nikkel
8233bb1988 Bug 827946. GCC 4.5 with PGO miscompiles the ConvolveHorizontally function, so add an annotation to tone down the optmization on that function with GCC 4.5 only. r=joe 2013-02-08 14:01:19 -06:00
Timothy Nikkel
c4442c2ae2 Backout 1b5a4a4cf267 (bug 827946) for build breakage on CLOSED TREE. 2013-02-08 10:55:17 -06:00
Timothy Nikkel
f66897f82e Bug 827946. GCC 4.5 with PGO miscompiles the ConvolveHorizontally function, so add an annotation to tone down the optmization on that function with GCC 4.5 only. r=joe 2013-02-08 10:39:16 -06:00
Matt Woodrow
49493327db Bug 836892 - Add new skia blending modes to GfxOpToSkiaOp. r=gw280 2013-02-08 10:54:59 +13:00
Matt Woodrow
0a967062f9 Bug 831529 - Stop using SkPath::contains for now since it doesn't match the canvas spec. r=jrmuizel 2013-02-08 10:54:59 +13:00
Milan Sreckovic
2c6ea06f4c Bug 818241 - Initialize mCg to nullptr. r=jmuizelaar 2013-01-29 10:22:52 -05:00
Mats Palmgren
f039793929 Bug 834896 - Replace uses of gfx_min/gfx_max with std::min/std::max. r=joe 2013-01-30 17:02:27 +01:00
Mats Palmgren
9398ca3f40 Bug 834896 - Remove the gfx_min/gfx_max templates. r=joe 2013-01-30 17:02:27 +01:00
Filippo Cristofoletti
38c8e0af02 Bug 755031 - Fix some other warnings in gfx/2d. r=jmuizelaar 2013-01-28 10:09:29 -05:00
Filippo Cristofoletti
04732008ec Bug 755031 - Clear warnings in gfx/2d/ScaledFontDWrite.cpp. r=jmuizelaar 2013-01-15 07:21:00 -05:00
Usurelu Catalin
1218974f91 Bug 817846 - Add BaseSize::IsEmpty() member function. r=cjones 2013-01-24 18:10:27 -05:00
Steven Michaud
6aced240ae Bug 829284 - Unity plugin doesn't display in HiDPI mode. r=bgirard 2013-01-23 16:19:15 -06:00
Milan Sreckovic
5cae08eb28 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Bas Schouten
445908818b Bug 817019: Don't push ClearType layers to Transparent rendertargets. r=jrmuizel 2013-01-15 02:20:10 +01:00
Trevor Saunders
10701d89a1 no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Chris Peterson
34d009dfe8 Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Anthony Jones
84c559a422 Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc 2012-12-23 10:50:30 -05:00
Steven Michaud
ed8fe1f53d Bug 821304 - Unbreak plugins that use subclasses of CALayer in CoreAnimation mode. r=bgirard 2012-12-20 15:14:20 -06:00
Jeff Muizelaar
47cdb5bcdd Bug 823393. Breakage fix for partially commited Bug 823148.
Only some hunks of the patch for bug 823148 made it into the
tree. I've no idea why.

--HG--
extra : rebase_source : 629e6d74e2e6cf4255e7875a8a1eb044241eec23
2012-12-20 01:16:45 -05:00
Jeff Muizelaar
1a3fed9d72 Bug 823148. Make IsPatternSupportedByD2D match its name. r=bgirard
The name of this function got inverted but its implementation stayed the same.
2012-12-19 23:19:45 -05:00
Yazen Ghannam
a5cf56118a Bug 795378 - Clean up the high-quality scaler - Merge upstream changes to image_operations.cpp. r=joe 2012-12-18 16:25:07 -05:00
Rik Cabanier
db7b579813 Bug 748433: Adds support for blending to the canvas globalCompositeOperator. r=jrmuizel 2012-12-12 21:28:17 +01:00