diff options
author | 2013-11-21 15:32:08 +0000 | |
---|---|---|
committer | 2013-11-21 15:32:08 +0000 | |
commit | ad04eb49f5d3f324e6b85411c776d7466c1fef92 (patch) | |
tree | 72ec9bb693a1da847d1b3f6d1958ea2f0638e5c2 /gyp | |
parent | 8b656c6db40a99af241e38eae853f887413040cc (diff) |
Add SkImageGenerator Interface
- Add SkDiscardablePixelRef class that uses SkDiscardableMemory and
a SkImageGenerator.
- Add SkDecodingImageGenerator class as an example of a
SkImageGenerator.
- Add DecodingImageGenerator unit test.
- Add SkBasicDiscardableMemory implmentation for unit tests only.
R=reed@google.com, scroggo@google.com
Review URL: https://codereview.chromium.org/74793011
git-svn-id: http://skia.googlecode.com/svn/trunk@12341 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/core.gypi | 1 | ||||
-rw-r--r-- | gyp/images.gyp | 2 | ||||
-rw-r--r-- | gyp/tests.gyp | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/gyp/core.gypi b/gyp/core.gypi index e31b8ffbfb..54e23efb4f 100644 --- a/gyp/core.gypi +++ b/gyp/core.gypi @@ -73,6 +73,7 @@ '<(skia_src_path)/core/SkDevice.cpp', '<(skia_src_path)/core/SkDeviceLooper.cpp', '<(skia_src_path)/core/SkDeviceProfile.cpp', + '<(skia_src_path)/lazy/SkDiscardablePixelRef.cpp', '<(skia_src_path)/core/SkDither.cpp', '<(skia_src_path)/core/SkDraw.cpp', '<(skia_src_path)/core/SkDrawLooper.cpp', diff --git a/gyp/images.gyp b/gyp/images.gyp index 7ead87efbc..eed2dba51f 100644 --- a/gyp/images.gyp +++ b/gyp/images.gyp @@ -18,6 +18,7 @@ 'include_dirs': [ '../include/images', '../include/lazy', + '../src/lazy', # for access to SkErrorInternals.h '../src/core/', # for access to SkImagePriv.h @@ -36,6 +37,7 @@ '../src/images/bmpdecoderhelper.cpp', '../src/images/bmpdecoderhelper.h', + '../src/images/SkDecodingImageGenerator.cpp', '../src/images/SkForceLinking.cpp', '../src/images/SkImageDecoder.cpp', '../src/images/SkImageDecoder_FactoryDefault.cpp', diff --git a/gyp/tests.gyp b/gyp/tests.gyp index 890a146fe8..841baf7606 100644 --- a/gyp/tests.gyp +++ b/gyp/tests.gyp @@ -12,6 +12,7 @@ '../src/effects', '../src/image', '../src/lazy', + '../src/images', '../src/pathops', '../src/pdf', '../src/pipe/utils', |