Commit Graph

193 Commits

Author SHA1 Message Date
Lee Salzman
cf2fe05f07 Bug 1188462 - Add SKIA_INCLUDES list for adding Skia to header search path. r=jrmuizel 2015-07-30 12:05:22 -04:00
Heiher
454c80f550 Bug 1157065- GFX: 2D: Implement AlphaBoxBlur in LS3 MMI. r=jrmuizel
* AlphaBoxBlur::BoxBlur
2015-04-21 19:08:00 -04:00
Heiher
8ec99c7845 Bug 1157065 - GFX: 2D: Implement skia::Convolve in LS3 MMI. r=jrmuizel
* skia::ConvolveVertically
* skia:ConvolveHorizontally
* skia:ConvolveHorizontally4
2015-04-21 19:07:00 -04:00
Lee Salzman
6cde204207 Bug 1166584 - Always export HelpersCairo.h. r=jrmuizel 2015-05-20 12:48:31 -04:00
Lee Salzman
e38cad0b37 Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel 2015-05-13 11:54:17 +09:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Markus Stange
ac9d8fb8d7 Bug 1152838 - Fix BaseRect::InflateToMultiple and move it to nsIntRect. r=mattwoodrow, r=jrmuizel
--HG--
extra : rebase_source : 71717edbccf311c7f9101e7a9fccd5901406fe10
2015-04-09 15:49:25 -04:00
Vladimir Vukicevic
9a93b6f1a0 Bug 1148009; [webvr] Add Quaternion class to Moz2D; r=jrmuizel 2015-04-01 16:02:20 -04:00
Botond Ballo
4f5da1dd25 Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas
--HG--
extra : rebase_source : e137820f9992c23f65aab1e40fb7390c9125b04a
extra : source : 1f79257b3df7fb146a1d4f7248905e0ac88f89d0
2015-03-06 13:53:47 -05:00
Markus Stange
a9c358600a Bug 1123019 - In DrawTargetTiled::StrokeRect and StrokeLine, skip tiles that don't intersect the stroke. r=jrmuizel 2015-02-23 16:20:35 -05:00
Ms2ger
2649263bed Bug 1135138 - Remove UNICODE from DEFINES in moz.build rather than Makefile.in; r=mshal
This was made possible by bug 928709.
2015-02-23 18:46:55 +01:00
Markus Stange
6e4e723923 Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
This makes the color matrix and component transfer Moz2D filters generate
an infinite output, which is then cropped to the primitive's filter
primitive subregion by a subsequent crop filter node. This still gives us
different behavior than other browser when the primitive subregion is
overridden using the x/y/width/height attributes - other browsers either
ignore those completely (IE) or only let them crop the default subregion
(which is defined to be the same as the input subregion) and not enlargen
it - but I'll fix that in a separate bug.
2015-02-09 14:04:11 -05:00
Ethan Lin
001ad05489 Bug 753010 - Add a NEON optimized blur method. r=mstange 2015-01-18 22:08:00 +01:00
Ryan VanderMeulen
20d7991ef8 Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
Ehsan Akhgari
cceccb6af3 Bug 1111227 - Remove the MSVC2005 special casing in gfx/2d/moz.build; r=glandium
--HG--
extra : rebase_source : 0d86c3cff1f3775c0994a9f2f71762f77641ca18
2014-12-16 12:53:13 -05:00
Tatiana Meshkova
3234ab1f7d Bug 1023156 - Cannot build Qt with errors in gfxQtPlatforms (with Qt 5.3) 2014-11-19 22:02:51 -08:00
Milan Sreckovic
7f44b60a59 Bug 1074952 - Part 2. gfxWarning() should be available in both debug and release builds. r=bas 2014-10-24 13:54:23 -04: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
Artem Sobolev
290a915cf0 Bug 1054510 - Turned on SSE for image resizing. r=jrmuizel 2014-09-03 11:20:18 -07:00
Matt Woodrow
e1c06a2c6c Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
--HG--
extra : rebase_source : 88b89a41765ab7d6b1f8ac2ae023267418bc31dc
2014-09-03 09:21:35 +12:00
Matt Woodrow
da1422eb83 Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas
--HG--
extra : rebase_source : 153dd5cda0d9c35c724568eae5234dbd26a17683
2014-09-03 09:20:33 +12:00
Phil Ringnalda
e63feb3849 Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
CLOSED TREE

Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
e92fed092a Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
--HG--
extra : rebase_source : fa58170f6966ef0008f54ef4bc1b1b5381fbd0e0
2014-09-02 12:37:41 +12:00
Matt Woodrow
0828cb8571 Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas
--HG--
extra : rebase_source : 88884a1d6297a12cddd2c2f075985634e3fa235c
2014-09-02 12:34:53 +12:00
Phil Ringnalda
7769dc074d Backed out 8 changesets (bug 1057212, bug 1059033) for Windows build bustage
CLOSED TREE

