Граф коммитов

331 Коммитов

Автор SHA1 Сообщение Дата
Lee Salzman 29341ea574 Bug 1229975 - backport fix for Skia's GrConvexPolyEffect. r=mchang 2016-03-29 22:47:43 -04:00
Lee Salzman 32d3d0666e Bug 1244754 - part 1 - backport zero-length gradient interval fix from Skia upstream. r=jrmuizel 2016-03-23 14:21:01 -04:00
Jacek Caban 3f3c52a095 Bug 1246756 - Cross compilation fixup. r=upstream 2016-03-17 10:40:07 +01:00
Mike Hommey 0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Benoit Girard 52f227c58b Bug 1253678 - Rename mozilla::Function to mozilla::function. r=froydnj
MozReview-Commit-ID: 60RPmEsYDN2

--HG--
extra : rebase_source : 9d0bebc7362af2778d123425c56ac20553d9303b
2016-03-11 16:49:13 -05:00
Lee Salzman be17bb1d42 Bug 1248224 - backport of Skia GrPathUtils::QuadUVMatrix assertion fix. r=jrmuizel 2016-03-10 00:23:38 -05:00
Mason Chang ac058cacc5 Bug 1230366. Render CG font with black on white on skia. r=lsalzman 2016-03-08 08:27:25 -08:00
Ehsan Akhgari 195eeef0a1 Bug 1250196 - Part 1: Import mozilla::Forward and mozilla::UniqePtr into the std namespace in a way that is compatible with libc++; r=lsalzman 2016-02-22 15:51:59 -05:00
Lee Salzman a85ba89f0a Bug 1248228 - Build fix for SkOSFile_stdio on OpenBSD. r=jmuizelaar 2016-02-16 11:33:31 -05:00
Lee Salzman 42ed58661a Bug 1246756 - part 3 - update Skia to m49 branch. r=jrmuizel
--HG--
rename : gfx/skia/skia/include/core/SkTDict.h => gfx/skia/skia/include/private/SkTDict.h
rename : gfx/skia/skia/include/core/SkTSearch.h => gfx/skia/skia/include/private/SkTSearch.h
rename : gfx/skia/skia/include/utils/SkParsePaint.h => gfx/skia/skia/include/views/SkParsePaint.h
rename : gfx/skia/skia/include/core/SkDither.h => gfx/skia/skia/src/core/SkDither.h
rename : gfx/skia/skia/include/gpu/GrRect.h => gfx/skia/skia/src/gpu/GrRect.h
rename : gfx/skia/skia/src/gpu/GrBatchFontCache.cpp => gfx/skia/skia/src/gpu/text/GrBatchFontCache.cpp
rename : gfx/skia/skia/src/gpu/GrBatchFontCache.h => gfx/skia/skia/src/gpu/text/GrBatchFontCache.h
rename : gfx/skia/skia/src/gpu/GrFontScaler.cpp => gfx/skia/skia/src/gpu/text/GrFontScaler.cpp
rename : gfx/skia/skia/src/gpu/GrFontScaler.h => gfx/skia/skia/src/gpu/text/GrFontScaler.h
rename : gfx/skia/skia/src/gpu/GrTextBlobCache.h => gfx/skia/skia/src/gpu/text/GrTextBlobCache.h
2016-02-09 13:38:06 -05:00
Lee Salzman 3a2bac0af5 Bug 1246756 - part 2 - update Skia moz.build for m49 update. r=jrmuizel 2016-02-09 13:36:40 -05:00
Lee Salzman 0fc3e0a084 Bug 1242794 - make SkGrPixelRef::deepCopy preserve alpha type. r=jmuizelaar
--HG--
extra : rebase_source : 5406d41a892877f3cbcf4bb6386b46d16ef3eca1
2016-01-25 21:14:58 -05:00
Mike Hommey 6896ab7efa Bug 1245055 - Remove gfx/skia/Makefile.in. r=mshal
The remains in this file are related to bug 633436. But more than being
apparently obsolete, they are also not used at all, because they don't
appear after including config.mk, which resets CFLAGS and CXXFLAGS
anyways, removing whatever the Makefile set.
2016-02-03 08:41:27 +09:00
Jacek Caban 4445996c6b Bug 1244454 - Fixed skia compilation on mingw. r=lsalzman
--HG--
extra : rebase_source : ad3b2b9e361234165076e3d106adf7f740509095
2016-02-01 17:55:09 +01:00
Lee Salzman 4aff274ce6 Bug 1242751 - fix assertion in SkLinearGradient. r=jmuizelaar 2016-01-25 17:20:24 -05:00
Lee Salzman 30e1e65908 Bug 1242044 - "layout/reftests/css-gradients/linear-zero-length-1 fails under Skia content". r=jmuizelaar
--HG--
extra : rebase_source : ec250bf261aec9ffe6eb6c21ec87a2b01ae9e5a0
2016-01-22 14:11:00 +01:00
Sotaro Ikeda 25ee3640a7 Bug 1239702 - Fix SK_ARM_HAS_NEON build config r=lsalzman 2016-01-26 18:47:54 -08:00
Lee Salzman 38d08bb85b Bug 1239040 - Allow usage of SkCanvas::getTopDevice in Skia. r=jrmuizel 2016-01-12 13:05:09 -05:00
Lee Salzman c6e53f0d47 Bug 1238795 - Fix SkGpuDevice::drawBitmapRect to always update clips. r=jrmuizel 2016-01-14 15:17:55 -05:00
Lee Salzman b4185d3bf2 Bug 1230096 - fix GrAAConvexTessellator assertion. r=jrmuizel 2016-01-13 15:34:06 -05:00
Nathan Froyd b83566b4a1 Bug 1222166 - use gcc/clang warning flags for clang-cl in moz.build files; r=glandium
This patch turns off a number of gcc/clang-specific warnings for
clang-cl as well, as clang-cl understands all the warning flags that
clang understands.  We currently don't turn on all the gcc/clang
warnings for clang-cl in configure, but that can be done separately, and
this patch addresses some pain points (particularly for cairo).
2015-11-05 16:05:26 -05:00
Lee Salzman 4da9ad5af4 Bug 1233966 - build fixes for FreeBSD. r=jrmuizel 2016-01-13 13:22:21 -05:00
Lee Salzman 9f8aa524ad Bug 1233858 - work around Skia __vectorcall bugs on Win32. r=jmuizelaar 2016-01-05 15:09:19 -05:00
Lee Salzman 707edbacbc Bug 1233858 -Part 2 - implement runtime-detected SSE2 optimizations for Skia. r=jmuizelaar 2015-12-29 12:22:57 -05:00
Mason Chang 2e3ff601d6 Bug 842894 - Support DirectWrite using the Skia backend. r=bas 2016-01-06 11:35:04 -08:00
Bob Owen 7b7cad771e Bug 1156742 Part 2: Make gfx thebes/gl/2d work with UNICODE defined. r=bas, r=glandium 2016-01-05 10:08:56 +00:00
Bob Owen b78efb440f Bug 1234566: Use LoadLibraryA instead of LoadLibrary in some skia Windows code to allow UNICODE to be defined. r=lsalzman
Patch already landed upstream on skia in commit 7a897c0f796df0a1c5b4ee5930b29bfed17ad1b4.
2016-01-05 10:08:56 +00:00
Lee Salzman 08826ed976 Bug 1234494 - part 1 - don't build in Skia GPU code if support is disabled, r=jrmuizel 2015-12-30 12:17:32 -05:00
Lee Salzman 41802e0eef Bug 1234419 - remove unnecessary -fkeep-inline-functions from Skia moz.build, r=jrmuizel 2015-12-29 16:20:01 -05:00
Wes Kocher a5249b6201 Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE

