Commit Graph

59 Commits

Author SHA1 Message Date
Ehsan Akhgari
69814cc06d Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel 2015-01-07 10:09:17 -05:00
Ehsan Akhgari
d380afe538 Bug 1117026 - Cherry-pick commit a10742c of upstream skia code; r=upstream 2015-01-02 00:11:43 -05:00
Ehsan Akhgari
0a182bcf36 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
Neil Rashbrook
3590c7d804 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
ec1e4bc2cd Bug 1065032 - [Skia] Remove Moz2D requirement for SK_SUPPORT_LEGACY_GETTOPDEVICE. r=gw280 2014-09-18 13:13:53 -07:00
Jacek Caban
a44e621d0b Bug 1060361 - Fix skia compilation on mingw. r=gwright 2014-09-16 12:10:05 +02:00
Ehsan Akhgari
0aff24e9af 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
c9bf1ac793 Bug 996108 - Enable even rounding when rasterising r=jrmuizel 2014-09-02 12:16:21 -04:00
Jeff Muizelaar
1e77370046 Bug 996108 - Use even rounding for better results when converting from scalar to fdot6 r=upstream 2014-09-02 12:15:27 -04:00
George Wright
76eb280fc0 Bug 1055265 - Correct the SkColorType used for 32-bit in SkANP r=snorp 2014-08-28 15:31:01 -04:00
Walter Litwinczyk
98c905b0c2 Bug 1046921 - Remove usage of legacy Skia API, SK_SUPPORT_LEGACY_BITMAP_CONFIG. r=gw280 2014-08-15 10:02:46 -07:00
George Wright
b63a5fc50c 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
ccb75fe49a Bug 1017113 - Remove unnecessary files that slipped in accidentally r=nobody DONTBUILD 2014-08-13 13:27:44 -04:00
George Wright
15c7679f2a [PATCH 13/15] Bug 1017113 - Ensure SkDebugf is exported from Skia r=upstream 2014-07-31 18:52:22 -04:00
George Wright
2bfc460227 [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
1001cb46fc [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
8572b96d2e [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
b50d70f43c [PATCH 08/15] Bug 1017113 - Update Skia to 2014-07-28 r=upstream 2014-07-28 15:06:12 -04:00
George Wright
babadb79f6 [PATCH 07/15] Bug 1017113 - Add some legacy defines to SkUserConfig.h r=mattwoodrow 2014-07-27 20:58:09 -04:00
George Wright
044a81f360 [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
0a396d54d7 Bug 901208 - Fix Skia for ARM v4t. r=derf 2014-08-04 09:04:06 +09:00
Ehsan Akhgari
277f05b506 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
f3a8550e6e Bug 1004375 - Removed use of legacy skia compatible device API - r=gw280 2014-06-24 15:35:07 -07:00
Walter Litwinczyk
5871469922 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
c8e81253ce Bug 1004376 - Remove reliance on legacy skia apis GETTOTALCLIP. r=gw280 2014-06-20 11:03:09 -07:00
Benoit Jacob
aeb02c3a89 Bug 974900 - #undef interface defined by windows headers - r=gw280 2014-06-06 15:38:06 -04:00
Benoit Jacob
a26b0ad0bd Bug 974900 - Add missing include guards to Skia headers - r=gw280 2014-06-06 15:38:04 -04:00
Rodrigo Rodriguez Jr.
bc17528767 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.
1b9dfa0db1 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.
0a5bccece7 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.
8c9ffb503e 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.
d4df43e7c2 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.
7b7c484d7f 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.
2898f2d2f9 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
29f058e601 Bug 986402 - Fix skia compilation on mingw. r=gwright 2014-04-10 13:22:10 +02:00
George Wright
d5f84e7749 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
George Wright
914f2bf9b3 [PATCH 5/6] Bug 985217 - Stub out CreateTypeface* for Mac r=snorp 2014-03-17 13:17:49 -04:00
George Wright
9e3f8f0360 [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
22af56b5fa [PATCH 1/6] Bug 985217 - Update Skia to r13827 r=upstream 2014-03-17 07:34:32 -04:00
George Wright
6fba844de1 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
e54881f1d2 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
d66cbd8601 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
Dmitry Rozhkov
b18080737d Bug 975336 - Some skia headers have got exec bit set on. r=gwright 2014-03-11 07:50:00 -07:00
George Wright
d1a758eccb Bug 974360 - Disallow Skia's use of static global initialisers r=vlad 2014-02-19 17:26:45 -05:00
George Wright
1d816563e5 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
bf453b175e 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
7411c87514 Bug 910754 - Update SkUserConfig to cater for SkMutex/SkAtomics header locations r=snorp 2014-02-13 02:07:10 -05:00
George Wright
9c6322b1f3 Bug 910754 - Update SkFontHost_cairo for the new Skia APIs r=snorp 2014-02-13 02:03:51 -05:00
George Wright
6c7411c090 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
fe0c03ef78 Bug 910754 - Stub out CreateTypeface*() for Mac r=snorp 2013-12-10 14:43:22 -05:00