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

Issue 6355086: Change SkFlatData to have a sentinel value, allowing the Compare function to (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 12 months ago by reed1
Modified:
11 years, 12 months ago
Reviewers:
junov, junov1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Change SkFlatData to have a sentinel value, allowing the Compare function to not need a loop-end-test. Committed: https://code.google.com/p/skia/source/detail?r=4517

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -36 lines) Patch
M src/core/SkPictureFlat.h View 1 2 3 4 5 6 chunks +76 lines, -22 lines 0 comments Download
M src/core/SkPictureFlat.cpp View 1 3 chunks +14 lines, -6 lines 0 comments Download
M tests/CanvasTest.cpp View 1 3 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 6
reed1
11 years, 12 months ago (2012-07-10 16:30:18 UTC) #1
junov1
https://codereview.appspot.com/6355086/diff/4001/src/core/SkPictureFlat.h File src/core/SkPictureFlat.h (right): https://codereview.appspot.com/6355086/diff/4001/src/core/SkPictureFlat.h#newcode171 src/core/SkPictureFlat.h:171: SkASSERT(b->dataStop() == b_ptr); Is this condition valid? You can ...
11 years, 12 months ago (2012-07-10 17:32:18 UTC) #2
reed1
patch #4 should help document the questions raised. https://codereview.appspot.com/6355086/diff/4001/src/core/SkPictureFlat.h File src/core/SkPictureFlat.h (right): https://codereview.appspot.com/6355086/diff/4001/src/core/SkPictureFlat.h#newcode171 src/core/SkPictureFlat.h:171: SkASSERT(b->dataStop() ...
11 years, 12 months ago (2012-07-10 17:46:17 UTC) #3
junov1
https://codereview.appspot.com/6355086/diff/6002/src/core/SkPictureFlat.h File src/core/SkPictureFlat.h (right): https://codereview.appspot.com/6355086/diff/6002/src/core/SkPictureFlat.h#newcode176 src/core/SkPictureFlat.h:176: const uint32_t* b_ptr = b->dataToCompare() - 1; Why the ...
11 years, 12 months ago (2012-07-10 17:57:57 UTC) #4
reed1
On 2012/07/10 17:57:57, junov1 wrote: > https://codereview.appspot.com/6355086/diff/6002/src/core/SkPictureFlat.h > File src/core/SkPictureFlat.h (right): > > https://codereview.appspot.com/6355086/diff/6002/src/core/SkPictureFlat.h#newcode176 > ...
11 years, 12 months ago (2012-07-10 18:23:23 UTC) #5
junov1
11 years, 12 months ago (2012-07-10 18:47:59 UTC) #6
lgtm
Sign in to reply to this message.

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