Commit Graph

289 Commits

Author SHA1 Message Date
Lee Salzman
c4abbadc17 Bug 1210493 - enlarge stroke bounds by line width when doing a quick-reject in SkDraw::drawRect. r=jmuizelaar 2015-10-01 14:24:43 -04:00
David Major
f2cfb0dde6 Bug 1149318 - Fix the calling convention on SkGetUserDefaultLocaleNameProc. r=eihrul
I believe this issue was introduced when 8124bf072c was incorrectly pulled in as https://hg.mozilla.org/mozilla-central/rev/3a3820a17f0b, so this needs to be fixed only in the Mozilla repo.
2015-09-30 14:50:28 -04:00
Lee Salzman
5b86beef4f Bug 1004489 - propagate Cairo font AA settings to Skia font. r=gw280 2015-09-02 14:12:32 -04:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Nathan Froyd
729eead5ee Bug 1193470 - silence more warnings when building skia with clang/g++; r=glandium
- Several of skia's functions are marked as deprecated, but when
  compiling Gecko, we don't really care about Skia's internal use of
  deprecated functions.

- clang warns about unused private fields, which is a valuable warning
  for Skia developers, but not a useful warning to see during Gecko
  compilations.

- Various macros in Skia are redefined as a result of using unified
  compilation.  clang has a -Wno switch for turning this off; gcc also
  warns about it, but does not have a separate switch, so we can't do
  anything about it.
2015-08-11 23:23:26 -04:00
Nathan Froyd
481fadc1ee Bug 1192070 - avoid complaining about missing override keywords in skia; r=glandium 2015-08-07 01:34:57 -04:00
Lee Salzman
d7eac98ff6 Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel 2015-07-29 16:31:40 -04:00
Lee Salzman
cf88f83a89 Bug 1188462 - Add SKIA_INCLUDES list for adding Skia to header search path. r=jrmuizel 2015-07-30 12:05:22 -04:00
Lee Salzman
53f97f2f5a Bug 1188462 - Rename gfx/skia/trunk directory to gfx/skia/skia. r=jrmuizel 2015-07-30 11:51:29 -04:00
Ted Mielczarek
74d6542c83 bug 1171642 - Disable some skia arm assembly for iOS. r=gw280 2015-06-15 11:47:43 -04:00
Ted Mielczarek
dc2e771fd0 bug 1170988 - Fix skia to build for iOS. r=gw280 2015-02-05 15:10:28 -05:00
David Major
ed6ca74f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Markus Stange
ecdb410cfd Bug 1154347 - Don't set -fomit-frame-pointer on all of skia. r=glandium, r=gw280 2015-04-21 13:57:57 -04:00
Brian Smith
da84176b80 Bug 1119776, Part 10: Avoid defining snprintf when MSVC provides it (skia), r=gw280 2015-03-31 09:53:37 -10:00
Mike Hommey
95e047925a 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
5e7eedbb34 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
357934ffbb Bug 1137044 - Clarify README_SKIA a bit r=me DONTBUILD 2015-02-26 12:25:51 -05:00
Ehsan Akhgari
39145c283d Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel 2015-01-07 10:09:17 -05:00
Ehsan Akhgari
7a108ca438 Bug 1117026 - Cherry-pick commit a10742c of upstream skia code; r=upstream 2015-01-02 00:11:43 -05:00
Ehsan Akhgari
2eef0c8c09 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
e31b15a5d3 Bug 1094141 - Don't export skia APIs from xul.dll. r=glandium 2014-11-13 13:09:48 +01:00
Neil Rashbrook
3c332288c4 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
e77b17e75b Bug 1065032 - [Skia] Remove Moz2D requirement for SK_SUPPORT_LEGACY_GETTOPDEVICE. r=gw280 2014-09-18 13:13:53 -07:00
Ehsan Akhgari
5ab2b0c28e 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
0688dffb9f Bug 1060361 - Fix skia compilation on mingw. r=gwright 2014-09-16 12:10:05 +02:00
Ehsan Akhgari
c653ceb746 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
fbbc054e29 Bug 996108 - Enable even rounding when rasterising r=jrmuizel 2014-09-02 12:16:21 -04:00
Jeff Muizelaar
c36efa6a8c 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
63920195ff 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
b31b7b0d74 Bug 1055265 - Correct the SkColorType used for 32-bit in SkANP r=snorp 2014-08-28 15:31:01 -04:00
Walter Litwinczyk
9b66615f0b 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
2374d4767a 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
6738a7a381 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
722b633e0e Bug 1017113 - Remove unnecessary files that slipped in accidentally r=nobody DONTBUILD 2014-08-13 13:27:44 -04:00
George Wright
3967df73d8 Bug 1052813 - Add -fomit-frame-pointer to CXXFLAGS for Skia r=mattwoodrow 2014-08-12 17:14:43 -04:00
George Wright
4cd69975be [PATCH 13/15] Bug 1017113 - Ensure SkDebugf is exported from Skia r=upstream 2014-07-31 18:52:22 -04:00
George Wright
4352f7b7bf [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
7e2239fb6b [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
e435f9d111 [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
69b2e46f13 [PATCH 09/15] Bug 1017113 - Update buildsystem for new Skia r=snorp 2014-07-27 20:56:09 -04:00
George Wright
9a73c6758e [PATCH 08/15] Bug 1017113 - Update Skia to 2014-07-28 r=upstream 2014-07-28 15:06:12 -04:00
George Wright
edd15b1723 [PATCH 07/15] Bug 1017113 - Add some legacy defines to SkUserConfig.h r=mattwoodrow 2014-07-27 20:58:09 -04:00
George Wright
9138e027c8 [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
22645fd530 Bug 901208 - Fix Skia for ARM v4t. r=derf 2014-08-04 09:04:06 +09:00
Nathan Froyd
d86ff9f990 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
fee0784ad3 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
bbebb8faa5 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
858dc07f61 Bug 1004375 - Removed use of legacy skia compatible device API - r=gw280 2014-06-24 15:35:07 -07:00
George Wright
79947a63b7 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
e4dc27e2dd Bug 1028996 - Remove patches directory in Skia and clarify commit procedure r=snorp 2014-06-23 13:28:12 -04:00