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

Issue 1420053010: Make BRD take advantage of zero initialized memory (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@zero-init
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Make BRD take advantage of zero initialized memory This is the third step in a three part change: (1) Skia: Add SkBRDAllocator. (2) Android: Make JavaPixelAllocator and RecyclingClippingPixelAllocator implement SkBRDAllocator. (3) Skia: Change SkBitmapRegionDecoder to use SkBRDAllocator and take advantage of zero allocated memory when possible. BUG=skia: Committed: https://skia.googlesource.com/skia/+/cb8d719d7a991ceb93ccc7dd1542bb0cd82437d6

Patch Set 1 #

Patch Set 2 : Rebase on new folder #

Total comments: 2

Patch Set 3 : Reduce scope of local variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -13 lines) Patch
M tools/android/SkBitmapRegionCanvas.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/android/SkBitmapRegionCanvas.cpp View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M tools/android/SkBitmapRegionCodec.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/android/SkBitmapRegionCodec.cpp View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M tools/android/SkBitmapRegionDecoder.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 7 (2 generated)
scroggo
Other than a variable with larger scope than it needs, lgtm https://codereview.chromium.org/1420053010/diff/20001/tools/codec/SkBitmapRegionCanvas.cpp File tools/codec/SkBitmapRegionCanvas.cpp (right): ...
5 years, 1 month ago (2015-11-10 22:31:14 UTC) #2
msarett
I'm impressed. I think you reviewed this before I published it :). https://codereview.chromium.org/1420053010/diff/20001/tools/codec/SkBitmapRegionCanvas.cpp File tools/codec/SkBitmapRegionCanvas.cpp ...
5 years, 1 month ago (2015-11-10 22:50:00 UTC) #3
scroggo
On 2015/11/10 22:50:00, msarett wrote: > I'm impressed. I think you reviewed this before I ...
5 years, 1 month ago (2015-11-10 22:56:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420053010/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420053010/40001
5 years, 1 month ago (2015-11-11 21:20:02 UTC) #6
commit-bot: I haz the power
5 years, 1 month ago (2015-11-11 21:30:55 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/cb8d719d7a991ceb93ccc7dd1542bb0cd82437d6

Powered by Google App Engine
This is Rietveld 408576698