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

Issue 314623004: Move Dashing filterPath to a dashing utils file (Closed)

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

Description

Move Dashing filterPath to a dashing utils file From inside GrContext, we have a need to create an SkPath an original path and some dashing info. We do not have access to the original path effect so we need a way to make the FilterPath function accessible outside of the effect. So I moved the core filterPath code (and all need helper functions) out of SkDashPathEffect and created a SkDashPath in utils to store these helper functions. BUG=skia: Committed: https://skia.googlesource.com/skia/+/576dcdc793a762ec63fbecdbfd5768066b548fe5 Committed: https://skia.googlesource.com/skia/+/a22ea1882391cc5c84136060636d5c952c1f34b3

Patch Set 1 #

Patch Set 2 : Move h file to src/utils #

Patch Set 3 : Uninitialized variable fix #

Patch Set 4 : Use gypi instead of gyp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+373 lines, -302 lines) Patch
M gyp/utils.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M include/effects/SkDashPathEffect.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/effects/SkDashPathEffect.cpp View 1 3 chunks +11 lines, -300 lines 0 comments Download
A src/utils/SkDashPath.cpp View 1 2 1 chunk +328 lines, -0 lines 0 comments Download
A src/utils/SkDashPathPriv.h View 1 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
egdaniel
PTAL
6 years, 6 months ago (2014-06-03 18:01:24 UTC) #1
reed1
Why is anything made public? Would src/utils/SkDashPathPriv.h work for you? We don't use namespace much ...
6 years, 6 months ago (2014-06-03 18:16:56 UTC) #2
egdaniel
On 2014/06/03 18:16:56, reed1 wrote: > Why is anything made public? Would src/utils/SkDashPathPriv.h work for ...
6 years, 6 months ago (2014-06-03 18:26:11 UTC) #3
bsalomon
FYI, the idea here is to be able to invoke dashing from GrContext w/out having ...
6 years, 6 months ago (2014-06-03 18:28:33 UTC) #4
reed1
On 2014/06/03 18:28:33, bsalomon wrote: > FYI, the idea here is to be able to ...
6 years, 6 months ago (2014-06-03 18:37:20 UTC) #5
egdaniel
Header has been moved to src/utils
6 years, 6 months ago (2014-06-03 19:27:39 UTC) #6
reed1
api lgtm
6 years, 6 months ago (2014-06-03 19:44:06 UTC) #7
bsalomon
lgtm
6 years, 6 months ago (2014-06-03 20:36:28 UTC) #8
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 6 months ago (2014-06-04 13:03:43 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/314623004/20001
6 years, 6 months ago (2014-06-04 13:04:34 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot on tryserver.chromium ...
6 years, 6 months ago (2014-06-04 13:19:25 UTC) #11
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 6 months ago (2014-06-04 13:26:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/314623004/40001
6 years, 6 months ago (2014-06-04 13:26:38 UTC) #13
rmistry
The CQ bit was unchecked by rmistry@google.com
6 years, 6 months ago (2014-06-04 14:21:53 UTC) #14
rmistry
The CQ bit was checked by rmistry@google.com
6 years, 6 months ago (2014-06-04 14:23:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/314623004/40001
6 years, 6 months ago (2014-06-04 14:24:16 UTC) #16
commit-bot: I haz the power
Change committed as 576dcdc793a762ec63fbecdbfd5768066b548fe5
6 years, 6 months ago (2014-06-04 15:15:57 UTC) #17
egdaniel
A revert of this CL has been created in https://codereview.chromium.org/317663003/ by egdaniel@google.com. The reason for ...
6 years, 6 months ago (2014-06-04 16:58:26 UTC) #18
egdaniel
The CQ bit was checked by egdaniel@google.com
6 years, 6 months ago (2014-06-11 13:38:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/egdaniel@google.com/314623004/100001
6 years, 6 months ago (2014-06-11 13:38:59 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 13:51:56 UTC) #21
Message was sent while issue was closed.
Change committed as a22ea1882391cc5c84136060636d5c952c1f34b3

Powered by Google App Engine
This is Rietveld 408576698