summaryrefslogtreecommitdiffstats
path: root/extensions/common
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2016-03-03 14:34:54 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-03 22:36:54 +0000
commitd862c72b081de56d1d9b87a59a397d9441d19725 (patch)
tree88b0f6c16cd45d8a0671c307072551c208932712 /extensions/common
parentf4150344ccd0eb7e2a25457a819a8d15158be19d (diff)
downloadchromium_src-d862c72b081de56d1d9b87a59a397d9441d19725.zip
chromium_src-d862c72b081de56d1d9b87a59a397d9441d19725.tar.gz
chromium_src-d862c72b081de56d1d9b87a59a397d9441d19725.tar.bz2
cc: ImageDecodes: Skip allocating a temporary buffer for subrect pixels
This patch uses SkPixmap::extractSubset instead of reading pixels into a temporary buffer. Since this is all software pixels, extractSubset does some pointer math and adjusts SkDrawInfo to extract the subset basically for free. R=enne, ericrk CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1757383002 Cr-Commit-Position: refs/heads/master@{#379119}
Diffstat (limited to 'extensions/common')
0 files changed, 0 insertions, 0 deletions