Backed out changeset a54dbdca597b (bug 1059033)
Backed out changeset d8d79e4fbfc4 (bug 1059033)
Backed out changeset 87494588e493 (bug 1057212)
Backed out changeset 3e4105ea0a73 (bug 1059033)
Backed out changeset e59430ea4256 (bug 1059033)
Backed out changeset 301fdfea8fbf (bug 1059033)
Backed out changeset 1ef5a3a9bb06 (bug 1059033)
Backed out changeset a7eaac164c36 (bug 1059033)
2014-08-31 23:55:31 -07:00
Matt Woodrow
0b556d816a Bug 1059033 - Move DrawTargetTiled to non-unified to ensure that _USE_MATH_DEFINES is applied first. CLOSED TREE 2014-09-01 17:28:53 +12:00
Matt Woodrow
4d6e7bf926 Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas 2014-09-01 15:23:40 +12:00
George Wright
1772aea8cc Bug 1055265 - Correct the SkColorType used for 32-bit in SkANP r=snorp 2014-08-28 15:31:01 -04:00
Botond Ballo
ffebd18f0b Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
George Wright
68d6d6c3c3 [PATCH 14/15] Bug 1017113 - Add RefPtrSkia to replace SkRefPtr functionality r=mattwoodrow 2014-07-28 14:48:29 -04:00
Bas Schouten
14e30723db Bug 1039568: Add a capture DrawTarget to Moz2D. r=jrmuizel 2014-08-01 18:01:47 +02:00
Nathan Froyd
12c76f15f7 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
zhoubcfan
0d75074051 Bug 891709 - Fix build bustage in gfx/2d/Factory.cpp when Skia is disabled. r=gw280 2014-05-03 04:13:00 -04:00
Jonathan Watt
36dd834e0d Bug 1022031 - Rework gfxPlatform::GetSourceSurfaceForSurface so that it doesn't need to use a Thebes backed gfxContext (Moz2D conversion). r=mattwoodrow 2014-06-17 10:08:23 +01:00
Bas Schouten
b605651fdd Bug 992491: Add DrawTargetTiled for redirecting drawing to multiple tiles. r=mattwoodrow 2014-06-11 19:53:02 +00:00
Ehsan Akhgari
020f3fd4d8 Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Jonathan Watt
7fa77ee22d Bug 980603 - Move the implementation of SurfaceToPackedBGRA and ConvertBGRXToBGRA to a source file (un-inline them). r=gal 2014-03-07 13:24:42 +00:00
Ehsan Akhgari
667b4bc049 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
Ryan VanderMeulen
47f9e25a13 Merge m-c to inbound. 2014-03-03 17:23:35 -05:00
Ehsan Akhgari
4e89716e1a Bug 978776 - Stop exporting moz2d symbols from xul.dll; r=jrmuizel 2014-03-03 14:38:33 -05:00
Botond Ballo
f6d0d6ba20 Bug 958596 - Allow gfx/2d/Logging.h to be used outside of gfx/2d. r=Bas 2014-02-18 21:59:34 -05:00
Ehsan Akhgari
54e12e450a Bug 976392 - Move moz2d to libxul; r=jrmuizel 2014-02-25 15:42:23 -05:00
Ed Morley
4debeeb3cb Backed out changeset 07f3cfaa7900 (bug 958596) for build failures on Windows 2014-02-25 17:17:47 +00:00
Botond Ballo
2a2b1be83a Bug 958596 - Allow gfx/2d/Logging.h to be used outside of gfx/2d. r=Bas
--HG--
extra : rebase_source : 7c99fccae55d8116f12b52ed74e178590c2c7414
2014-02-18 21:59:34 -05:00
Jacek Caban
3bfaf86a69 Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Mike Hommey
8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Markus Stange
9e0156f03c Bug 924102 - Add a FilterNode implementation that uses Direct2D 1.1 effects. Most of this patch was written by Bas. r=mstange, r=Bas 2013-11-27 12:25:16 +01:00
Markus Stange
7db701d658 Bug 924102 - Add a software FilterNode implementation. r=Bas 2013-11-27 12:22:46 +01:00
Markus Stange
24d033e113 Bug 924102 - Add filter processing code for many SVG filters. r=Bas 2013-11-27 12:22:27 +01:00
Markus Stange
b5eb1563f1 Bug 924102 - Add filter API to Moz2D. r=Bas, r=mattwoodrow 2013-11-27 12:22:07 +01:00
Markus Stange
17bb2336a1 Bug 943614 - Make sure that DataSourceSurface::GetDataSurface always returns a surface that has GetType() == SURFACE_DATA. r=Bas 2013-11-27 12:21:21 +01:00
Benoit Girard
fbc92cc0f4 Bug 939950 - Build gfx/2d in unified mode. r=bjacob,ehsan,bas
--HG--
extra : rebase_source : 4776cc15a2de124149624b8297ae0c4953621eae
2013-11-18 16:45:14 -05:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
61b0bdbe18 Bug 939622 - Remove LIBXUL_LIBRARY for intermediate libs that end up in gkmedias. r=gps
What LIBXUL_LIBRARY does is:
  - Imply FORCE_STATIC_LIB
  - Build with -DIMPL_LIBXUL
  - Build with -DMOZILLA_INTERNAL_API

