Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 2407093002: implement A8 destination fast-path for SkPixelInfo::CopyPixels (Closed)

Created:
4 years, 2 months ago by lsalzman1
Modified:
4 years, 2 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

implement A8 destination fast-path for SkPixelInfo::CopyPixels BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2407093002 Committed: https://skia.googlesource.com/skia/+/a2415accf1f184c4df6cffc2ccdd38f8d61031f6

Patch Set 1 #

Patch Set 2 : add testing of readPixels in kAlpha8_SkAlphaType in ReadPixelsTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -70 lines) Patch
M src/core/SkBitmap.cpp View 2 chunks +8 lines, -58 lines 0 comments Download
M src/core/SkConfig8888.cpp View 2 chunks +63 lines, -0 lines 0 comments Download
M tests/ReadPixelsTest.cpp View 1 8 chunks +49 lines, -12 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
lsalzman1
When trying to extract alpha values from an SkPixmap or a raster SkImage, readPixels() can ...
4 years, 2 months ago (2016-10-11 04:33:02 UTC) #3
reed1
Is there already a test that exercises this readPixels -> gets alpha ?
4 years, 2 months ago (2016-10-11 16:19:24 UTC) #4
lsalzman1
On 2016/10/11 16:19:24, reed1 wrote: > Is there already a test that exercises this readPixels ...
4 years, 2 months ago (2016-10-11 17:57:39 UTC) #5
lsalzman1
There is now a shiny new subtest for kAlpha_8_SkColorType in ReadPixelsTest. It all works. Passes ...
4 years, 2 months ago (2016-10-11 19:24:27 UTC) #6
reed1
lgtm
4 years, 2 months ago (2016-10-11 20:39:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2407093002/20001
4 years, 2 months ago (2016-10-11 21:08:57 UTC) #9
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 21:29:16 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/a2415accf1f184c4df6cffc2ccdd38f8d61031f6

Powered by Google App Engine
This is Rietveld 408576698