DescriptionMake 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
Committed: https://skia.googlesource.com/skia/+/0864908ca50049d3d907fc5c3749bc8a436b4738
Patch Set 1 #
Total comments: 16
Patch Set 2 : Respond to comments. #Patch Set 3 : Make kSuccess come first. #Patch Set 4 : Stage the change for chromium #
Messages
Total messages: 15 (3 generated)
|