diff options
author | scroggo <scroggo@google.com> | 2015-02-13 11:13:34 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-13 11:13:34 -0800 |
commit | 0864908ca50049d3d907fc5c3749bc8a436b4738 (patch) | |
tree | a04d0629768ac04cbb13ba235e970fe46e8460c5 /gyp | |
parent | 9bafc30c7900375d316d47e24412ddfd8bd0b1f2 (diff) |
Make SkImageGenerator::getPixels() return an enum.
The new enum describes the nature of the failure. This is in
preparation for writing a replacement for SkImageDecoder, which will
use this interface.
Update the comments for getPixels() to specify what it means to pass
an SkImageInfo with a different size.
Make SkImageGenerator Noncopyable.
Leave onGetYUV8Planes alone, since we have separate discussions
regarding modifying that API.
Make callers of SkImageDecoder consistently handle kPartialSuccess.
Previously, some callers considered it a failure, and others considered
it a success.
BUG=skia:3257
Review URL: https://codereview.chromium.org/919693002
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/skia_for_chromium_defines.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/skia_for_chromium_defines.gypi b/gyp/skia_for_chromium_defines.gypi index bcc6096a1d..bcb33a2796 100644 --- a/gyp/skia_for_chromium_defines.gypi +++ b/gyp/skia_for_chromium_defines.gypi @@ -14,6 +14,7 @@ # 'skia_for_chromium_defines': [ 'SK_LEGACY_DRAWPICTURECALLBACK', + 'SK_SUPPORT_LEGACY_IMAGE_GENERATOR_RETURN', ], }, } |