diff options
author | 2014-08-04 10:02:00 -0700 | |
---|---|---|
committer | 2014-08-04 10:02:00 -0700 | |
commit | ecfff21bde1f0ca3c36533eded325066b5f2d42d (patch) | |
tree | 72fd989d958f337a3b6c779cc3f8f34378645501 /gyp/utils.gypi | |
parent | d3d6b818c70fa809837eb0cdf2ff5a5d4c6dff53 (diff) |
SkCanvas interface for drawing a patch.
Added function SkCanvas::drawPatch to the API. This function
receives the patch to draw and the paint.
Added function SkBaseDevice::drawPatch to the API. This function also receives the patch to draw and the paint.
Currently SkGpuDevice and SkBitmapDevice generate the mesh taking into
account the scale factor and call the corresponding device's drawVertices.
BUG=skia:
R=jvanverth@google.com, egdaniel@google.com, bsalomon@google.com
Author: dandov@google.com
Review URL: https://codereview.chromium.org/424663006
Diffstat (limited to 'gyp/utils.gypi')
-rw-r--r-- | gyp/utils.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gyp/utils.gypi b/gyp/utils.gypi index c8fc3f02df..c90d19344c 100644 --- a/gyp/utils.gypi +++ b/gyp/utils.gypi @@ -78,6 +78,8 @@ '<(skia_src_path)/utils/SkParseColor.cpp', '<(skia_src_path)/utils/SkParsePath.cpp', '<(skia_src_path)/utils/SkPictureUtils.cpp', + '<(skia_src_path)/utils/SkPatchUtils.cpp', + '<(skia_src_path)/utils/SkPatchUtils.h', '<(skia_src_path)/utils/SkPathUtils.cpp', '<(skia_src_path)/utils/SkProxyCanvas.cpp', '<(skia_src_path)/utils/SkSHA1.cpp', |