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

Issue 2151653002: Added math for SkNormalBevelSource to create bevels on GPU side (Closed)

Created:
4 years, 5 months ago by dvonbeck
Modified:
4 years, 4 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@dvonbeck-bevel-impl-0
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

This CL's base is the CL that sets up the distance vector field req. exposure: https://codereview.chromium.org/2114993002/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2151653002 Committed: https://skia.googlesource.com/skia/+/1b9e2fb49415d8dc41e449bee5f8ebec6f616d71

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Math changed to use quadratic bezier #

Patch Set 4 : rebase #

Patch Set 5 : Corrected math for linear bevels #

Patch Set 6 : Corrected math for rounded bevels #

Patch Set 7 : Formatted string fix #

Patch Set 8 : Fixed rebasing problem #

Patch Set 9 : Fixed some oversized lines #

Total comments: 12

Patch Set 10 : Optimized math calculations, addressed patch 9 comments #

Total comments: 6

Patch Set 11 : Corrected and optimized linear bevel, addressed patch 10 comments #

Total comments: 2

Patch Set 12 : Addressed patch 11 comments #

Patch Set 13 : Consistency fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -25 lines) Patch
M src/core/SkNormalBevelSource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +165 lines, -25 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
dvonbeck
4 years, 5 months ago (2016-07-13 21:33:40 UTC) #5
dvonbeck
CL is ready for review!
4 years, 4 months ago (2016-08-03 14:48:21 UTC) #7
robertphillips
Remove the "DO NOT LAND" disclaimer ? https://codereview.chromium.org/2151653002/diff/160001/src/core/SkNormalBevelSource.cpp File src/core/SkNormalBevelSource.cpp (right): https://codereview.chromium.org/2151653002/diff/160001/src/core/SkNormalBevelSource.cpp#newcode25 src/core/SkNormalBevelSource.cpp:25: * What ...
4 years, 4 months ago (2016-08-03 16:33:15 UTC) #8
dvonbeck
https://codereview.chromium.org/2151653002/diff/160001/src/core/SkNormalBevelSource.cpp File src/core/SkNormalBevelSource.cpp (right): https://codereview.chromium.org/2151653002/diff/160001/src/core/SkNormalBevelSource.cpp#newcode60 src/core/SkNormalBevelSource.cpp:60: On 2016/08/03 16:33:14, robertphillips wrote: > Do you think ...
4 years, 4 months ago (2016-08-03 16:39:24 UTC) #10
dvonbeck
Optimized math, addressed comments. https://codereview.chromium.org/2151653002/diff/160001/src/core/SkNormalBevelSource.cpp File src/core/SkNormalBevelSource.cpp (right): https://codereview.chromium.org/2151653002/diff/160001/src/core/SkNormalBevelSource.cpp#newcode25 src/core/SkNormalBevelSource.cpp:25: * On 2016/08/03 16:33:15, robertphillips ...
4 years, 4 months ago (2016-08-03 21:04:20 UTC) #11
egdaniel
https://codereview.chromium.org/2151653002/diff/180001/src/core/SkNormalBevelSource.cpp File src/core/SkNormalBevelSource.cpp (right): https://codereview.chromium.org/2151653002/diff/180001/src/core/SkNormalBevelSource.cpp#newcode104 src/core/SkNormalBevelSource.cpp:104: if ( type == SkNormalSource::BevelType::kRoundedIn ) { this should ...
4 years, 4 months ago (2016-08-04 03:08:17 UTC) #12
dvonbeck
Corrected and optimized linear bevel, addressed patch 10 comments https://codereview.chromium.org/2151653002/diff/180001/src/core/SkNormalBevelSource.cpp File src/core/SkNormalBevelSource.cpp (right): https://codereview.chromium.org/2151653002/diff/180001/src/core/SkNormalBevelSource.cpp#newcode104 src/core/SkNormalBevelSource.cpp:104: ...
4 years, 4 months ago (2016-08-04 17:57:25 UTC) #13
egdaniel
lgtm with 2 little nits https://codereview.chromium.org/2151653002/diff/200001/src/core/SkNormalBevelSource.cpp File src/core/SkNormalBevelSource.cpp (right): https://codereview.chromium.org/2151653002/diff/200001/src/core/SkNormalBevelSource.cpp#newcode158 src/core/SkNormalBevelSource.cpp:158: fb->codeAppendf("normal = vec3(%s * ...
4 years, 4 months ago (2016-08-04 18:36:20 UTC) #14
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/2151653002/240001
4 years, 4 months ago (2016-08-04 18:59:02 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 19:27:29 UTC) #19
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://skia.googlesource.com/skia/+/1b9e2fb49415d8dc41e449bee5f8ebec6f616d71

Powered by Google App Engine
This is Rietveld 408576698