Commit Graph

403 Commits

Author SHA1 Message Date
Bas Schouten
ae9c9b21aa Bug 829954 - Part 2: Check for allocation success inside AlphaBoxBlur::Blur. r=jrmuizel 2013-06-04 03:13:53 +02:00
Bas Schouten
919d149d6f Bug 829954 - Part 1: Make AlignedArray fallible. r=jrmuizel 2013-06-04 03:13:53 +02:00
Kartikaya Gupta
83f51d55ac Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa 2013-06-03 09:52:44 -04:00
Phil Ringnalda
01dda39d42 Merge m-c to a CLOSED TREE m-i 2013-05-31 07:41:20 -07:00
Phil Ringnalda
ea17398276 Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
CLOSED TREE
2013-05-31 07:39:56 -07:00
Kartikaya Gupta
09a6269c24 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
Anthony Jones
d25f900f94 Bug 831237 - Reduce APZC buffer churn; r=BenWa
Prevents the display port from getting smaller as the visible region
approaches the edges of the scrollable rect.
2013-05-28 16:17:09 +12:00
Benoit Girard
5a4e5c64c2 Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Phil Ringnalda
315cb76195 Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
CLOSED TREE
2013-05-29 23:42:20 -07:00
Benoit Girard
da3a0b92cd Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check

--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
Jeff Gilbert
028ad03f99 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
James Willcox
0d335d769a Bug 854556 - Only hold SkCanvas in DrawTargetSkia r=mattwoodword 2013-05-29 12:49:40 -04:00
Kartikaya Gupta
43abffa297 Bug 865735 - Add a units template parameter to the gfx Point, Size, and Rect classes. r=bas,roc 2013-05-29 09:32:30 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Ryan VanderMeulen
e86857072e Backed out 2 changesets (bug 736276) for reftest crashes on a CLOSED TREE.
Backed out changeset 1bd02a8da04f (bug 736276)
Backed out changeset 120285554c44 (bug 736276)
2013-05-15 16:14:56 -04:00
George Wright
bb00307f72 [PATCH 2/2] Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2012-08-05 02:29:18 -04:00
Mark Banner
e569d3dfb4 Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Benoit Jacob
b4f8ba9013 Bug 869188 - Avoid mixing CheckedInt and float in Blur code - r=Bas 2013-05-07 08:14:26 -04:00
Jeff Muizelaar
a9d968b454 Bug 845125. Fix impromper use of CheckedInt.
Previously we're missing the multiplication.
2013-04-30 15:46:22 -04:00
Jonathan Kew
bddd660d8e bug 866747 - stroke glyphs individually instead of making a single path for the entire text run. r=bas 2013-04-30 19:26:28 +01:00
Milan Sreckovic
581f025119 Bug 845125 - Add gfxImageSurface constructor that allocates more space than needed, change AlphaBoxBlur to not hold on to the data and let the callers manage it. r=jmuizelaar 2013-04-19 12:13:18 +02:00
Chris Lord
0282df309d Bug 853867 - Allow --enable-gtest on Android and fix build issues. NPOTB r=bas,bgirard
--HG--
extra : rebase_source : 2e870fd157ea7e9a4de4cf8f4d465784eab0ff8e
2013-04-25 15:39:33 -04:00
Matt Woodrow
5ffc497bd0 Bug 863922 - Use the device pixel size of plugin IOSurfaces since layers handles resolution scaling already. r=BenWa 2013-04-25 10:31:12 +12:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Daniel Holbert
71e4848cd7 Bug 858304: Fix 2 signed/unsigned comparison warnings in QuartzSupport.mm. r=smichaud 2013-04-04 18:20:44 -07:00
Daniel Holbert
913ca3ad48 Bug 857740: Use MOZ_STATIC_ASSERT instead of COMPILE_ASSERT in convolver.h. r=jrmuizel 2013-04-04 14:42:07 -07:00
Nathan Froyd
ec03cbd4c3 Bug 839383 - part 3 - inline AssignSurfaceParametersFromFormat into its only caller; r=jrmuizel 2013-03-12 17:02:19 -04:00
Nathan Froyd
155fdc5155 Bug 839383 - part 2 - factor out CGImageRef creation code in SourceSurfaceCG.cpp; r=jrmuizel 2013-03-12 16:59:26 -04:00
Nathan Froyd
9612c3dcdb Bug 839383 - part 1 - fix unhandled enumeration values in SourceSurfaceCG.cpp; r=jrmuizel 2013-03-06 11:11:18 -05:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Landry Breuil
1a8ba053e6 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
0940cffd4b 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
2c5c9b5818 Bug 844883 - Use a signed value for the stride. r=jmuizelaar 2013-03-20 15:42:51 -04:00
Milan Sreckovic
b7bf7baffc Bug 825721 - Clamp negative box starts and disallow negative sizes. r=jmuizelaar 2013-03-07 10:13:28 -05:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Bas Schouten
3a61db8df3 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
98db3116eb 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
b6dedb7d38 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
8cf664a621 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
bc3cb980a1 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
accc46f11d 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
956f0960a4 [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
3acf70f12b [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
c8c36f8aa7 [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
4083244598 Backed out changeset c1f4eff03e82 (bug 840693) for causing bug 838563 2013-03-04 14:38:11 +00:00
Robert O'Callahan
0da523cad4 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