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

Issue 19283005: Deterministic SkTSet and PDF Output (Closed)

Created:
7 years, 5 months ago by ducky
Modified:
7 years, 5 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Deterministic SkTSet and PDF Output Addresses this issue: https://code.google.com/p/skia/issues/detail?id=1277 Committed: http://code.google.com/p/skia/source/detail?r=10298

Patch Set 1 #

Patch Set 2 : Update comments and test cases, make SkTSet::find() private #

Total comments: 1

Patch Set 3 : O(n log n) merge, also fixes unrefAll to clean fSetArray #

Total comments: 16

Patch Set 4 : Add sorting for testing in SkTSet::validate() and some code review fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -100 lines) Patch
M src/pdf/SkTSet.h View 1 2 3 7 chunks +175 lines, -99 lines 1 comment Download
M tests/TSetTest.cpp View 1 2 3 5 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
ducky
Deterministic PDF output by guaranteeing SkTSet's output is sorted in order of insertion. This uses ...
7 years, 5 months ago (2013-07-16 01:03:10 UTC) #1
vandebo (ex-Chrome)
Would there be a big penalty to pulling the extra functionality out of SkTSet? I ...
7 years, 5 months ago (2013-07-16 15:46:10 UTC) #2
edisonn
On 2013/07/16 15:46:10, vandebo wrote: > Would there be a big penalty to pulling the ...
7 years, 5 months ago (2013-07-16 15:57:02 UTC) #3
ducky
On 2013/07/16 15:57:02, edisonn wrote: > On 2013/07/16 15:46:10, vandebo wrote: > > Would there ...
7 years, 5 months ago (2013-07-16 18:36:14 UTC) #4
ducky
Merge now O(n log n), using a two-stage algorithm as documented in the function comments.
7 years, 5 months ago (2013-07-16 22:11:29 UTC) #5
edisonn
LGTM with comments (please fix them before check in) https://codereview.chromium.org/19283005/diff/17001/src/pdf/SkTSet.h File src/pdf/SkTSet.h (right): https://codereview.chromium.org/19283005/diff/17001/src/pdf/SkTSet.h#newcode139 src/pdf/SkTSet.h:139: ...
7 years, 5 months ago (2013-07-17 12:32:09 UTC) #6
vandebo (ex-Chrome)
https://codereview.chromium.org/19283005/diff/17001/src/pdf/SkTSet.h File src/pdf/SkTSet.h (right): https://codereview.chromium.org/19283005/diff/17001/src/pdf/SkTSet.h#newcode25 src/pdf/SkTSet.h:25: template <typename T> class SkTSet { Should this be ...
7 years, 5 months ago (2013-07-17 15:30:43 UTC) #7
ducky
I've added a sort for SkTSet::validate / SkTSet::arraysConsistent - the check is fast and through ...
7 years, 5 months ago (2013-07-17 19:32:21 UTC) #8
edisonn
LGTM https://codereview.chromium.org/19283005/diff/27001/src/pdf/SkTSet.h File src/pdf/SkTSet.h (right): https://codereview.chromium.org/19283005/diff/27001/src/pdf/SkTSet.h#newcode157 src/pdf/SkTSet.h:157: size_t bytes() const { if this function is ...
7 years, 5 months ago (2013-07-17 20:03:28 UTC) #9
vandebo (ex-Chrome)
LGTM
7 years, 5 months ago (2013-07-17 20:20:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/richardlin@chromium.org/19283005/27001
7 years, 5 months ago (2013-07-24 01:46:54 UTC) #11
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 01:51:10 UTC) #12
Message was sent while issue was closed.
Change committed as 10298

Powered by Google App Engine
This is Rietveld 408576698