diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-10 20:42:53 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-10 20:42:53 +0000 |
commit | 6573ce70e609f19923cea401d4ca3ea1528a78f1 (patch) | |
tree | ebfc1b1acefb2e7e55540d947cc9007122bbd255 /gyp | |
parent | d0b890452164466ee1929c103ab85bd491a27f82 (diff) |
Create SkLayerRasterizer w/o destroying Builder.
Add a new method to SkLayerRasterizer::Builder that creates a new
SkLayerRasterizer without destroying the Builder. Necessary to
continue to support Android's API.
Also fix a bug where creating a Builder and never calling
detachRasterizer results in not calling the destructor for any SkPaints
in the Builder.
Add tests.
BUG=b/13729784
R=reed@google.com, dominikg@chromium.org
Author: scroggo@google.com
Review URL: https://codereview.chromium.org/233673002
git-svn-id: http://skia.googlecode.com/svn/trunk@14139 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/tests.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/tests.gypi b/gyp/tests.gypi index cf8e8efb8a..6fbcc03519 100644 --- a/gyp/tests.gypi +++ b/gyp/tests.gypi @@ -102,6 +102,7 @@ '../tests/JpegTest.cpp', '../tests/LListTest.cpp', '../tests/LayerDrawLooperTest.cpp', + '../tests/LayerRasterizerTest.cpp', '../tests/MD5Test.cpp', '../tests/MallocPixelRefTest.cpp', '../tests/MathTest.cpp', |