Commit Graph

325 Commits

Author SHA1 Message Date
Mike Hommey
c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Mike Hommey
2e068527f5 Bug 1136958 - Remove duplicate SkDiscardableMemory_none.cpp from gfx/skia/moz.build. r=gps
And to do so, cleanup gfx/skia/generate_mozbuild.py a little.
2015-03-04 14:39:28 +09:00
George Wright
8a82517f1d Bug 1137044 - Clarify README_SKIA a bit r=me DONTBUILD 2015-02-26 12:25:51 -05:00
Ehsan Akhgari
ffb386847f Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel 2015-01-07 10:09:17 -05:00
Ehsan Akhgari
defb49db61 Bug 1117026 - Cherry-pick commit a10742c of upstream skia code; r=upstream 2015-01-02 00:11:43 -05:00
Ehsan Akhgari
bf29f7e06b Bug 1111786 - Cherry-pick the skia 6f90475632b0ff8e9e83916ee6373d3c26cc9284 commit; r=upstream
Rewrite NaN checks in terms of SkScalarIsNaN()


We are trying to replace Skia's NaN checker with our own in Mozilla,
so it would be nice to have to patch a single place by making sure
these NaN checks used SkScalarIsNaN().
2014-12-15 16:17:59 -05:00
Jacek Caban
c9ee1b658a Bug 1094141 - Don't export skia APIs from xul.dll. r=glandium 2014-11-13 13:09:48 +01:00
Neil Rashbrook
1a05d7aaf8 Bug 1053652 - Cannot open include file: 'dwrite_1.h'. r=gw280
Imports/Transplants upstream https://codereview.chromium.org/552383002/
2014-10-03 01:54:23 -04:00
Walter Litwinczyk
d9523fe883 Bug 1065032 - [Skia] Remove Moz2D requirement for SK_SUPPORT_LEGACY_GETTOPDEVICE. r=gw280 2014-09-18 13:13:53 -07:00
Ehsan Akhgari
45dbaf0a8c Bug 1068201 - Build SkBlurImage_opts_SSE4.cpp with SSE4.1 support on clang-cl; r=jrmuizel 2014-09-16 15:36:34 -04:00
Jacek Caban
02010ca1c4 Bug 1060361 - Fix skia compilation on mingw. r=gwright 2014-09-16 12:10:05 +02:00
Ehsan Akhgari
e558587ded Bug 1067404 - Do not expect a copysign function to be defined in <cmath> with clang-cl; r=upstream
clang-cl defines __cplusplus to 201103L, but it uses the runtime library
provided by MSVC, so the copysign function will not be available there.

