Commit Graph

234 Commits

Author SHA1 Message Date
George Wright
afb5f9a0ee Bug 910754 - Update Skia to r13424 r=upstream 2013-12-10 13:57:22 -05:00
George Wright
a1d758b677 Bug 921670 - Forward port the old Android fonthost to current Skia r=snorp 2014-01-15 22:29:46 -05:00
Mike Shal
f463dc9014 Bug 875013 - Remove VPATH in gfx/; r=joey 2014-01-07 17:50:44 -05:00
Jacek Caban
b47de94395 Bug 848491 - Fixed cross compilation with mingw. 2013-12-04 13:25:41 +01:00
Ehsan Akhgari
d32eea2c30 Bug 945588 - Add include guards to SkConfig8888.h 2013-12-03 11:09:56 -05:00
Ms2ger
b2a48b6753 Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +01:00
Mike Hommey
fdd3247a81 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62 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
b038245b8d Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
George Wright
a687dc4490 Bug 904483 - Fix out of order destruction problem when destroying GrContext r=mattwoodrow 2013-11-25 20:37:50 -05:00
Mike Hommey
931cb49886 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
9ec00225de 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
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b 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
f347dec994 Bug 939629 - 2/2. Build Skia in unified mode - r=ehsan,gw280 2013-11-18 13:25:10 -05:00
Benoit Jacob
25091f66ea 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
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
df8861ae74 Bug 930380 - Make sure *SOURCES only point to existing files. r=gps 2013-10-25 07:58:17 +09:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Ms2ger
df62fb8b0f Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
730c88af97 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
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Makoto Kato
eb9c8af10f Bug 908523 - Build Skia on GTK3 widget. r=karlt,gps 2013-08-28 20:14:47 +09:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Mike Hommey
32e7b2318d Bug 901208 - Fix Skia for ARM v4t. r=derf 2013-08-20 09:14:01 +09:00
Nicholas Nethercote
849635b8f1 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
aa5919539d 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
aa3f30d754 Bug 896670 - Don't release SkiaGL render target after creating POT texture r=gwright 2013-08-06 22:28:47 -04:00
Peter Chang
62cc49610d Bug 758845 - Enable Skia on B2G, r=gw280 2013-07-25 19:46:53 +08:00
Arnaud Sourioux
e48cfc9f45 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
603394d667 Bug 884888 - Fix shadow drawing in SkiaGL r=snorp 2013-06-27 11:22:09 +12:00
James Willcox
f336c23ebd Bug 887318 - Fix SkiaGL readback when BGRA unavailable r=jgilbert 2013-06-27 10:20:21 -04:00
George Wright
24ba6a5f22 Bug 895086 - Remove unused find_from_uniqueID() function from SkFontHost_linux r=mattwoodrow 2013-07-17 16:28:07 -04:00
Jacek Caban
48bc7d4237 Bug 887828 - GCC compilation failure in SkThread_win.cpp r=gwright 2013-07-18 10:22:43 +02:00
Landry Breuil
c9b0457f48 Bug 890240 - add patch to skia/patches. r=gwright 2013-07-18 08:24:09 +02:00
Joey Armstrong
abf0127265 bug 880773: Cleanup/final patch - remove DISABLED_SSRCS. r=mshal 2013-07-16 08:47:40 -04:00
George Wright
90e5017497 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
f595f71bc5 Bug 891123 - Apply upstream changeset r8599 which fixes the infinite recursion issue r=mettwoodrow 2013-07-15 15:40:30 -04:00
Daniel Holbert
83cda2de4b 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
968474c8a1 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
2a79f0a78e 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
f6752bcd00 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
70a86a8ebb 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
d439609bcf Bug 848491 - Re-apply bug 817356 - Patch Skia to recognize uppercase PPC/PPC64. 2013-04-25 20:55:02 -04:00
George Wright
6b98133c5d Bug 848491 - Re-apply bug 751418 - Add our own GrUserConfig 2013-04-25 20:52:32 -04:00
George Wright
21db75cea7 Bug 848491 - Re-apply 759683 - Handle compilers that don't support SSSE3 intrinsics 2013-04-25 20:49:45 -04:00
George Wright
5a0d202061 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
3cce1be995 Bug 848491 - Re-apply Bug 777614 - Add our SkUserConfig.h 2013-04-25 20:40:12 -04:00
George Wright
a534bc936b 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
4f7a680fd4 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
f577f87635 Bug 848491 - Update Skia to r8495 2013-04-02 16:49:07 -04:00
Joey Armstrong
60dd2e7c43 bug 880773: move SSRCS to mozbuild (file batch #1). r=mshal 2013-07-01 17:09:48 -04:00
Brian O'Keefe
ed17339221 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
fd75446404 Bug 874682 - Ensure SkThread_pthreads is built on platforms which use pthreads r=bjacob 2013-05-29 18:47:59 -04:00
Mike Shal
6f32ddf61c 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
47d7af59de 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
e86857072e 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
118c949041 [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
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Nathan Froyd
016a3cb741 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
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
0940cffd4b 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
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Jacek Caban
98db3116eb 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
f9a53156df Bug 817356 - Patch SKIA to recognize uppercase PPC/PPC64. r=gwright 2013-03-11 20:24:52 -04:00
George Wright
de75891ff3 [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
c8c36f8aa7 [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
af6ed30931 [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
b7e252817d [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
7a6d5dad8e [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
0f0c587cec Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Daniel Holbert
a6f9b0aab5 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
31ab432bc0 Bug 836892 - Add new blending modes to SkXfermode. r=gw280 2013-02-08 10:54:59 +13:00
Makoto Kato
830902f410 Bug 838504 - Turn on SSSE3 opt on Skia for Windows. r=gw280 2013-02-07 17:13:03 +09:00
Nicholas Nethercote
0293b60b78 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
d3f194fbfb 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
cb8aecdd2a 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
fa3e8f224b 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
42decc4061 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
fb88040c36 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
015aac00f5 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
0728920867 Bug 714050 - Add support for optional JS helper threads (r=luke) 2012-10-16 11:57:09 -07:00
George Wright
4f9736fd3c 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
bc898245f6 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
6615393e79 Bug 777614 - Update patches directory for patches applied against upstream Skia 2012-09-18 15:41:38 -04:00
George Wright
a564e75670 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
5e1dfcd254 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
825e6d4617 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
2739dc0d0d 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
e9a2b77567 Bug 777614 - Re-add our SkUserConfig.h r=nrc 2012-09-18 15:41:36 -04:00
George Wright
99fed5e949 Bug 777614 - Update Skia to r5539. 2012-09-18 15:41:36 -04:00
Landry Breuil
dbec9bd58e Bug 786995: Ensure the whole toolchain supports -mssse3, not only the compiler. r=ted 2012-09-04 22:19:50 +02:00
George Wright
81da3ecf62 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
ac8f5e5cfd 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
e801206bf4 Backed out changeset c2475674e105 2012-08-15 17:26:45 -04:00
George Wright
72cd102f87 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