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

Issue 23618005: fix state machine so we know simple only loops once, but we can call maprect in debug mode (Closed)

Created:
7 years, 3 months ago by reed1
Modified:
7 years, 3 months ago
Reviewers:
tomhudson
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

fix state machine so we know simple only loops once, but we can call maprect in debug mode Revert "Revert of r10943." This reverts commit 9e83074cce521d3cc3b8b3a9b819a612a07d800a. BUG= R=tomhudson@google.com Committed: https://code.google.com/p/skia/source/detail?r=10981

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : change back to simple State enum, and delay setting fCurrBitmap so it can also be a sentinel #

Total comments: 6

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -45 lines) Patch
M gyp/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A src/core/SkDeviceLooper.h View 1 2 3 4 1 chunk +96 lines, -0 lines 0 comments Download
A src/core/SkDeviceLooper.cpp View 1 2 3 4 1 chunk +114 lines, -0 lines 0 comments Download
M src/core/SkDraw.cpp View 3 chunks +50 lines, -41 lines 0 comments Download
M tests/DrawPathTest.cpp View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
reed1
7 years, 3 months ago (2013-08-28 13:53:13 UTC) #1
tomhudson
https://codereview.chromium.org/23618005/diff/3001/src/core/SkDeviceLooper.cpp File src/core/SkDeviceLooper.cpp (right): https://codereview.chromium.org/23618005/diff/3001/src/core/SkDeviceLooper.cpp#newcode73 src/core/SkDeviceLooper.cpp:73: if (kPreSimple_State == fState) { Weren't these next 3 ...
7 years, 3 months ago (2013-08-28 14:27:50 UTC) #2
reed1
I will try a version that doesn't need pre/post... https://codereview.chromium.org/23618005/diff/3001/src/core/SkDeviceLooper.cpp File src/core/SkDeviceLooper.cpp (right): https://codereview.chromium.org/23618005/diff/3001/src/core/SkDeviceLooper.cpp#newcode73 src/core/SkDeviceLooper.cpp:73: ...
7 years, 3 months ago (2013-08-28 14:38:33 UTC) #3
reed1
7 years, 3 months ago (2013-08-28 14:55:55 UTC) #4
tomhudson
lgtm Thanks for improved documentation. Not worth further bikeshedding; I'd be happy to use or ...
7 years, 3 months ago (2013-08-28 15:01:21 UTC) #5
reed1
https://codereview.chromium.org/23618005/diff/11001/src/core/SkDeviceLooper.cpp File src/core/SkDeviceLooper.cpp (right): https://codereview.chromium.org/23618005/diff/11001/src/core/SkDeviceLooper.cpp#newcode17 src/core/SkDeviceLooper.cpp:17: // sentinels that next() has not yet bee called, ...
7 years, 3 months ago (2013-08-28 15:11:30 UTC) #6
reed1
this has been a valuable review, thanks.
7 years, 3 months ago (2013-08-28 15:11:51 UTC) #7
reed1
7 years, 3 months ago (2013-08-28 15:23:26 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 manually as r10981 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698