--HG--
extra : amend_source : beeb6abbcc724b79ac166e828efa78dc4c5301da
2015-12-21 13:47:33 -08:00
Bob Owen 477a386eec Bug 1156742 Part 2: Make gfx thebes/gl/2d work with UNICODE defined. r=bas, r=glandium 2015-12-21 20:33:13 +00:00
Lee Salzman 0f49d90f68 Bug 1082598 - Part 7: Update moz.build for Skia update. r=jrmuizel 2015-12-18 13:53:25 -05:00
Lee Salzman 231d83f99e Bug 1082598 - Part 1: Update Skia to master revision 53c5d5fb795fe04bec050c0583223027c25b839b. r=jrmuizel 2015-12-18 13:53:25 -05:00
Wes Kocher 6ebc8a4b00 Backed out 10 changesets (bug 1082598) for 2d.path.arcTo.shape.curve1.html failures on OSX
Backed out changeset 018c2a3031f4 (bug 1082598)
Backed out changeset 8f60e42aca2e (bug 1082598)
Backed out changeset c4297c82165f (bug 1082598)
Backed out changeset c22c1bfd091a (bug 1082598)
Backed out changeset 8754fd718869 (bug 1082598)
Backed out changeset da976e4cd253 (bug 1082598)
Backed out changeset 3c8f87df8c68 (bug 1082598)
Backed out changeset 3183d30eb549 (bug 1082598)
Backed out changeset c239a7bc6cba (bug 1082598)
Backed out changeset aa3805015270 (bug 1082598)

--HG--
extra : commitid : LJSl0Bo8Hqr
2015-12-17 14:30:50 -08:00
Lee Salzman 85fdeade9f Bug 1082598 - Part 7: Update moz.build for Skia update. r=jrmuizel 2015-12-17 14:45:45 -05:00
Lee Salzman 0507edf8dc Bug 1082598 - Part 1: Update Skia to master revision 53c5d5fb795fe04bec050c0583223027c25b839b. r=jrmuizel 2015-12-17 14:45:44 -05:00
Mike Hommey 3de00b45dd Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.

The gkmedias intermediate library is however kept for webrtc signaling tests.
2015-10-21 14:47:22 +09:00
Nicholas Nethercote 5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Chris Peterson 716d1bd0e2 Bug 1215899 - Suppress clang and gcc warnings in gfx/skia. r=gw280 2015-10-16 22:24:19 -07:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Lee Salzman dd9f9b224c Bug 1214759 - backport SkDashPathEffect::asPoints fix from upstream Skia. r=jmuizelaar 2015-10-14 13:39:03 -04:00
Lee Salzman 01520325c9 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 22cc61a3c8 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.

--HG--
extra : rebase_source : 3557349e242cbe45886a1a38964f210a54b2ed80
2015-09-30 14:50:28 -04:00
Lee Salzman 01cdb40ced Bug 1004489 - propagate Cairo font AA settings to Skia font. r=gw280 2015-09-02 14:12:32 -04:00
Nicholas Nethercote f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Nathan Froyd 0b70f91001 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 a82c7ce24e Bug 1192070 - avoid complaining about missing override keywords in skia; r=glandium 2015-08-07 01:34:57 -04:00
Lee Salzman f15be30759 Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel 2015-07-29 16:31:40 -04:00
Lee Salzman cf2fe05f07 Bug 1188462 - Add SKIA_INCLUDES list for adding Skia to header search path. r=jrmuizel 2015-07-30 12:05:22 -04:00