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

Issue 2196743002: Add SkColorSpace::Equals() API (Closed)

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

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : Use malloc instead of stack for test #

Total comments: 10

Patch Set 3 : Response to comments #

Total comments: 2

Patch Set 4 : Add comments and test #

Patch Set 5 : Fix logic #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -12 lines) Patch
M include/core/SkColorSpace.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M include/core/SkImageInfo.h View 1 chunk +2 lines, -4 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M src/core/SkColorSpace.cpp View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M tests/ColorSpaceTest.cpp View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M tests/ImageIsOpaqueTest.cpp View 1 2 3 chunks +22 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 32 (15 generated)
msarett
https://codereview.chromium.org/2196743002/diff/1/tests/ImageIsOpaqueTest.cpp File tests/ImageIsOpaqueTest.cpp (right): https://codereview.chromium.org/2196743002/diff/1/tests/ImageIsOpaqueTest.cpp#newcode22 tests/ImageIsOpaqueTest.cpp:22: int32_t storage[2000]; Is this going to annoy Google3?
4 years, 4 months ago (2016-07-29 15:31:28 UTC) #3
mtklein
https://codereview.chromium.org/2196743002/diff/1/tests/ImageIsOpaqueTest.cpp File tests/ImageIsOpaqueTest.cpp (right): https://codereview.chromium.org/2196743002/diff/1/tests/ImageIsOpaqueTest.cpp#newcode22 tests/ImageIsOpaqueTest.cpp:22: int32_t storage[2000]; On 2016/07/29 15:31:27, msarett wrote: > Is ...
4 years, 4 months ago (2016-07-29 15:32:12 UTC) #4
msarett
https://codereview.chromium.org/2196743002/diff/1/tests/ImageIsOpaqueTest.cpp File tests/ImageIsOpaqueTest.cpp (right): https://codereview.chromium.org/2196743002/diff/1/tests/ImageIsOpaqueTest.cpp#newcode22 tests/ImageIsOpaqueTest.cpp:22: int32_t storage[2000]; On 2016/07/29 15:32:12, mtklein wrote: > On ...
4 years, 4 months ago (2016-07-29 15:37:15 UTC) #5
mtklein
https://codereview.chromium.org/2196743002/diff/20001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2196743002/diff/20001/include/core/SkColorSpace.h#newcode107 include/core/SkColorSpace.h:107: static bool Equals(SkColorSpace* src, SkColorSpace* dst); any reason to ...
4 years, 4 months ago (2016-07-29 15:43:48 UTC) #6
msarett
https://codereview.chromium.org/2196743002/diff/20001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2196743002/diff/20001/include/core/SkColorSpace.h#newcode107 include/core/SkColorSpace.h:107: static bool Equals(SkColorSpace* src, SkColorSpace* dst); On 2016/07/29 15:43:48, ...
4 years, 4 months ago (2016-07-29 16:16:01 UTC) #7
mtklein
lgtm
4 years, 4 months ago (2016-07-29 16:19:41 UTC) #8
reed1
https://codereview.chromium.org/2196743002/diff/40001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2196743002/diff/40001/include/core/SkColorSpace.h#newcode107 include/core/SkColorSpace.h:107: static bool Equals(const SkColorSpace* src, const SkColorSpace* dst); wonder ...
4 years, 4 months ago (2016-07-29 22:35:45 UTC) #9
msarett
I've uploaded a version that uses const&. I'm not sure I like it - it ...
4 years, 4 months ago (2016-08-01 12:39:12 UTC) #11
mtklein
On 2016/08/01 12:39:12, msarett wrote: > I've uploaded a version that uses const&. I'm not ...
4 years, 4 months ago (2016-08-01 13:00:10 UTC) #12
reed1
Good case for using pointers (if callers themselves don't know if they have null or ...
4 years, 4 months ago (2016-08-01 13:34:47 UTC) #13
mtklein
On 2016/08/01 13:34:47, reed1 wrote: > (if callers themselves don't know if they have null ...
4 years, 4 months ago (2016-08-01 13:36:21 UTC) #14
msarett
On 2016/08/01 13:36:21, mtklein wrote: > On 2016/08/01 13:34:47, reed1 wrote: > > (if callers ...
4 years, 4 months ago (2016-08-01 13:37:14 UTC) #16
reed1
lgtm w/ suggestion for dox https://codereview.chromium.org/2196743002/diff/40001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2196743002/diff/40001/include/core/SkColorSpace.h#newcode107 include/core/SkColorSpace.h:107: static bool Equals(const SkColorSpace* ...
4 years, 4 months ago (2016-08-01 15:08:26 UTC) #17
reed1
maybe add null variants to unittest...
4 years, 4 months ago (2016-08-01 15:08:54 UTC) #18
msarett
On 2016/08/01 15:08:54, reed1 wrote: > maybe add null variants to unittest... Added comments and ...
4 years, 4 months ago (2016-08-01 15:44:43 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2196743002/120001
4 years, 4 months ago (2016-08-01 16:42:14 UTC) #30
commit-bot: I haz the power
4 years, 4 months ago (2016-08-01 16:43:11 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:120001) as
https://skia.googlesource.com/skia/+/abbd6d5e02832d53a939be15b78de592d88fe9ec

Powered by Google App Engine
This is Rietveld 408576698