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

Issue 646213003: Add `SkIRect bounds()` convenience method to SkImageInfo and SkBitmap. (Closed)

Created:
6 years, 2 months ago by hal.canary
Modified:
6 years, 2 months ago
Reviewers:
reed1
CC:
reviews_skia.org, tfarina
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add `SkIRect bounds()` convenience method to SkImageInfo and SkBitmap. Committed: https://skia.googlesource.com/skia/+/f622a6c8fd176acf9944de8df00d7f0bb56b67d3

Patch Set 1 #

Total comments: 6

Patch Set 2 : s/shape()/bounds()/ #

Patch Set 3 : sorted headers #

Total comments: 4

Patch Set 4 : reed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -15 lines) Patch
M gm/texturedomaineffect.cpp View 1 1 chunk +2 lines, -3 lines 0 comments Download
M include/core/SkBitmap.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M include/core/SkImageInfo.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/lazy/SkCachingPixelRef.cpp View 1 2 chunks +4 lines, -6 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M tests/ImageNewShaderTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/WritePixelsTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
hal.canary
PTAL priority: low
6 years, 2 months ago (2014-10-23 14:21:16 UTC) #2
reed1
https://codereview.chromium.org/646213003/diff/1/include/core/SkBitmap.h File include/core/SkBitmap.h (right): https://codereview.chromium.org/646213003/diff/1/include/core/SkBitmap.h#newcode86 include/core/SkBitmap.h:86: SkIRect shape() const { return fInfo.shape(); } We already ...
6 years, 2 months ago (2014-10-23 14:39:45 UTC) #3
tfarina
https://codereview.chromium.org/646213003/diff/1/include/core/SkImageInfo.h File include/core/SkImageInfo.h (right): https://codereview.chromium.org/646213003/diff/1/include/core/SkImageInfo.h#newcode13 include/core/SkImageInfo.h:13: #include "SkRect.h" nit-picking: could you keep it sorted?
6 years, 2 months ago (2014-10-23 15:00:57 UTC) #4
hal.canary
https://codereview.chromium.org/646213003/diff/1/include/core/SkBitmap.h File include/core/SkBitmap.h (right): https://codereview.chromium.org/646213003/diff/1/include/core/SkBitmap.h#newcode86 include/core/SkBitmap.h:86: SkIRect shape() const { return fInfo.shape(); } On 2014/10/23 ...
6 years, 2 months ago (2014-10-24 18:23:31 UTC) #5
reed1
lgtm w/ nits https://codereview.chromium.org/646213003/diff/40001/include/core/SkBitmap.h File include/core/SkBitmap.h (right): https://codereview.chromium.org/646213003/diff/40001/include/core/SkBitmap.h#newcode86 include/core/SkBitmap.h:86: SkIRect bounds() const { return fInfo.bounds(); ...
6 years, 2 months ago (2014-10-24 18:42:35 UTC) #6
hal.canary
https://codereview.chromium.org/646213003/diff/40001/include/core/SkBitmap.h File include/core/SkBitmap.h (right): https://codereview.chromium.org/646213003/diff/40001/include/core/SkBitmap.h#newcode86 include/core/SkBitmap.h:86: SkIRect bounds() const { return fInfo.bounds(); } On 2014/10/24 ...
6 years, 2 months ago (2014-10-24 19:04:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/646213003/60001
6 years, 2 months ago (2014-10-24 19:05:08 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 19:55:03 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as f622a6c8fd176acf9944de8df00d7f0bb56b67d3

Powered by Google App Engine
This is Rietveld 408576698