Review URL: https://codereview.chromium.org/526813002
2014-09-15 11:03:14 -04:00
George Wright
604adc0061 Bug 996108 - Enable even rounding when rasterising r=jrmuizel 2014-09-02 12:16:21 -04:00
Jeff Muizelaar
fb0f3526ce Bug 996108 - Use even rounding for better results when converting from scalar to fdot6 r=upstream 2014-09-02 12:15:27 -04:00
Ehsan Akhgari
1e46b74a3b Bug 1061269 - Do not try to build the SkBlitRow assembly implementation with clang-cl; r=snorp
clang-cl builds use ml.exe which is the MASM assembler, same as the one
we use for MSVC builds.  In that respect, clang-cl and gcc builds are
quite different.
2014-09-02 10:23:51 -04: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
Walter Litwinczyk
07df396f5a Bug 1046921 - Remove usage of legacy Skia API, SK_SUPPORT_LEGACY_BITMAP_CONFIG. r=gw280 2014-08-15 10:02:46 -07:00
Nathan Froyd
a088ec81d5 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
George Wright
a33666666f Bug 1053492 - [Skia] Use heap allocation for buffers that will end up with the 3D API r=mattwoodrow,upstream 2014-08-13 23:14:31 -04:00
George Wright
3d0e98c859 Bug 1017113 - Remove unnecessary files that slipped in accidentally r=nobody DONTBUILD 2014-08-13 13:27:44 -04:00
George Wright
14dc52ff49 Bug 1052813 - Add -fomit-frame-pointer to CXXFLAGS for Skia r=mattwoodrow 2014-08-12 17:14:43 -04:00
George Wright
05d9bc512e [PATCH 13/15] Bug 1017113 - Ensure SkDebugf is exported from Skia r=upstream 2014-07-31 18:52:22 -04:00
George Wright
cde29378e6 [PATCH 12/15] Bug 1017113 - Explicitly typedef GetUserDefaultLocaleName as WINVER may not be high enough when compiling to allow visibility of the function prototype in windows.h r=upstream 2014-07-29 15:19:53 -04:00
George Wright
6700baffb9 [PATCH 11/15] Bug 1017113 - Re-apply bug 985217 - Stub out CreateTypeface* for Mac r=snorp 2014-03-17 13:17:49 -04:00
George Wright
2eb8ee275e [PATCH 10/15] Bug 1017113 - Include SkPreConfig.h to ensure that SK_BUILD_FOR_MAC is defined as necessary r=mattwoodrow 2014-07-28 20:53:00 -04:00
George Wright
47fe8e294b [PATCH 09/15] Bug 1017113 - Update buildsystem for new Skia r=snorp 2014-07-27 20:56:09 -04:00
George Wright
02299210d9 [PATCH 08/15] Bug 1017113 - Update Skia to 2014-07-28 r=upstream 2014-07-28 15:06:12 -04:00
George Wright
5f89083d4c [PATCH 07/15] Bug 1017113 - Add some legacy defines to SkUserConfig.h r=mattwoodrow 2014-07-27 20:58:09 -04:00
George Wright
bd20cd4758 [PATCH 06/15] Bug 1017113 - Update SkFontHost_android_old.cpp and SkFontHost_cairo.cpp to cater for Skia API changes r=mattwoodrow 2014-07-27 20:57:19 -04:00
Mike Hommey
4d34febc3f Bug 901208 - Fix Skia for ARM v4t. r=derf 2014-08-04 09:04:06 +09: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
Ehsan Akhgari
f2af4be62d Bug 1039459 - Pass -mssse3 to clang-cl when building SkBitmapProcState_opts_SSSE3.cpp; r=jrmuizel 2014-07-16 13:21:56 -04:00
Ehsan Akhgari
585e678034 Bug 1036542 - Cherry-pick skia commit db5f7bf0 to fix a build failure with clang-cl; r=snorp 2014-07-09 15:29:46 -04:00
Walter Litwinczyk
62a5a3ddf4 Bug 1004375 - Removed use of legacy skia compatible device API - r=gw280 2014-06-24 15:35:07 -07:00
George Wright
0cb446b854 Bug 974900 - Add unified sources support to the mozbuild gyp generator for Skia, and regenerate the Skia build files with unified sources r=snorp 2014-03-12 01:06:29 -04:00
George Wright
996becc0c4 Bug 1028996 - Remove patches directory in Skia and clarify commit procedure r=snorp 2014-06-23 13:28:12 -04:00
Walter Litwinczyk
96d1e15fd8 Bug 1004374 - Removed Moz2D usage of deprecated skia api: SK_SUPPORT_LEGACY_LAYERRASTERIZER_API. r=gw280 2014-06-20 11:47:27 -07:00
Walter Litwinczyk
8da3a57ada Bug 1004376 - Remove reliance on legacy skia apis GETTOTALCLIP. r=gw280 2014-06-20 11:03:09 -07:00
Benoit Jacob
925fe91891 Bug 974900 - re-unify the Skia build - r=ehsan 2014-06-06 15:38:08 -04:00
Benoit Jacob
a4a1fa1bce Bug 974900 - #undef interface defined by windows headers - r=gw280 2014-06-06 15:38:06 -04:00
Benoit Jacob
6c062f5602 Bug 974900 - Add missing include guards to Skia headers - r=gw280 2014-06-06 15:38:04 -04:00
Rodrigo Rodriguez Jr.
3a5329b969 Bug 952650 (part 11) - Remove JSVAL_TO_INT. r=njn.
--HG--
extra : rebase_source : 41923458bbf8fd957c9a57685df4969f1190bd9f
2014-04-27 19:55:08 -07:00
Rodrigo Rodriguez Jr.
9a92d22f5a Bug 952650 (part 9) - Remove JSVAL_IS_INT. r=njn.
--HG--
extra : rebase_source : dc0c170914c2370c218cdbbe671d2a68628f5a87
2014-04-27 19:47:02 -07:00
Rodrigo Rodriguez Jr.
e987aa99bf Bug 952650 (part 8) - Remove JSVAL_TO_STRING. r=njn.
--HG--
extra : rebase_source : 61ab9459c00849027498904863647e65453a1a43
2014-04-27 19:45:46 -07:00
Rodrigo Rodriguez Jr.
d65b5ba4e5 Bug 952650 (part 6) - Remove JSVAL_IS_STRING. r=njn.
--HG--
extra : rebase_source : ebd55749447f9feea04a78ff7cc17ba2dd2c5cd0
2014-04-27 19:41:01 -07:00
Rodrigo Rodriguez Jr.
017da05366 Bug 952650 (part 5) - Remove JSVAL_TO_DOUBLE. r=njn.
--HG--
extra : rebase_source : b1d9ba218fd1126f486f686ec5754dfaedac8b3c
2014-04-27 19:38:31 -07:00
Rodrigo Rodriguez Jr.
350562fe28 Bug 952650 (part 4) - Remove JSVAL_IS_DOUBLE. r=njn.
--HG--
extra : rebase_source : 3c7065d9e487db70a1afed0a4143ae7b0cd23af9
2014-04-27 19:35:40 -07:00
Rodrigo Rodriguez Jr.
d4d3d322ef Bug 952650 (part 3) - Remove JSVAL_TO_BOOLEAN. r=njn.
--HG--
extra : rebase_source : fbe97c23a4893b8c4c5641f41947f3a96f7111d3
2014-04-27 19:34:12 -07:00
Jacek Caban
35a5e3ae8a Bug 986402 - Fix skia compilation on mingw. r=gwright 2014-04-10 13:22:10 +02:00
Chris Peterson
4864a23d01 Bug 991451 - Suppress clang and gcc warnings in third-party code: Skia. r=gw280
--HG--
extra : rebase_source : 0de672713a7eb5fada98d43d145e9beb8e3af61f
2014-03-31 23:27:31 -07:00
George Wright
cbf5941f0e Bug 989707 - roundOut() the bounds rect instead of round(), as round() can return a rect that's not quite large enough to cover the path r=mattwoodrow 2014-03-31 05:06:25 -04:00
Tatiana Meshkova
94ecbc5363 Bug 985814 - Skia cannot compile properly for Qt Widget backend. r=gw280 2014-03-22 05:38:40 -07:00
George Wright
158e10b759 [PATCH 5/6] Bug 985217 - Stub out CreateTypeface* for Mac r=snorp 2014-03-17 13:17:49 -04:00
George Wright
d72760e960 [PATCH 2/6] Bug 985217 - Enable three legacy APIs in the new Skia r=snorp 2014-03-20 14:06:36 -04:00
George Wright
3c5f3ef4aa [PATCH 1/6] Bug 985217 - Update Skia to r13827 r=upstream 2014-03-17 07:34:32 -04: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
George Wright
bbccda2bad Bug 716766 - Enable NEON Skia codepaths r=snorp 2014-03-07 17:27:10 -05:00
George Wright
06af8c7568 Bug 716766 - Only set USE_ANDROID_NDK_CPU_FEATURES if it's not already been explicitly set r=upstream,snorp 2014-03-07 17:01:17 -05:00
Wes Kocher
4d3021d31a Backed out 2 changesets (bug 716766) for Android crashes on a CLOSED TREE
Backed out changeset 9bd9dcf4de29 (bug 716766)
Backed out changeset 25031a8b8b77 (bug 716766)
2014-03-14 14:03:11 -07:00
George Wright
c316abeb05 Bug 716766 - Enable NEON Skia codepaths r=snorp 2014-03-07 17:27:10 -05:00
George Wright
c30cbd1de4 Bug 716766 - Only set USE_ANDROID_NDK_CPU_FEATURES if it's not already been explicitly set r=upstream,snorp 2014-03-07 17:01:17 -05:00
George Wright
bc2cf62cc6 Bug 910754 - Use SkMemory_mozalloc instead r=snorp 2014-03-13 09:50:51 -04:00
Dmitry Rozhkov
8e975e4a53 Bug 975336 - Some skia headers have got exec bit set on. r=gwright 2014-03-11 07:50:00 -07:00
George Wright
10d60c90df Bug 921670 - Trivial fixup to generate_mozbuild.py to cater for SkFontHost_android_old DONTBUILD 2014-03-07 17:11:57 -05:00
Ehsan Akhgari
4588178db3 Fix up skia's generate_mozbuild.py to make it match the moz.build file, no bug, DONTBUILD 2014-03-06 08:58:52 -05:00
Ehsan Akhgari
cc460fe766 Bug 979684 - Port the per-source flags for skia to moz.build; r=mshal 2014-03-05 16:59:42 -05:00
Ehsan Akhgari
2b37c097ed Bug 979816 - Backout bug 977701 because of a Talos regression
Landed on a CLOSED TREE
2014-03-05 15:18:09 -05:00
Ehsan Akhgari
02f08d28b2 Bug 978626 - Stop exporting the skia symbols from xul.dll; r=jrmuizel 2014-03-03 16:39:31 -05:00
Ehsan Akhgari
079e0583e9 Bug 977701 - Move skia, cairo and pixman to libxul; r=jrmuizel 2014-02-27 21:14:54 -05:00
Jan Beich
40d90dfa23 Bug 974272 - Unbreak skia/qt on tier3 as well. r=gw280 2014-02-24 09:41:55 -05:00
Oleg Romashin
04bd92326d Bug 974335 - Refactor Qt Widget Backend implementation. skia build fix. r=gw280 2014-02-18 12:45:31 -08:00
Jan Beich
e4b67ca7e0 Bug 974272 - Remove obsolete skia patch for BSDs. r=gw280 2014-02-20 09:36:10 -05:00
Jan Beich
267f88f5ab Bug 974272 - Unbreak skia on tier3 platforms by dropping unused setProcessorAffinity() implementation. r=gw280 2014-02-20 09:35:58 -05:00
George Wright
ac0b130bdf Bug 974360 - Disallow Skia's use of static global initialisers r=vlad 2014-02-19 17:26:45 -05:00
George Wright
c827aa0352 Bug 910754 - Add a header to moz.build indicating that it shouldn't be edited by mortals r=vlad DONTBUILD 2014-02-19 17:10:33 -05:00
George Wright
c9884673c2 Bug 910754 - Ensure gonk is catered for in the mozbuild generator for FontMgr woes r=vlad DONTBUILD 2014-02-19 17:10:06 -05:00
George Wright
1a29272dca Bug 910754 - Ensure B2G builds don't use SkFontMgr r=snorp 2014-02-18 17:49:26 -05:00
George Wright
d026cfa7f7 Bug 910754 - Re-apply bug 921670 - Import the old Android FontHost to provide fonts for skia-npapi r=snorp 2014-02-14 16:10:48 -05:00
George Wright
a3c8a52d97 Bug 910754 - As we never build Skia statically, disable Skia's instance counting as it requires being built as a static library. r=snorp 2014-02-13 16:55:43 -05:00
George Wright
fa820aff4e Bug 910754 - Update SkUserConfig to cater for SkMutex/SkAtomics header locations r=snorp 2014-02-13 02:07:10 -05:00
George Wright
025fab172f Bug 910754 - Update SkFontHost_cairo for the new Skia APIs r=snorp 2014-02-13 02:03:51 -05:00
George Wright
2b515c7838 Bug 910754 - [Skia] Defer deletion of our shader objects until after linking the program r=upstream(bsalomon) 2014-02-13 01:19:51 -05:00
George Wright
ae22a3d8a6 Bug 910754 - Stub out CreateTypeface*() for Mac r=snorp 2013-12-10 14:43:22 -05:00
George Wright
b29c038240 Bug 910754 - Update Skia to r13424 r=upstream 2013-12-10 13:57:22 -05:00
George Wright
309648f662 Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright
7c4ca1245a Bug 910754 - Re-apply bug 921670 - Import the old Android FontHost to provide fonts for skia-npapi r=snorp 2014-02-14 16:10:48 -05:00
George Wright
6649f8f02c Bug 910754 - As we never build Skia statically, disable Skia's instance counting as it requires being built as a static library. r=snorp 2014-02-13 16:55:43 -05:00
George Wright
8ecc822eba Bug 910754 - Update SkUserConfig to cater for SkMutex/SkAtomics header locations r=snorp 2014-02-13 02:07:10 -05:00
George Wright
0b86b128bb Bug 910754 - Update SkFontHost_cairo for the new Skia APIs r=snorp 2014-02-13 02:03:51 -05:00
George Wright
09b7601f8a Bug 910754 - [Skia] Defer deletion of our shader objects until after linking the program r=upstream(bsalomon) 2014-02-13 01:19:51 -05:00
George Wright
d2a48b765f Bug 910754 - Stub out CreateTypeface*() for Mac r=snorp 2013-12-10 14:43:22 -05:00
George Wright
ee0ae93e60 Bug 910754 - Update Skia to r13424 r=upstream 2013-12-10 13:57:22 -05:00
George Wright
2485c6f273 Bug 921670 - Forward port the old Android fonthost to current Skia r=snorp 2014-01-15 22:29:46 -05:00
Mike Shal
0247e78faf Bug 875013 - Remove VPATH in gfx/; r=joey 2014-01-07 17:50:44 -05:00
Jacek Caban
05a5241c15 Bug 848491 - Fixed cross compilation with mingw. 2013-12-04 13:25:41 +01:00
Ehsan Akhgari
67f01aceb5 Bug 945588 - Add include guards to SkConfig8888.h 2013-12-03 11:09:56 -05:00
Ms2ger
4c502efb62 Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +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