diff options
author | 2014-08-07 07:49:53 -0700 | |
---|---|---|
committer | 2014-08-07 07:49:53 -0700 | |
commit | 963137b75c0a1fe91f35e9826742f36309f5e65d (patch) | |
tree | ff5a20f44233835c8faecc42b7c77de014aab433 /src/core/SkRecorder.cpp | |
parent | 2dd85a3eb280f5ecc2c35be57da779ed7bddaad3 (diff) |
Stopped skipping tests in dm of SkPatch by implementing the
corresponding drawPath calls on classes that derive from SkCanvas.
BUG=skia:
R=egdaniel@google.com, bsalomon@google.com, mtklein@google.com, robertphillips@google.com
Author: dandov@google.com
Review URL: https://codereview.chromium.org/429343004
Diffstat (limited to 'src/core/SkRecorder.cpp')
-rw-r--r-- | src/core/SkRecorder.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp index 4c02a35c9f..255eb393b3 100644 --- a/src/core/SkRecorder.cpp +++ b/src/core/SkRecorder.cpp @@ -206,6 +206,10 @@ void SkRecorder::drawVertices(VertexMode vmode, indexCount); } +void SkRecorder::drawPatch(const SkPatch& patch, const SkPaint& paint) { + APPEND(DrawPatch, delay_copy(paint), delay_copy(patch)); +} + void SkRecorder::willSave() { APPEND(Save); INHERITED(willSave); |