diff options
author | 2014-08-12 08:34:29 -0700 | |
---|---|---|
committer | 2014-08-12 08:34:29 -0700 | |
commit | b3c9d1c33caf325aada244204215eb790c228c12 (patch) | |
tree | 067c0017914891d0aff2b6d6163f2de1c2b20c54 /gyp | |
parent | 9c7695b0b59b97da933cd11014c922344a8d7654 (diff) |
SkCanvas::drawPatch param SkPoint[12]
drawPatch now receives as parameter const SkPoint cubics[12]
Adjusted derived classes and serialization.
Ajusted GM's and benches that take into account combinations of optional
parameters, the scale of the patch and 4 different types of patches.
Planning on adding the extra functionality of SkPatch in another CL.
BUG=skia:
R=egdaniel@google.com, reed@google.com
Author: dandov@google.com
Review URL: https://codereview.chromium.org/463493002
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/bench.gypi | 1 | ||||
-rw-r--r-- | gyp/core.gypi | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/gyp/bench.gypi b/gyp/bench.gypi index c560523d20..30f0aa661c 100644 --- a/gyp/bench.gypi +++ b/gyp/bench.gypi @@ -69,6 +69,7 @@ '../bench/MergeBench.cpp', '../bench/MorphologyBench.cpp', '../bench/MutexBench.cpp', + '../bench/PatchBench.cpp', '../bench/PathBench.cpp', '../bench/PathIterBench.cpp', '../bench/PathUtilsBench.cpp', diff --git a/gyp/core.gypi b/gyp/core.gypi index a6d563532b..8a7350e240 100644 --- a/gyp/core.gypi +++ b/gyp/core.gypi @@ -120,7 +120,6 @@ '<(skia_src_path)/core/SkPaintOptionsAndroid.cpp', '<(skia_src_path)/core/SkPaintPriv.cpp', '<(skia_src_path)/core/SkPaintPriv.h', - '<(skia_src_path)/core/SkPatch.cpp', '<(skia_src_path)/core/SkPath.cpp', '<(skia_src_path)/core/SkPathEffect.cpp', '<(skia_src_path)/core/SkPathHeap.cpp', @@ -279,7 +278,6 @@ '<(skia_include_path)/core/SkOSFile.h', '<(skia_include_path)/core/SkPackBits.h', '<(skia_include_path)/core/SkPaint.h', - '<(skia_include_path)/core/SkPatch.h', '<(skia_include_path)/core/SkPath.h', '<(skia_include_path)/core/SkPathEffect.h', '<(skia_include_path)/core/SkPathMeasure.h', |