Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1157)

Issue 4916044: W array optimization algorithm with wildcards. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by arthurhsu
Modified:
12 years, 5 months ago
Reviewers:
Steve VanDeBogart
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

W array optimization algorithm with wildcards.

Patch Set 1 #

Total comments: 10

Patch Set 2 : Update per code review #

Total comments: 18

Patch Set 3 : Update per code review #

Total comments: 9

Patch Set 4 : Update per code review #

Patch Set 5 : Update per code review #

Total comments: 6

Patch Set 6 : Update per code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -17 lines) Patch
M gyp/tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkAdvancedTypefaceMetrics.cpp View 1 2 3 4 5 4 chunks +134 lines, -17 lines 0 comments Download
A tests/WArrayTest.cpp View 1 2 3 4 5 1 chunk +216 lines, -0 lines 0 comments Download

Messages

Total messages: 12
arthurhsu
12 years, 8 months ago (2011-08-18 19:52:51 UTC) #1
Steve VanDeBogart
A couple high level comments. http://codereview.appspot.com/4916044/diff/1/src/core/SkAdvancedTypefaceMetrics.cpp File src/core/SkAdvancedTypefaceMetrics.cpp (right): http://codereview.appspot.com/4916044/diff/1/src/core/SkAdvancedTypefaceMetrics.cpp#newcode65 src/core/SkAdvancedTypefaceMetrics.cpp:65: void clearRange(SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range) { ...
12 years, 8 months ago (2011-08-18 21:06:10 UTC) #2
arthurhsu
http://codereview.appspot.com/4916044/diff/1/src/core/SkAdvancedTypefaceMetrics.cpp File src/core/SkAdvancedTypefaceMetrics.cpp (right): http://codereview.appspot.com/4916044/diff/1/src/core/SkAdvancedTypefaceMetrics.cpp#newcode65 src/core/SkAdvancedTypefaceMetrics.cpp:65: void clearRange(SkAdvancedTypefaceMetrics::AdvanceMetric<Data>* range) { On 2011/08/18 21:06:10, Steve VanDeBogart ...
12 years, 8 months ago (2011-08-19 00:00:35 UTC) #3
Steve VanDeBogart
http://codereview.appspot.com/4916044/diff/4001/src/core/SkAdvancedTypefaceMetrics.cpp File src/core/SkAdvancedTypefaceMetrics.cpp (right): http://codereview.appspot.com/4916044/diff/4001/src/core/SkAdvancedTypefaceMetrics.cpp#newcode66 src/core/SkAdvancedTypefaceMetrics.cpp:66: void zeroWildcardsInRange( Does this all need to come before ...
12 years, 8 months ago (2011-08-19 20:55:38 UTC) #4
arthurhsu
http://codereview.appspot.com/4916044/diff/4001/src/core/SkAdvancedTypefaceMetrics.cpp File src/core/SkAdvancedTypefaceMetrics.cpp (right): http://codereview.appspot.com/4916044/diff/4001/src/core/SkAdvancedTypefaceMetrics.cpp#newcode66 src/core/SkAdvancedTypefaceMetrics.cpp:66: void zeroWildcardsInRange( On 2011/08/19 20:55:38, Steve VanDeBogart wrote: > ...
12 years, 8 months ago (2011-08-22 23:21:01 UTC) #5
Steve VanDeBogart
http://codereview.appspot.com/4916044/diff/4001/tests/WArrayTest.cpp File tests/WArrayTest.cpp (right): http://codereview.appspot.com/4916044/diff/4001/tests/WArrayTest.cpp#newcode15 tests/WArrayTest.cpp:15: const int16_t data1Len = sizeof(data1) / sizeof(int16_t); On 2011/08/22 ...
12 years, 8 months ago (2011-08-23 19:14:58 UTC) #6
arthurhsu
http://codereview.appspot.com/4916044/diff/4001/tests/WArrayTest.cpp File tests/WArrayTest.cpp (right): http://codereview.appspot.com/4916044/diff/4001/tests/WArrayTest.cpp#newcode15 tests/WArrayTest.cpp:15: const int16_t data1Len = sizeof(data1) / sizeof(int16_t); On 2011/08/23 ...
12 years, 8 months ago (2011-08-23 21:00:45 UTC) #7
arthurhsu
Enumerated and documented cases. All cases shall be covered in unit tests.
12 years, 8 months ago (2011-08-24 01:08:15 UTC) #8
Steve VanDeBogart
http://codereview.appspot.com/4916044/diff/9001/src/core/SkAdvancedTypefaceMetrics.cpp File src/core/SkAdvancedTypefaceMetrics.cpp (right): http://codereview.appspot.com/4916044/diff/9001/src/core/SkAdvancedTypefaceMetrics.cpp#newcode167 src/core/SkAdvancedTypefaceMetrics.cpp:167: } else if (curRange->fAdvance.count() == repeats + 1) { ...
12 years, 8 months ago (2011-08-30 20:11:25 UTC) #9
arthurhsu
http://codereview.appspot.com/4916044/diff/16001/src/core/SkAdvancedTypefaceMetrics.cpp File src/core/SkAdvancedTypefaceMetrics.cpp (right): http://codereview.appspot.com/4916044/diff/16001/src/core/SkAdvancedTypefaceMetrics.cpp#newcode128 src/core/SkAdvancedTypefaceMetrics.cpp:128: // A X 0 X X B does not ...
12 years, 8 months ago (2011-09-01 23:07:58 UTC) #10
arthurhsu
ping?
12 years, 7 months ago (2011-09-28 23:12:19 UTC) #11
Steve VanDeBogart
12 years, 7 months ago (2011-09-28 23:15:15 UTC) #12
On 2011/09/28 23:12:19, arthurhsu wrote:
> ping?

I think this can be done with much less code.  It's been on my todo list to give
it a try to confirm/refute that hypothesis. I will try to do that within a week.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b