Commit Graph

234 Commits

Author SHA1 Message Date
George Wright
b65df7532d Bug 910754 - Update Skia to r13424 r=upstream 2013-12-10 13:57:22 -05:00
George Wright
ac433d5d59 Bug 921670 - Forward port the old Android fonthost to current Skia r=snorp 2014-01-15 22:29:46 -05:00
Mike Shal
5a313588a2 Bug 875013 - Remove VPATH in gfx/; r=joey 2014-01-07 17:50:44 -05:00
Jacek Caban
9dcf4d0cbd Bug 848491 - Fixed cross compilation with mingw. 2013-12-04 13:25:41 +01:00
Ehsan Akhgari
5ee5d30ac3 Bug 945588 - Add include guards to SkConfig8888.h 2013-12-03 11:09:56 -05:00
Ms2ger
a88cf8354a Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +01:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 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
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
George Wright
6f59021f75 Bug 904483 - Fix out of order destruction problem when destroying GrContext r=mattwoodrow 2013-11-25 20:37:50 -05:00
Mike Hommey
a65383e1e9 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
01f121af07 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
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 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
Benoit Jacob
d110b47624 Bug 939629 - 2/2. Build Skia in unified mode - r=ehsan,gw280 2013-11-18 13:25:10 -05:00
Benoit Jacob
f9c2286cb7 Bug 939629 - 1/2. Add missing include guards to a couple of Skia headers - r=gw280 2013-11-18 13:25:01 -05:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
e3011cd1ab Bug 930380 - Make sure *SOURCES only point to existing files. r=gps 2013-10-25 07:58:17 +09:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ms2ger
7ffcd856c2 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
3fac7b83a7 Bug 912099 - Part e: Make sure CPP_SOURCES only points to existing files in gfx/skia; r=mshal 2013-10-03 09:10:01 +02:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Makoto Kato
03cfadff33 Bug 908523 - Build Skia on GTK3 widget. r=karlt,gps 2013-08-28 20:14:47 +09:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
dba42e4001 Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Mike Hommey
2fd94a83ac Bug 901208 - Fix Skia for ARM v4t. r=derf 2013-08-20 09:14:01 +09:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97 Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
James Willcox
8ae4ae4db0 Bug 896670 - Don't release SkiaGL render target after creating POT texture r=gwright 2013-08-06 22:28:47 -04:00
Peter Chang
c5597b87f2 Bug 758845 - Enable Skia on B2G, r=gw280 2013-07-25 19:46:53 +08:00
Arnaud Sourioux
78a824ee58 Bug 896049 - Define SK_OVERRIDE with a default value if it hasn't been defined previously. r=gw280 2013-07-24 09:17:15 -04:00
Matt Woodrow
1d340b53d9 Bug 884888 - Fix shadow drawing in SkiaGL r=snorp 2013-06-27 11:22:09 +12:00
James Willcox
951263c282 Bug 887318 - Fix SkiaGL readback when BGRA unavailable r=jgilbert 2013-06-27 10:20:21 -04:00
George Wright
327ad5653f Bug 895086 - Remove unused find_from_uniqueID() function from SkFontHost_linux r=mattwoodrow 2013-07-17 16:28:07 -04:00
Jacek Caban
cc68b9e7a8 Bug 887828 - GCC compilation failure in SkThread_win.cpp r=gwright 2013-07-18 10:22:43 +02:00
Landry Breuil
5989c82bfe Bug 890240 - add patch to skia/patches. r=gwright 2013-07-18 08:24:09 +02:00
Joey Armstrong
7673595348 bug 880773: Cleanup/final patch - remove DISABLED_SSRCS. r=mshal 2013-07-16 08:47:40 -04:00
George Wright
b557282401 Bug 890272 - Use SkFontHost_linux to provide SkFontHost factories on Android for use by skia-npapi r=mattwoodrow
---
 gfx/skia/Makefile.in                    |  1 +
 gfx/skia/moz.build                      |  3 +++
 gfx/skia/src/ports/SkFontHost_cairo.cpp |  8 ++++++++
 gfx/skia/src/ports/SkFontHost_linux.cpp | 12 +++++++++++-
 4 files changed, 23 insertions(+), 1 deletion(-)