Those intermediate libs that end up in gkmedias and have LIBXUL_LIBRARY defined
in their moz.build are all third party code (or handled like third party code).
Besides FORCE_STATIC_LIB, none of the side effects of LIBXUL_LIBRARY should be
needed.
2013-11-19 11:47:49 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Bas Schouten
d81f6048b3 Bug 939049 - Part 2: Add generic ComputeLength code for backends with no such functionality. r=jrmuizel 2013-11-11 12:42:07 +13:00
David Anderson
817b62f1ce Support 3D transforms in the basic compositor (bug 935265, r=mattwoodrow). 2013-11-11 15:53:29 -08:00
Jeff Muizelaar
e78ed5364f Bug 929471. Make DrawTargetCG independent from QuartzSupport.mm. r=bgirard 2013-11-07 22:53:54 -05:00
Andreas Gal
ca09e32f67 Bug 933030 - Eliminate thebes use from CanvasRenderingContext2D.cpp r=mattwoodrow 2013-11-03 08:28:30 -08:00
Jonathan Watt
9f49af5ab7 Bug 931915, part 1 - Add an AppendRoundedRectToPath helper to Moz2D. r=Bas 2013-11-01 13:29:44 +00:00
Ed Morley
9f18bd8517 Backed out changeset d9aa2d2a9939 (bug 931915) for failures linking on Windows on a CLOSED TREE 2013-11-01 14:35:22 +00:00
Jonathan Watt
4cc46faf92 Bug 931915, part 1 - Add an AppendRoundedRectToPath helper to Moz2D. r=Bas
--HG--
extra : rebase_source : 67835ef53a446f37919d34021fcb80aa38dd7da8
2013-11-01 13:29:44 +00:00
Daniel Holbert
5e8b8c0786 Bug 839269: Mark gfx/2d as FAIL_ON_WARNINGS. r=jmuizelaar 2013-10-31 19:39:03 -07:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
9c9d71fddb Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ms2ger
f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Anthony Jones
e8c48e7df8 Bug 918138 - Move Borrowed*Context to a separate header file; r=mattwoodrow 2013-09-23 15:28:16 +12:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Ms2ger
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
1c4d224f0e Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Bas Schouten
a3c970c2dd Bug 883004 - Part 3: Add Direct2D 1.1 backend to Moz2D. r=jrmuizel 2013-07-17 14:12:22 +02:00
Bas Schouten
bdd816c314 Bug 883004 - Part 2: Move Direct2D 1.1 detection to configure.in r=glandium 2013-07-17 14:12:05 +02:00
Benoit Jacob
a568ac2b45 Bug 882561 - Add a GenericRefCounted base class to moz2d, will allow moz2d to hold strong references to external objects without adding a dependency r=jwalden 2013-06-16 22:05:14 -04:00
George Wright
1c299f739f Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2013-06-05 13:48:59 -04:00
Joey Armstrong
03706f341a bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal 2013-07-01 12:32:40 -04:00
Justin Wood
0648210a74 Bug 885855 - [Build bustage] gfx\2d\RadialGradientEffectD2D1.h(9) : fatal error C1083: Cannot open include file: 'd2d1_1.h': No such file or directory. r=gps, f=InvisibleSmiley, f=Bas
--HG--
extra : rebase_source : aea4bba00ffa4701315ff563f31be6425a439a23
2013-06-24 13:29:09 -04:00
Bas Schouten
820b5a0f1c Bug 883004 - Part 1: Add radial gradient effect code. r=jrmuizel 2013-06-21 05:53:23 +02:00
Kartikaya Gupta
fbe003e9c9 Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe 2013-06-14 16:11:31 -04:00
Martin Stransky
b3b0827162 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Kartikaya Gupta
d44a465803 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
5169c0a913 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
Mark Banner
26ea3b3736 Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 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
334c0800cf 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
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
6145f28e00 Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00