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
Anthony Jones
a2f7f5b486
Bug 840693 - Add ZoomScale; r=Bas
2013-03-04 13:25:22 +13:00
Ryan VanderMeulen
75acd49b0e
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
fa6c4dbff3
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
0f0c587cec
Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger
2013-02-25 12:47:21 -08:00
Benoit Girard
b84eafe4cc
Bug 839740 - Add Moz2D Unit Tests to gtest. r=bas
2013-02-22 19:28:08 -05:00
Daniel Holbert
45b45db03a
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
7e0d47c24b
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
c2dca048b1
Bug 839384: Fix build warnings for DrawTargetCG. r=jrmuizel
2013-02-12 20:00:54 -08:00
Robert O'Callahan
1ffa96c238
Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow
2013-02-12 17:56:28 +13:00
Phil Ringnalda
02dc61c4b7
Back out 1b98c119cbfb (bug 8203709) for bustage
...
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan
b60912d30d
Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow
2013-02-10 00:28:18 +13:00
Timothy Nikkel
4961ecbdec
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
930787a63a
Backout 1b5a4a4cf267 (bug 827946) for build breakage on CLOSED TREE.
2013-02-08 10:55:17 -06:00
Timothy Nikkel
85592e4e9d
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
c731acfcd9
Bug 836892 - Add new skia blending modes to GfxOpToSkiaOp. r=gw280
2013-02-08 10:54:59 +13:00
Matt Woodrow
d82b9be3bb
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
0e784ed3ff
Bug 818241 - Initialize mCg to nullptr. r=jmuizelaar
2013-01-29 10:22:52 -05:00
Mats Palmgren
f16418bea2
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
3912990bf9
Bug 834896 - Remove the gfx_min/gfx_max templates. r=joe
2013-01-30 17:02:27 +01:00
Filippo Cristofoletti
6ba40b463c
Bug 755031 - Fix some other warnings in gfx/2d. r=jmuizelaar
2013-01-28 10:09:29 -05:00
Filippo Cristofoletti
3d2316135a
Bug 755031 - Clear warnings in gfx/2d/ScaledFontDWrite.cpp. r=jmuizelaar
2013-01-15 07:21:00 -05:00
Usurelu Catalin
02bbb1d4a0
Bug 817846 - Add BaseSize::IsEmpty() member function. r=cjones
2013-01-24 18:10:27 -05:00
Steven Michaud
555c9efaae
Bug 829284 - Unity plugin doesn't display in HiDPI mode. r=bgirard
2013-01-23 16:19:15 -06:00
Milan Sreckovic
246bd7a470
Bug 803568: Check for Cairo surface creation failure. r=bas
2013-01-17 14:38:38 +01:00
Mats Palmgren
d5826be6d7
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
1cd02f2da7
Bug 817019: Don't push ClearType layers to Transparent rendertargets. r=jrmuizel
2013-01-15 02:20:10 +01:00
Trevor Saunders
a6e1ca0693
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
f456453bfd
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
ba51b4bc85
Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc
2012-12-23 10:50:30 -05:00
Steven Michaud
22e17a7096
Bug 821304 - Unbreak plugins that use subclasses of CALayer in CoreAnimation mode. r=bgirard
2012-12-20 15:14:20 -06:00
Jeff Muizelaar
9b7394adca
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
37df44dd2b
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
3825f462a9
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
4c61fa69ca
Bug 748433: Adds support for blending to the canvas globalCompositeOperator. r=jrmuizel
2012-12-12 21:28:17 +01:00
Rik Cabanier
6b9a25d0b5
Bug 809927: Add new blend modes and implement them for Direct2D. r=bas
2012-12-12 21:28:17 +01:00
Steve Singer
fb88040c36
Bug 817356. the skia image resizers need to respect endian order when finding the alpha values. r=joedrew
2012-12-09 21:20:41 +01:00
Tobias Netzel
05af0c6d7d
Bug 818004 - New Blurring code isn't big endian compatible. r=joedrew
2012-12-04 21:00:39 -05:00
Bas Schouten
59275a8c4f
Bug 789933: Support non-D2D targets for getting a Path off ScaledFontDWrite. r=nrc
2012-12-05 01:11:02 +01:00
Nicholas Cameron
dbf7f78ed3
Bug 814828. DEST_OUT has no affect outside the source; r=bas
...
--HG--
extra : rebase_source : 098f3e3e64ba5504530264016d7fa9425c065f99
2012-12-05 13:02:52 +13:00
Joe Drew
915318f7cd
Bug 813090 - Fix license block on imported Chromium code. r=gerv
2012-12-03 18:04:22 -05:00
Mats Palmgren
edf8cdeef3
Bug 815489 - Don't let Blur() swap mData since the buffer is also used by the image surface. r=roc
2012-11-28 19:55:36 +01:00
Brian R. Bondy
19fd7aceb1
Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas
2012-11-25 14:00:31 -05:00
George Wright
cf706b0313
Bug 751418 - Move common functions from DrawTargetSkia to HelpersSkia r=mattwoodrow
2012-10-16 17:16:45 -04:00
Bas Schouten
0aef574264
Bug 814101: Respect system-wide cleartype setting. r=jrmuizel,jfkthame
2012-11-23 02:53:12 +01:00
Yury
fc06b33fb9
Bug 812039 - mozIsPointInPath leaks CGPath objects. r=jmuizelaar
2012-11-15 20:34:57 -05:00
Jeff Muizelaar
7b6c5f3e23
Bug 811919. Include the pattern transform when painting patterns in DrawTargetCG. r=benwa
...
This fixes a lot of azure content bugs.
--HG--
extra : rebase_source : be84084aa7753862920ddd7b04fbfb0bd0b54ded
2012-11-14 16:52:02 -08:00
Bas Schouten
da71daaa87
Bug 811850: Fix gfx 2d recording to be 64-bit neutral. r=jrmuizel
2012-11-14 20:55:02 +00:00
Nathan Froyd
3520137968
Bug 809967 - include ostream instead of iostream in PathRecording.h to avoid static initializers; r=Bas
2012-11-08 14:22:16 -05:00
Bas Schouten
0c44a0904a
Bug 509052: Add new, faster blurring code. r=derf
2012-11-07 09:29:54 +01:00
Ed Morley
7955e755b0
Backout e89f1fce980d (bug 509052) for an assortment of timeouts and crashes
2012-11-07 10:47:27 +00:00
Bas Schouten
18e314acfd
Bug 509052: Add new, faster blurring code. r=derf
2012-11-07 09:29:54 +01:00
Tobias Schneider
8b298f4026
Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar
2012-10-29 16:54:53 +01:00
Tobias Schneider
d12338f402
Bug 806780 - PathSkia::ContainsPoint should use SkPath::contains(x, y). r=jmuizelaar
2012-10-30 10:19:16 +01:00
Nicholas Cameron
9918b32c5c
Bug 801465; DataSourceSurfaceD2D; r=Bas
2012-10-31 12:30:25 +13:00
Nathan Froyd
f9b2a74082
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Daniel Holbert
f2f61487b3
Bug 795655: Mark "StringFromPtr()" in RecordedEvent.h as inline, not static, so that it doesn't trigger build warnings in cpp files that don't use it. r=bas
2012-10-29 16:15:31 -07:00
Bas Schouten
e52a32f0ff
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Phil Ringnalda
8ef69d2aac
Back out fbd8fdb7c544 (bug 805831) for build failures
2012-10-26 21:53:41 -07:00
Bas Schouten
688168bfaf
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Matt Joras
cb9f8ae9e7
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-25 16:12:59 -04:00
Markus Stange
19d18b4803
Bug 770524 - Fix FuzzyEqual to not return false for equal floats which are smaller than -2048.0f. r=roc
2012-10-25 12:54:15 +02:00
Anthony Jones
66ba4ec646
Bug 796418 - Check cairo matrix before drawing. r=joe
2012-10-24 22:03:21 -04:00
Jonathan Kew
8797c7fbb0
bug 715798 pt 3 - support Color Emoji font in the gfx/2d quartz backend. r=jrmuizel
2012-10-23 10:07:14 +01:00
Joe Drew
ed27f21e03
Bug 798053 - Do a more accurate test for the return value of Scale(). r=gw280
...
--HG--
extra : rebase_source : c26a57f060f172e9b7864eef69fa782064b4fae5
2012-10-10 11:35:23 -04:00
Steven Michaud
5a116d7578
bug 794038 pt 3 - plugins support for resolution change. r=bgirard
2012-10-16 20:41:21 +01:00
Benoit Jacob
c78c87a1ca
back out 621cfd13ceaf for build failures
2012-10-15 13:34:42 -04:00
Matt Joras
db700742e9
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-15 13:02:21 -04:00
Anthony Jones
15656b2623
Bug 795763 - Support extend mode for gradient patterns in DrawTargetCairo. r=joe
2012-10-10 06:32:36 -04:00
Jacek Caban
28992e5e05
Bug 795839 - Include iostream in PathRecording.h r=bas
...
--HG--
extra : rebase_source : 3774e2bdd21b05b009301269e8241acac8468003
2012-10-09 11:44:11 +02:00
Bas Schouten
c333193b1d
Bug 798931: Push clip layers to the correct render targets. r=roc
2012-10-08 12:17:17 +02:00
Oleg Romashin
17cd21e011
Bug 796927 - Gfx Build fix, missing cstring include for memcpy. r=joe
2012-10-06 13:59:01 -07:00
Joe Drew
6343da8f62
Bug 798061 - Fix mismatched malloc vs delete[] in mozilla::gfx::AlphaBoxBlur::~AlphaBoxBlur(). r=jmuizelaar
2012-10-06 21:53:23 -04:00
Bas Schouten
e24cd566f3
Bug 784382 - Part 2: Use new ID2D1DeviceContext interface in Azure. r=jrmuizel
2012-10-07 01:43:16 +02:00
Ehsan Akhgari
7eb88a7711
Bug 797612 - Remove PathCG::mFigureActive; r=jrmuizel
...
--HG--
extra : rebase_source : 4ce5161c5ffee297ab55ad7a980dbb74f0051ded
2012-10-03 19:43:03 -04:00
Ehsan Akhgari
efdd777320
Bug 797219 - Make OutputMessage in gfx/2d/Logging.h static inline; r=joe
2012-10-03 13:43:37 -04:00
Robert O'Callahan
463a316a37
Bug 793690. Fix the obvious typos for infinite rects in SetScissorRect. r=bas
2012-10-04 00:30:56 +13:00
Nicholas Cameron
3e5b159112
Bug 753237 - Implement DrawTargetCairo::Mask(). r=joe
2012-10-02 20:14:38 -04:00
Steven Michaud
8650a61e2a
Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard
2012-10-02 14:48:05 -05:00
Anthony Jones
390224a3da
Bug 795135 - Fix CairoTempMatrix restore. r=joe
2012-10-01 22:12:13 -04:00
Joe Drew
8219c6bebc
Bug 486918. Part 1: Import Chromium's higher-quality image scalers, since we know those to be good and shippable. r=jrmuizel
2012-08-23 15:36:04 -04:00
Ms2ger
372fb21863
Bug 795862 - Back out bug 486918 for build bustage in unreviewed code.
2012-10-01 14:16:03 +02:00
Joe Drew
9c1a03cf35
Bug 486918. Part 1: Import Chromium's higher-quality image scalers, since we know those to be good and shippable. r=jrmuizel
2012-08-23 15:36:04 -04:00
Doug Sherk
f73db9f5da
Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc
2012-09-28 22:16:34 -04:00
Ed Morley
6250aafdf0
Backout 92530b29ac24, 42e659956dc6 & 38277196c099 (bug 486918), d3b69fe15ac3 & b2dba2108722 (bug 786444), e7381ac9e30a (bug 786449) on suspicion of causing Android reftest failures on a CLOSED TREE
2012-09-28 23:00:28 +01:00
Andrew Quartey
24a0485f96
Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas
2012-09-28 13:21:40 -04:00
Joe Drew
d69b59de49
Bug 486918. Part 1: Import Chromium's higher-quality image scalers, since we know those to be good and shippable. r=jrmuizel
...
--HG--
extra : rebase_source : afcbe4f2b8fac985d836b038fb42156d27dc1c29
2012-08-23 15:36:04 -04:00
Chris Jones
1473dd2ab9
Remove this .rej that didn't merge properly. No bug.
...
--HG--
extra : rebase_source : de991a63653dba7575448676cb855b29fb3d66c4
2012-09-25 23:44:39 -07:00
Bas Schouten
f879626948
Bug 792207 - Part 5: Add code to Azure to allow initializing recording. r=jrmuizel
2012-09-24 15:02:50 +00:00
Bas Schouten
4bb194b703
Bug 792207 - Part 4: Add Azure recording code. r=jrmuizel
2012-09-24 15:02:50 +00:00
Bas Schouten
32bb90c285
Bug 792207 - Part 3: Add UserData to ScaledFont. r=jrmuizel
2012-09-24 15:02:49 +00:00
Bas Schouten
002f6c0080
Bug 792207 - Part 2: Add method to store and create from TrueType data. r=jrmuizel
2012-09-24 15:02:49 +00:00
Bas Schouten
1573410081
Bug 722269: Make DrawTargetD2D::DrawSurface deal with any SourceSurface convertible to a DataSourceSurface. r=joedrew
2012-09-20 21:24:12 +00:00
Robert O'Callahan
c4a56ee9c9
Bug 772726. Part 14: Nudge pattern transform components to integers to avoid rounding errors. Also nudge rects to integers when we retransform them due to a CTM change. r=bas
2012-09-08 00:32:21 +12:00
Robert O'Callahan
db11746193
Bug 772726. Part 8: Add Rect::NudgeToIntegers and share improved nudging code among all nudging APIs. r=bas
2012-09-12 17:24:09 +12:00
Robert O'Callahan
08124fb0da
Bug 772726. Part 6: Add NudgeToIntegers operation to Azure Matrix, add MultiplyAndNudgeToIntegers to gfxContext, and call it from SVG when we render path geometry, to ensure that small internal rounding errors in transforms don't cause unnecessary differences in rasterization of paths. r=bas
2012-09-05 12:15:52 +12:00
Bas Schouten
6ab8e308dd
Bug 772726: Factor out pixel-aligned clip handling in DrawTargetD2D. r=jrmuizel
2012-09-18 23:04:42 +00:00
George Wright
323359d051
Bug 777614 - Handle BGRX SourceSurfaces in Skia by converting them to BGRA r=nrc
2012-09-18 15:41:37 -04:00
George Wright
6a0058a6d0
Bug 777614 - Use Skia's Conical gradient shader instead of Radial to be in line with the canvas spec. r=nrc
2012-09-18 15:41:37 -04:00
Daniel Holbert
0d97399c31
Bug 791801: Reorder AlphaBoxBlur init list to fix build warning. r=ajones
2012-09-17 15:41:24 -07:00
Jeff Muizelaar
00587c07b1
Bug 782647. Move the nullptr workaround macros to MFBT so that it can be shared. r=waldo
...
This also changes the header to use compiler detection instead of a
configure test. This makes the header more portable because
it doesn't require the configure infrastructure.
2012-09-01 16:16:17 -04:00
Bas Schouten
c93c7afc69
Bug 790222: Fix azure stand-alone build. r=BenWa
2012-09-11 13:51:39 +00:00
Andrew Quartey
c34c4521c2
Bug 788398 - Remove unused variable 'rule' in CairoPathContext::DuplicateContextAndPath r=bjacob
2012-09-06 20:16:30 -04:00
Nicholas Cameron
683496a28c
Bug 722217; keep only a single snapshot. r=jrmuizel
2012-09-06 16:07:53 +12:00
Benoit Girard
2b1b0b76b1
Bug 788681 - Fix swapped Typedefs IOSurfaceGetWidthFunc and IOSurfaceGetHeightFunc. r=smichaud
2012-09-05 17:31:30 -04:00
Anthony Jones
a9b6e1e92e
Bug 788087 - Apply matrices to Azure/Cairo patterns. r=joe
2012-09-04 21:01:57 -04:00
Anthony Jones
1c03dee0c6
Bug 784573 - Fix problems converting cairo paths between user space and device space. r=joe
2012-09-03 17:48:04 -04:00
Anthony Jones
adf1983141
Bug 784573 - Create a RAII helper for temporary cairo matrices. r=joe
2012-09-03 17:47:09 -04:00
Anthony Jones
0aef976df5
Bug 781731 - Use a similar surface for non-blurred shadows to improve performance. r=joe
2012-09-02 19:07:06 -04:00
Anthony Jones
30cd2208d4
Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back. r=jrmuizel
2012-09-02 19:07:06 -04:00
Anthony Jones
57eca94aa8
Bug 781731 - Fix shadow surface extents so they aren't double padded. r=joe
2012-09-02 19:07:05 -04:00
Anthony Jones
08876a0dce
Bug 781731 - Clean up DrawTargetCairo::DrawSurfaceWithShadow() to make it simpler and paint correctly in all modes. r=jrmuizel
2012-09-02 19:07:05 -04:00
Ryan VanderMeulen
dea06b0a28
Bug 781380 - Follow-up fix for a change that was lost in the original landing. r=ajones
2012-08-28 20:55:20 -04:00
Ms2ger
6a8ff69ba1
Backout bug 781731.
2012-08-27 12:27:40 +02:00
Anthony Jones
bf498a4c08
Bug 781731 - Fixed failed assertion in reftest1; r=doublec
2012-08-27 22:01:47 +12:00
Anthony Jones
845006b170
Bug 781731 - Use a similar surface for non-blurred shadows to improve performance; r=roc
2012-08-27 11:34:33 +02:00
Anthony Jones
c67126fb9b
Bug 781731 - Speed up shadows by using tee surface to avoid doing a read back; r=roc
2012-08-27 11:34:07 +02:00
Anthony Jones
efc3961ad0
Bug 781731 - Fix shadow surface extents so they aren't double padded; r=roc
2012-08-27 11:32:14 +02:00
Anthony Jones
80a0320902
Bug 781731 - Clean up DrawTargetCairo::DrawSurfaceWithShadow() to make it simpler and paint correctly in all modes; r=jrmuizel
2012-08-27 11:31:56 +02:00
Anthony Jones
4cccdbef88
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::DrawSurfaceWithShadow(). r=roc
2012-08-23 19:50:59 -04:00
Anthony Jones
2fce71e823
Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::CreateSimilarDrawTarget(). r=roc
2012-08-23 19:50:59 -04:00
Nicholas Cameron
bf17571aff
Bug 784260; DrawTargetD2D should deal with Cairo surfaces in CreateBrush... . r=Bas
...
--HG--
extra : rebase_source : 6f6226c1b22b6e863499a40268cb44afab799381
2012-08-23 08:56:03 +12:00
Mats Palmgren
82160c5042
Bug 783041 - Minor cleanup: remove local 'shadowIntRect' and use 'mRect' instead since it has the same value, and use Intersect instead of IntersectRect since we're not using its return value. part 2, r=roc
2012-08-16 16:13:29 +02:00
Mats Palmgren
dc4d68085f
Bug 783041 - Check IsEmpty() after rounding. part 1, r=roc
2012-08-16 16:13:29 +02:00
Joe Drew
d8748ac877
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : cfa9fc8ae592880e22e1f14cee42539b4f911668
2012-08-14 14:06:12 -04:00
Joe Drew
dc29fbcc5f
Bug 782416 - Make gfx::2d's nullptr definition actually work. r=nrc
...
--HG--
extra : rebase_source : da098e5e6d04aa1dce2ffefd4ccd0ad6ffb376b8
2012-08-15 15:24:44 -04:00
Joe Drew
0375708f8e
Back out 98d2c24ce932 for failing to build r=moron
2012-08-15 12:51:33 -04:00
Joe Drew
f072936338
Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
...
--HG--
extra : rebase_source : 9b12a2af4c55f4dc383e8075b400e7a1fbe1ac23
2012-08-14 14:06:12 -04:00
Aryeh Gregor
e2dd9c2028
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Nicholas Cameron
f587d00227
Bug 781943. nullptr macro. r=joe
2012-08-14 09:06:59 +12:00
Robert O'Callahan
856a5da26e
Bug 772726. Part 3: Optimize DrawTargetD2D::GetClippedGeometry for the case where all clips are rectangles, to work around a D2D geometry-intersection bug. r=bas
...
--HG--
extra : rebase_source : 72a21554ec37818e1b5ba4c36d03e4f81010c6a1
2012-08-10 23:18:36 +12:00
Ed Morley
a0bb24f111
Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html
2012-08-10 14:50:43 +01:00
Robert O'Callahan
00cbe415e1
Bug 772726. Part 3: Optimize DrawTargetD2D::GetClippedGeometry for the case where all clips are rectangles, to work around a D2D geometry-intersection bug. r=bas
...
--HG--
extra : rebase_source : 51734958e7100ee4a5fc96d973905834d69345f0
2012-08-10 23:18:36 +12:00
Nicholas Cameron
bc4f4c3f06
Bug 781056; remove extraneous save/restores from DrawTargetCairo. r=bas
...
--HG--
extra : rebase_source : d3c9d94d3263c50bc0d4bae42b6d58f3f5b07a0b
2012-08-10 06:45:03 +12:00
Nicholas Cameron
7d95be8018
Bug 779401; Teach HelpersCairo.h about 565 image formats. r=bas
...
--HG--
extra : rebase_source : eef05ab0fa1a8094104f272786ba7a3714c27dd5
2012-08-09 08:17:04 +12:00
Nicholas Cameron
c2e46a6896
Bug 780392; Make ScaledFontDWrite inherit from ScaledFontBase. r=bas
...
--HG--
extra : rebase_source : 83ffee7d64f1ecdfa15b8cf96024c27fdf00c29b
2012-08-09 08:17:04 +12:00
Sergey Glushchenko
cc3eef8d15
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Mike Hommey
be451c22dc
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Mike Hommey
e79d87471e
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
Matt Woodrow
f19af528e3
Bug 778036 - Add Has function to gfx::UserData and use it in Layers to correctly check for existance of user data. r=roc
2012-08-03 17:38:44 -07:00
Andrew McCreight
4518160ee1
Bug 724666 - Remove debugging printfs. r=bgirard
2012-08-01 08:51:31 -07:00
Jeff Muizelaar
a90c947151
Bug 778307. Don't shadow mFormat in DrawTargetCG. r=bgirard
...
This was causing problems with Azure content.
2012-07-31 12:28:03 -07:00
Benoit Girard
1283cbb069
Bug 724666 - Part 2: Add CGIOSurfaceContext to azure. r=jmuizelaar
2012-07-31 11:17:43 -04:00
Benoit Girard
0c580e48cb
Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
...
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
Bas Schouten
9fcbfab303
Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel
2012-07-28 02:33:08 +02:00
Benjamin Peterson
73e5134abb
Backout 46b27e913ac9 for windows failures
2012-07-27 21:46:51 -07:00
Bas Schouten
fca34bd45d
Bug 777700 - Part 1: Add a way to check validity of SourceSurfaces. r=jrmuizel
2012-07-28 02:33:08 +02:00
Oleg Romashin
d6c5bfebea
Bug 778195 - Add string.h to cover memcpy include and fix build error. r=nrc
2012-07-27 17:51:53 -04:00
Nicolas Silva
ac9c907a9b
Bug 775226 - Support CreateDrawTargetForData with Azure's CoreGraphics backend, r=jrmuizel
2012-07-26 14:06:23 -04:00
Nicholas Cameron
d4158405d0
Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas
2012-07-25 12:45:58 +12:00
Nicholas Cameron
4e5ac23023
Bug 748116; refactor DrawTargetCairo::GfxPatternForPattern. r=roc
2012-07-24 22:18:40 +12:00
Nicholas Cameron
1973aace0a
Bug 748116; Make DrawTargetCairo::DrawSurface work with non-Cairo source surfaces. r=roc
2012-07-24 22:18:39 +12:00
Nicholas Cameron
95a274068b
Bug 746883; tidying up some nits I found along the way; r=gw280
2012-04-26 10:04:35 +12:00
Anthony Jones
4f689acacc
Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl
2012-07-24 22:18:39 +12:00
Anthony Jones
a31d942694
Bug 764125; Fix canvas 2d.drawImage.5arg and 2d.drawImage.9arg surface scaling tests. r=karl
2012-07-24 22:18:38 +12:00
Nicholas Cameron
ac6e52b1e5
Bug 764125; Fix a bug where a path with a transform is re-used. r=Bas
2012-07-24 22:18:38 +12:00
Nicholas Cameron
46651fb0db
Bug 764125; drawing changes to DrawTargetCairo; r=jrmuizel
2012-07-24 22:18:38 +12:00
Nicholas Cameron
fcab761120
Bug 764125; store a reference to the backing surface in DrawTargetCairo; r=Bas
2012-07-24 22:18:38 +12:00