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

Issue 539643002: Remove SkBitmapCache::Find/Add(_,width,height,_) in favor of using rect (Closed)

Created:
6 years, 3 months ago by Rémi Piotaix
Modified:
6 years, 3 months ago
Reviewers:
Justin Novosad, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@bitmapCache_add_rect
Project:
skia
Visibility:
Public.

Description

Remove SkBitmapCache::Find/Add(_,width,height,_) in favor of the versions having a SkIRect as input parameter BUG=skia:2909 Committed: https://skia.googlesource.com/skia/+/91cab830c81025e0af800b528bed582ea6e4d3d7

Patch Set 1 #

Total comments: 4

Patch Set 2 : Nits #

Patch Set 3 : Rebase master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -23 lines) Patch
M src/core/SkBitmapCache.h View 1 chunk +0 lines, -13 lines 0 comments Download
M src/core/SkBitmapCache.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M src/lazy/SkCachingPixelRef.cpp View 1 2 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Rémi Piotaix
PTAL
6 years, 3 months ago (2014-09-03 18:43:35 UTC) #2
reed1
looks good, with 100 column nit. https://codereview.chromium.org/539643002/diff/1/src/lazy/SkCachingPixelRef.cpp File src/lazy/SkCachingPixelRef.cpp (right): https://codereview.chromium.org/539643002/diff/1/src/lazy/SkCachingPixelRef.cpp#newcode48 src/lazy/SkCachingPixelRef.cpp:48: if (!SkBitmapCache::Find(this->getGenerationID(), SkIRect::MakeWH(info.fWidth, ...
6 years, 3 months ago (2014-09-03 18:48:06 UTC) #3
Rémi Piotaix
https://codereview.chromium.org/539643002/diff/1/src/lazy/SkCachingPixelRef.cpp File src/lazy/SkCachingPixelRef.cpp (right): https://codereview.chromium.org/539643002/diff/1/src/lazy/SkCachingPixelRef.cpp#newcode48 src/lazy/SkCachingPixelRef.cpp:48: if (!SkBitmapCache::Find(this->getGenerationID(), SkIRect::MakeWH(info.fWidth, info.fHeight), &fLockedBitmap)) { On 2014/09/03 18:48:06, ...
6 years, 3 months ago (2014-09-03 18:55:27 UTC) #4
reed1
btw -- you'll have to rebase and change direct access to SkImageInfo fields to calling ...
6 years, 3 months ago (2014-09-03 18:57:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/piotaixr@chromium.org/539643002/40001
6 years, 3 months ago (2014-09-03 19:26:46 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-03 19:35:02 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 91cab830c81025e0af800b528bed582ea6e4d3d7

Powered by Google App Engine
This is Rietveld 408576698