2013-07-11 16:41:15 -04:00
George Wright
9b0ed10ca4 Bug 891123 - Apply upstream changeset r8599 which fixes the infinite recursion issue r=mettwoodrow 2013-07-15 15:40:30 -04:00
Daniel Holbert
3176ea60e7 Bug 890539: Annotate SK_COMPILE_ASSERT's typedef as permissibly unused, to fix GCC 4.8 build warning. r=gw280 2013-07-09 14:01:02 -07:00
Jan Beich
096d30d0c1 Bug 890240 - Use stub where pthread_setaffinity_np() isn't available. #define cpu_set_t to cpuset_t on Free/NetBSD. r=gwright, f=landry 2013-07-06 10:39:16 +02:00
George Wright
33edbbdefe Bug 848491 - Add patches to the Skia patches directory
From 35a22019f62d4e13a293e9d576b6a692b0411ac8 Mon Sep 17 00:00:00 2001
2013-07-02 22:32:00 -04:00
George Wright
fa027c4865 Bug 848491 - Re-apply bug 795538 - Ensure we use the correct colour (and alpha) for the clamp values r=mattwoodrow 2013-06-20 09:21:21 -04:00
Benoit Jacob
860e8df0b1 Bug 886518 - Purge the Skia typeface cache on shutdown in debug/valgrind builds r=jrmuizel 2013-06-28 22:48:35 -04:00
George Wright
c9fe2ffb97 Bug 848491 - Re-apply bug 817356 - Patch Skia to recognize uppercase PPC/PPC64. 2013-04-25 20:55:02 -04:00
George Wright
8741b47d18 Bug 848491 - Re-apply bug 751418 - Add our own GrUserConfig 2013-04-25 20:52:32 -04:00
George Wright
8d9ace4450 Bug 848491 - Re-apply 759683 - Handle compilers that don't support SSSE3 intrinsics 2013-04-25 20:49:45 -04:00
George Wright
3fdf71a9d0 Bug 848491 - Re-apply bug 687188 - Expand the gradient cache by 2 to store 0/1 colour stop values for clamping. 2013-04-25 20:47:06 -04:00
George Wright
7f01ffc617 Bug 848491 - Re-apply Bug 777614 - Add our SkUserConfig.h 2013-04-25 20:40:12 -04:00
George Wright
108ded7217 Bug 736276 - Add a new SkFontHost that takes a cairo_scaled_font_t r=karl 2012-08-01 16:43:15 -04:00
George Wright
48b54f3b9d Bug 848491 - Re-apply Bug 795549 - Move TileProc functions into their own file to ensure they only exist once in a library 2013-01-14 17:59:09 -05:00
George Wright
6ca71bd9c4 Bug 848491 - Update Skia to r8495 2013-04-02 16:49:07 -04:00
Joey Armstrong
1e7a67f302 bug 880773: move SSRCS to mozbuild (file batch #1). r=mshal 2013-07-01 17:09:48 -04:00
Brian O'Keefe
5f8b5163e8 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
George Wright
94923e6b15 Bug 874682 - Ensure SkThread_pthreads is built on platforms which use pthreads r=bjacob 2013-05-29 18:47:59 -04:00
Mike Shal
994cfe0b6b 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
110919af49 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
66bdaa755a 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
9e2f37362c [PATCH 1/2] Bug 736276 - Add a new SkFontHost that takes a cairo_scaled_font_t r=karl 2012-08-01 16:43:15 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Nathan Froyd
22b62c334e Bug 854893 - define SK_USE_POSIX_THREADS for Linux and Android to avoid static initializers; r=jrmuizel 2013-03-26 11:05:19 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 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
a59d40f143 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
George Wright
bbbab52ed9 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
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Jacek Caban
d708ac8932 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
Steve Singer
ab64fcd011 Bug 817356 - Patch SKIA to recognize uppercase PPC/PPC64. r=gwright 2013-03-11 20:24:52 -04:00
George Wright
57ed2de6e1 [PATCH 9/9] Bug 751418 - Add Skia patches to the Skia patch directory. r=none
From ea01f59a84548b222e4a04e5d5e8b83a844aca75 Mon Sep 17 00:00:00 2001
---
 ...18-Add-our-own-GrUserConfig-r-mattwoodrow.patch | 29 ++++++++++++++++++++++
 ...Fix-compile-error-on-gcc-in-Skia-GL-r-mat.patch | 26 +++++++++++++++++++
 gfx/skia/patches/README                            |  2 ++
 3 files changed, 57 insertions(+)
 create mode 100644 gfx/skia/patches/0012-Bug-751418-Add-our-own-GrUserConfig-r-mattwoodrow.patch
 create mode 100644 gfx/skia/patches/0013-Bug-751418-Fix-compile-error-on-gcc-in-Skia-GL-r-mat.patch
2013-03-06 02:06:29 -05:00
George Wright
9a7d9e3192 [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
George Wright
cf0f3e63ff [PATCH 3/9] Bug 751418 - Fix compile error on gcc in Skia/GL r=mattwoodrow
From 3d786b1f0c040205ad9ef6d4216ce06b41f7359f Mon Sep 17 00:00:00 2001
---
 gfx/skia/src/gpu/gl/GrGLProgram.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2012-11-05 15:49:42 +00:00
George Wright
4610f7b916 [PATCH 2/9] Bug 751418 - Add our own GrUserConfig r=mattwoodrow
From 4c25387e6e6cdb55f19e51631a78c3fa9b4a3c73 Mon Sep 17 00:00:00 2001
---
 gfx/skia/include/gpu/GrUserConfig.h | 6 ++++++
 1 file changed, 6 insertions(+)
2012-11-01 17:29:50 -04:00
George Wright
904bd8027d [PATCH 1/9] Bug 751418 - Build Skia with GPU support r=mattwoodrow
From 09b1695eff40e68232849668a33ceeafc8ebd606 Mon Sep 17 00:00:00 2001
---
 gfx/skia/Makefile.in                   | 133 +++++++++++++++++++++++++++++++++
 gfx/skia/include/config/SkUserConfig.h |   2 +-
 2 files changed, 134 insertions(+), 1 deletion(-)
2012-10-16 16:21:54 -04:00
Gregory Szorc
21460a71f3 Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Daniel Holbert
1eae6b4255 Bug 839347: Move SkNO_RETURN_HINT out of anonymous namespace so that clang won't warn about it being unused. r=mattwoodrow 2013-02-17 23:46:05 -08:00
Rik Cabanier
bfce7b535d Bug 836892 - Add new blending modes to SkXfermode. r=gw280 2013-02-08 10:54:59 +13:00
Makoto Kato
e4fd62d2ce Bug 838504 - Turn on SSSE3 opt on Skia for Windows. r=gw280 2013-02-07 17:13:03 +09:00
Nicholas Nethercote
1d5169b3d1 Bug 394311 - Stop building with -pedantic. r=ted,dbaron.
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
rename : docshell/test/browser/browser_bug234628-9.js => docshell/test/browser/browser_bug134911.js
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
extra : rebase_source : 012df725d55b031ccc03d9bfcf785056d95a2ebe
2013-01-20 14:12:42 -08:00
Steve Fink
57a2c2471b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
380ecf9335 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
01f8a5b4d8 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Jeff Muizelaar
ff213a8bda Bug 830792. Build SkAnnotation.cpp. r=gw280
To link SkPaint.o with rtti we need to build SkAnnotation.o

--HG--
extra : rebase_source : f097dd54c13307a19b58588b51834bd162d1fa9b
2013-01-15 11:44:36 -05:00
Steve Singer
d4a2df7f43 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
Jacek Caban
0bcd156c4a Bug 803063 - Skia cross compilation for Windows fails on case sensitive OS r=gwright
--HG--
extra : rebase_source : 89da358d123edefc2093e5d66f4ab6d326e9ff21
2012-10-31 09:34:07 +01:00
Bill McCloskey
760cd44124 Bug 714050 - Add support for optional JS helper threads (r=luke) 2012-10-16 11:57:09 -07:00
George Wright
716ce43876 Bug 795549 - Move TileProc functions into their own file to ensure they only exist once in a library r=mattwoodrow 2012-09-29 09:58:46 -04:00
George Wright
4c7a7edf63 Bug 795538 - Ensure we use the correct colour (and alpha) for the clamp values r=mattwoodrow 2012-09-28 23:12:19 -04:00
George Wright
29c1fe2fc6 Bug 777614 - Update patches directory for patches applied against upstream Skia 2012-09-18 15:41:38 -04:00
George Wright
221d22df52 Bug 777614 - Re-apply 759683 - Handle compilers that don't support SSSE3 intrinsics r=nrc 2012-09-18 15:41:38 -04:00
George Wright
e78a7d7cfb Bug 777614 - Re-apply bug 687188 - Expand the gradient cache by 2 to store 0/1 colour stop values for clamping. r=nrc 2012-09-18 15:41:37 -04:00
George Wright
1f5e6f9aba Bug 777614 - Re-apply bug 719872 - Fix crash on Android by reverting to older FontHost r=nrc 2012-09-18 15:41:37 -04:00
George Wright
4fd0e54d2d Bug 777614 - Explicitly convert ints to SkScalars using SkIntToScalar, to avoid a compiler error (reviewed upstream) 2012-09-18 15:41:36 -04:00
George Wright
6c85057496 Bug 777614 - Re-add our SkUserConfig.h r=nrc 2012-09-18 15:41:36 -04:00
George Wright
b6a50f2036 Bug 777614 - Update Skia to r5539. 2012-09-18 15:41:36 -04:00
Landry Breuil
1bc80d0294 Bug 786995: Ensure the whole toolchain supports -mssse3, not only the compiler. r=ted 2012-09-04 22:19:50 +02:00
George Wright
66a49ed9e6 Bug 740194 - Add missing .patch file to gfx/skia/patches which was left out of the commit for bug 740194 by accident. r=none 2012-08-22 22:09:53 -04:00
George Wright
4a11ba2c89 Bug 740194 - [Skia] Implement a version of SkMemory for Mozilla that uses the infallible mozalloc allocators r=cjones 2012-08-15 23:51:34 -04:00
George Wright
77abf24bff Backed out changeset c2475674e105 2012-08-15 17:26:45 -04:00
George Wright
d6f608d0d1 Bug 740194 - [Skia] Implement a version of SkMemory for Mozilla that uses the infallible mozalloc allocators r=cjones
--HG--
extra : rebase_source : 6dc39ae06b4cb38cd8e85e41c01077f815b8f8c8
2012-08-15 16:59:07 -04:00