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

Issue 212103010: Add asADash entry point into SkPathEffect to allow extracting Dash info from PathEffects (Closed)

Created:
6 years, 9 months ago by egdaniel
Modified:
6 years, 8 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Add asADash entry point into SkPathEffect to allow extracting Dash info from PathEffects BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14297

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Flatten Updates #

Total comments: 6

Patch Set 3 : Updates from suggestions #

Patch Set 4 : Put dummy readBool back in #

Total comments: 1

Patch Set 5 : Constructor Fix #

Total comments: 2

Patch Set 6 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -24 lines) Patch
M gyp/tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkPathEffect.h View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
M include/core/SkPicture.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M include/effects/SkDashPathEffect.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M src/core/SkPathEffect.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M src/effects/SkDashPathEffect.cpp View 1 2 3 4 5 6 chunks +53 lines, -23 lines 0 comments Download
A tests/AsADashTest.cpp View 1 2 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
egdaniel
6 years, 9 months ago (2014-03-27 15:21:57 UTC) #1
reed1
As a starting point, I would have guessed that the asA dude would just return ...
6 years, 9 months ago (2014-03-27 15:56:07 UTC) #2
egdaniel
This version is depended on https://codereview.chromium.org/214413008/ to land first for access to pictureVersion(). Still need ...
6 years, 9 months ago (2014-03-28 14:28:54 UTC) #3
reed1
https://codereview.chromium.org/212103010/diff/90001/include/core/SkPathEffect.h File include/core/SkPathEffect.h (right): https://codereview.chromium.org/212103010/diff/90001/include/core/SkPathEffect.h#newcode116 include/core/SkPathEffect.h:116: * None: This part of the dox could be ...
6 years, 9 months ago (2014-03-28 14:52:52 UTC) #4
bsalomon
https://codereview.chromium.org/212103010/diff/90001/include/core/SkPathEffect.h File include/core/SkPathEffect.h (right): https://codereview.chromium.org/212103010/diff/90001/include/core/SkPathEffect.h#newcode107 include/core/SkPathEffect.h:107: /** Maybe I'm alone in this but I'd feel ...
6 years, 9 months ago (2014-03-28 14:57:22 UTC) #5
egdaniel
Back to dashing...changes based on previous comments from a while ago
6 years, 8 months ago (2014-04-21 18:14:41 UTC) #6
egdaniel
Back to dashing...changes based on previous comments from a while ago
6 years, 8 months ago (2014-04-21 18:14:43 UTC) #7
bsalomon
lgtm
6 years, 8 months ago (2014-04-21 18:16:17 UTC) #8
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 8 months ago (2014-04-22 13:10:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/212103010/150001
6 years, 8 months ago (2014-04-22 13:10:21 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-22 13:26:02 UTC) #11
commit-bot: I haz the power
Failed to commit the patch. Sending gyp/tests.gypi Sending include/core/SkPathEffect.h Sending include/core/SkPicture.h Sending include/effects/SkDashPathEffect.h Sending src/core/SkPathEffect.cpp ...
6 years, 8 months ago (2014-04-22 13:26:02 UTC) #12
reed1
https://codereview.chromium.org/212103010/diff/150001/include/core/SkPathEffect.h File include/core/SkPathEffect.h (right): https://codereview.chromium.org/212103010/diff/150001/include/core/SkPathEffect.h#newcode123 include/core/SkPathEffect.h:123: DashInfo() : fIntervals(0), fCount(0), fPhase(0.0) {} fPhase(0) is fine. ...
6 years, 8 months ago (2014-04-22 13:49:00 UTC) #13
egdaniel
6 years, 8 months ago (2014-04-22 14:07:50 UTC) #14
reed1
https://codereview.chromium.org/212103010/diff/170001/src/effects/SkDashPathEffect.cpp File src/effects/SkDashPathEffect.cpp (right): https://codereview.chromium.org/212103010/diff/170001/src/effects/SkDashPathEffect.cpp#newcode523 src/effects/SkDashPathEffect.cpp:523: if (info->fCount >= fCount) { nit: if (info->fCount >= ...
6 years, 8 months ago (2014-04-22 14:15:02 UTC) #15
reed1
lgtm after my previous nits
6 years, 8 months ago (2014-04-22 14:15:36 UTC) #16
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 8 months ago (2014-04-22 15:01:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/212103010/190001
6 years, 8 months ago (2014-04-22 15:01:39 UTC) #18
commit-bot: I haz the power
6 years, 8 months ago (2014-04-22 15:21:23 UTC) #19
Message was sent while issue was closed.
Change committed as 14297

Powered by Google App Engine
This is Rietveld 408576698