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

Issue 2226973004: Refactor SkCurveMeasure to use existing eval code (Closed)

Created:
4 years, 4 months ago by Harry Stern
Modified:
4 years, 4 months ago
Reviewers:
caryclark, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@curvemeasure_rework
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Refactor SkCurveMeasure to use existing eval code - Use quad, cubic, conic eval code from SkGeometry.h - Implement evaluateDerivativeLength, evaluateDerivative and evaluate switch cases for lines along with the refactor BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2226973004 Committed: https://skia.googlesource.com/skia/+/4ab47e087ecfc82f070cbbaef4d9eb562d3fd163

Patch Set 1 #

Patch Set 2 : Remove incomplete line fragment mistakenly included #

Total comments: 4

Patch Set 3 : Fix line interpolation and add UNIMPLEMENTED macro #

Patch Set 4 : Fix minor stuff - comment and extra break; #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -60 lines) Patch
M src/utils/SkCurveMeasure.h View 1 2 3 2 chunks +9 lines, -7 lines 0 comments Download
M src/utils/SkCurveMeasure.cpp View 1 2 3 11 chunks +83 lines, -53 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (15 generated)
Harry Stern
4 years, 4 months ago (2016-08-09 21:00:44 UTC) #4
Harry Stern
On 2016/08/09 21:00:44, Harry Stern wrote: I am unsure if I should actually have the ...
4 years, 4 months ago (2016-08-09 22:22:12 UTC) #10
reed1
lgtm https://codereview.chromium.org/2226973004/diff/20001/src/utils/SkCurveMeasure.cpp File src/utils/SkCurveMeasure.cpp (right): https://codereview.chromium.org/2226973004/diff/20001/src/utils/SkCurveMeasure.cpp#newcode82 src/utils/SkCurveMeasure.cpp:82: break; nit: don't need the break; https://codereview.chromium.org/2226973004/diff/20001/src/utils/SkCurveMeasure.h File ...
4 years, 4 months ago (2016-08-10 12:08:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2226973004/60001
4 years, 4 months ago (2016-08-10 17:54:19 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/4ab47e087ecfc82f070cbbaef4d9eb562d3fd163
4 years, 4 months ago (2016-08-10 17:55:13 UTC) #20
Harry Stern
forgot to send out these comments, I guess it doesn't really matter. https://codereview.chromium.org/2226973004/diff/20001/src/utils/SkCurveMeasure.cpp File src/utils/SkCurveMeasure.cpp ...
4 years, 4 months ago (2016-08-10 17:55:58 UTC) #21
hal.canary
4 years, 4 months ago (2016-08-10 18:35:43 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2237503003/ by halcanary@google.com.

The reason for reverting is: perf debug assert..

Powered by Google App Engine
This is Rietveld 408576698