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

Issue 15070011: One SkTSearch to rule them all. Allow key to be of different type than the array. (Closed)

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

Description

One SkTSearch to rule them all. Allow key to be of different type than the array. R=bungeman@google.com Committed: https://code.google.com/p/skia/source/detail?r=9182

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : Make functor for op < variant of SkTSearch, some renamings #

Total comments: 12

Patch Set 4 : Address comments #

Patch Set 5 : fixes to compile on gcc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -241 lines) Patch
M include/core/SkTSearch.h View 1 2 3 4 2 chunks +40 lines, -133 lines 0 comments Download
M src/core/SkBitmapHeap.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkBitmapHeap.cpp View 1 2 chunks +20 lines, -21 lines 0 comments Download
M src/core/SkPathMeasure.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/core/SkPictureFlat.h View 1 2 chunks +16 lines, -11 lines 0 comments Download
M src/core/SkPtrRecorder.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPtrRecorder.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M src/core/SkTSort.h View 1 chunk +0 lines, -10 lines 0 comments Download
M src/gpu/effects/GrTextureStripAtlas.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/effects/GrTextureStripAtlas.cpp View 1 chunk +6 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 4 chunks +19 lines, -20 lines 0 comments Download
M src/gpu/gl/GrGLExtensions.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M src/sfnt/SkOTTable_name.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/utils/win/SkWGL_win.cpp View 1 2 3 chunks +20 lines, -23 lines 0 comments Download
M tests/FlatDataTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
bsalomon
7 years, 7 months ago (2013-05-16 19:49:16 UTC) #1
bsalomon
updated to make the op < variant call the generic T,K,functor version directly.
7 years, 7 months ago (2013-05-16 21:03:58 UTC) #2
bungeman-skia
Some possible cleanup. https://codereview.chromium.org/15070011/diff/15001/include/core/SkTSearch.h File include/core/SkTSearch.h (right): https://codereview.chromium.org/15070011/diff/15001/include/core/SkTSearch.h#newcode73 include/core/SkTSearch.h:73: class SkTLessFunctionToFunctorAdaptor { If this were ...
7 years, 7 months ago (2013-05-16 22:00:39 UTC) #3
bsalomon
https://codereview.chromium.org/15070011/diff/15001/include/core/SkTSearch.h File include/core/SkTSearch.h (right): https://codereview.chromium.org/15070011/diff/15001/include/core/SkTSearch.h#newcode73 include/core/SkTSearch.h:73: class SkTLessFunctionToFunctorAdaptor { On 2013/05/16 22:00:39, bungeman1 wrote: > ...
7 years, 7 months ago (2013-05-17 14:24:30 UTC) #4
bungeman-skia
lgtm
7 years, 7 months ago (2013-05-17 14:36:05 UTC) #5
bsalomon
7 years, 7 months ago (2013-05-17 19:05:39 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r9182 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698