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

Issue 1351453004: use allocator (if present) when we allocate our cache bitmap (Closed)

Created:
5 years, 3 months ago by reed1
Modified:
5 years, 3 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

use allocator (if present) when we allocate our cache bitmap Remove some bogus tests on the cache, as they are not thread-reliable. Running w/ discardable these are racy. BUG=532981 Committed: https://skia.googlesource.com/skia/+/4b3d3bebda80be611ea79ec63a92d632c0375f20

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : fission out test change to separate CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -32 lines) Patch
M include/core/SkColorTable.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M include/core/SkImageGenerator.h View 3 chunks +7 lines, -6 lines 0 comments Download
M src/core/SkImageCacherator.cpp View 2 chunks +5 lines, -2 lines 0 comments Download
M src/core/SkImageGenerator.cpp View 1 1 chunk +58 lines, -24 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
reed1
5 years, 3 months ago (2015-09-17 18:49:07 UTC) #2
tomhudson
Why remove the old tests? https://codereview.chromium.org/1351453004/diff/1/src/core/SkImageGenerator.cpp File src/core/SkImageGenerator.cpp (right): https://codereview.chromium.org/1351453004/diff/1/src/core/SkImageGenerator.cpp#newcode159 src/core/SkImageGenerator.cpp:159: ctStorage, &ctCount)) { Do ...
5 years, 3 months ago (2015-09-17 18:58:07 UTC) #3
f(malita)
Nit: link to OOM bug.
5 years, 3 months ago (2015-09-17 19:42:07 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351453004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351453004/20001
5 years, 3 months ago (2015-09-17 19:55:33 UTC) #6
reed1
ptal https://codereview.chromium.org/1351453004/diff/1/src/core/SkImageGenerator.cpp File src/core/SkImageGenerator.cpp (right): https://codereview.chromium.org/1351453004/diff/1/src/core/SkImageGenerator.cpp#newcode159 src/core/SkImageGenerator.cpp:159: ctStorage, &ctCount)) { On 2015/09/17 18:58:07, tomhudson wrote: ...
5 years, 3 months ago (2015-09-17 19:57:23 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-17 20:01:55 UTC) #9
tomhudson
lgtm
5 years, 3 months ago (2015-09-17 20:16:35 UTC) #10
f(malita)
lgtm. hopefully we can clean up the colortable thing at some point.
5 years, 3 months ago (2015-09-17 20:16:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351453004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351453004/40001
5 years, 3 months ago (2015-09-17 20:29:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351453004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351453004/40001
5 years, 3 months ago (2015-09-17 20:32:31 UTC) #17
commit-bot: I haz the power
5 years, 3 months ago (2015-09-17 20:35:23 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/4b3d3bebda80be611ea79ec63a92d632c0375f20

Powered by Google App Engine
This is Rietveld 408576698