aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@chromium.org>2015-11-03 07:55:11 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-03 07:55:12 -0800
commit501b7344f116ccc821d437d324aa7883d7ce97bf (patch)
tree6be104babfba2a62fc82d4645bc85bf9a7d948fb /src/image
parentf7de08a52b5287cb16b2e89a8e3691676a4dbe5f (diff)
Combine native sampling with sampling
In SkSampledCodec, allow the native codec to do its scaling first, then sample on top of that. Since the only codec which can do native scaling is JPEG, and we know what it can do, hard-code for JPEG. Check to see if the sampleSize is something JPEG supports, or a multiple of something it supports. If so, use JPEG directly or combine them. BUG=skia:4320 Review URL: https://codereview.chromium.org/1417583009
Diffstat (limited to 'src/image')
0 files changed, 0 insertions, 0 deletions