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

Issue 18503009: Fix SkTFits in to work properly with signed/unsigned mixtures. (Closed)

Created:
7 years, 5 months ago by bungeman-skia
Modified:
7 years, 5 months ago
Reviewers:
mtklein, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Update and include test. #

Patch Set 3 : Move out of SkTemplates. #

Patch Set 4 : Actually add all of the files. #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : Remove extra paren. #

Patch Set 7 : Fix test to not assume long is bigger than int. #

Patch Set 8 : Fix logic inversion. #

Patch Set 9 : Remove enable_if, use SK_COMPILE_ASSERT instead. #

Total comments: 10

Patch Set 10 : Address comments by adding comments and assertions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -11 lines) Patch
M gyp/tests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gyp/utils.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkTemplates.h View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
M src/ports/SkOSFile_posix.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkOSFile_win.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A src/utils/SkTFitsIn.h View 1 2 3 4 5 6 7 8 9 1 chunk +209 lines, -0 lines 0 comments Download
A src/utils/SkTLogic.h View 1 2 3 4 5 6 7 8 9 1 chunk +61 lines, -0 lines 0 comments Download
M src/utils/win/SkDWriteFontFileStream.cpp View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
A tests/FitsInTest.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +77 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
bungeman-skia
Due to the amount of meta-programming going on here, we may need to split up ...
7 years, 5 months ago (2013-07-03 19:35:40 UTC) #1
reed1
This looks like a lot of code. Do we need to reference boost? Do we ...
7 years, 5 months ago (2013-07-08 12:38:44 UTC) #2
mtklein
On 2013/07/08 12:38:44, reed1 wrote: > This looks like a lot of code. Do we ...
7 years, 5 months ago (2013-07-08 13:39:39 UTC) #3
bungeman-skia
On 2013/07/08 12:38:44, reed1 wrote: > This looks like a lot of code. Do we ...
7 years, 5 months ago (2013-07-08 15:48:46 UTC) #4
bungeman-skia
On 2013/07/08 13:39:39, mtklein wrote: > On 2013/07/08 12:38:44, reed1 wrote: > > This looks ...
7 years, 5 months ago (2013-07-10 19:05:12 UTC) #5
bungeman-skia
At Patch Set 9, this works on all the platforms and tests what it is ...
7 years, 5 months ago (2013-07-10 22:06:17 UTC) #6
mtklein
https://codereview.chromium.org/18503009/diff/14006/src/utils/SkTFitsIn.h File src/utils/SkTFitsIn.h (right): https://codereview.chromium.org/18503009/diff/14006/src/utils/SkTFitsIn.h#newcode99 src/utils/SkTFitsIn.h:99: template<typename D, typename S> struct SkTFitsIn_Unsigned2Unsiged { Can you ...
7 years, 5 months ago (2013-07-11 14:56:57 UTC) #7
bungeman-skia
Patch Set 10 hopefully addresses all of the comments on Patch Set 9. https://codereview.chromium.org/18503009/diff/14006/src/utils/SkTFitsIn.h File ...
7 years, 5 months ago (2013-07-11 20:22:03 UTC) #8
mtklein
On 2013/07/11 20:22:03, bungeman1 wrote: > Patch Set 10 hopefully addresses all of the comments ...
7 years, 5 months ago (2013-07-11 21:08:01 UTC) #9
bungeman-skia
7 years, 5 months ago (2013-07-12 18:22:52 UTC) #10
Message was sent while issue was closed.
Committed patchset #10 manually as r10050.

Powered by Google App Engine
This is Rietveld 408576698