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

Issue 1422023006: SkBitmapRegionCodec needs to use the rowBytes on the pixel ref (Closed)

Created:
5 years, 1 month ago by msarett
Modified:
5 years, 1 month ago
Reviewers:
scroggo
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkBitmapRegionCodec needs to use the rowBytes on the pixel ref BUG=skia:4538 Committed: https://skia.googlesource.com/skia/+/fcff08c8301b1ca08eee20911d0df5fb9db41156

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Be robust and correct the rowBytes on the bitmap #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M tools/SkBitmapRegionCodec.cpp View 1 3 chunks +10 lines, -2 lines 4 comments Download

Depends on Patchset:

Messages

Total messages: 11 (4 generated)
msarett
Forgot to send this. Should make the change in Android make more sense.
5 years, 1 month ago (2015-11-05 20:02:30 UTC) #3
scroggo
> SkBitmapRegionCodec needs to use the rowBytes on the pixel > ref > > BUG=skia: ...
5 years, 1 month ago (2015-11-05 20:20:48 UTC) #4
msarett
https://codereview.chromium.org/1422023006/diff/20001/tools/SkBitmapRegionCodec.cpp File tools/SkBitmapRegionCodec.cpp (right): https://codereview.chromium.org/1422023006/diff/20001/tools/SkBitmapRegionCodec.cpp#newcode98 tools/SkBitmapRegionCodec.cpp:98: if (!bitmap->tryAllocPixels(allocator, colorTable.get())) { On 2015/11/05 20:20:47, scroggo wrote: ...
5 years, 1 month ago (2015-11-05 22:34:59 UTC) #6
scroggo
lgtm https://codereview.chromium.org/1422023006/diff/40001/tools/SkBitmapRegionCodec.cpp File tools/SkBitmapRegionCodec.cpp (right): https://codereview.chromium.org/1422023006/diff/40001/tools/SkBitmapRegionCodec.cpp#newcode127 tools/SkBitmapRegionCodec.cpp:127: SkPixelRef* pr = SkRef(bitmap->pixelRef()); I just want to ...
5 years, 1 month ago (2015-11-05 22:45:56 UTC) #7
msarett
https://codereview.chromium.org/1422023006/diff/40001/tools/SkBitmapRegionCodec.cpp File tools/SkBitmapRegionCodec.cpp (right): https://codereview.chromium.org/1422023006/diff/40001/tools/SkBitmapRegionCodec.cpp#newcode130 tools/SkBitmapRegionCodec.cpp:130: bitmap->setPixelRef(pr)->unref(); On 2015/11/05 22:45:56, scroggo wrote: > setPixelRef increments ...
5 years, 1 month ago (2015-11-05 22:49:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422023006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422023006/40001
5 years, 1 month ago (2015-11-05 22:49:18 UTC) #10
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 23:01:01 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://skia.googlesource.com/skia/+/fcff08c8301b1ca08eee20911d0df5fb9db41156

Powered by Google App Engine
This is Rietveld 408576698