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

Issue 1013773002: Fix SDF gradient calculation for non-uniform xforms (Closed)

Created:
5 years, 9 months ago by jvanverth1
Modified:
5 years, 9 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix SDF gradient calculation for non-uniform xforms Also adds two non-uniform test cases to the dftext GM. BUG=skia:3540 Committed: https://skia.googlesource.com/skia/+/354eba5cb61801130a84378356434d3cc0a4b71a

Patch Set 1 #

Patch Set 2 : Update comments #

Patch Set 3 : Missed a comment #

Total comments: 12

Patch Set 4 : Fix bugs and address comments #

Total comments: 4

Patch Set 5 : Move Jdx & Jdy calcs down to where they're used #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -53 lines) Patch
M gm/dftext.cpp View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 2 3 4 3 chunks +62 lines, -53 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
jvanverth1
5 years, 9 months ago (2015-03-16 16:30:22 UTC) #2
robertphillips
https://codereview.chromium.org/1013773002/diff/40001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp File src/gpu/effects/GrDistanceFieldTextureEffect.cpp (right): https://codereview.chromium.org/1013773002/diff/40001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp#newcode98 src/gpu/effects/GrDistanceFieldTextureEffect.cpp:98: } else { overlength ? https://codereview.chromium.org/1013773002/diff/40001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp#newcode111 src/gpu/effects/GrDistanceFieldTextureEffect.cpp:111: fsBuilder->codeAppend("} else ...
5 years, 9 months ago (2015-03-16 16:56:44 UTC) #3
jvanverth1
Addressed the comments and fixed some other things found after running on the S3. https://codereview.chromium.org/1013773002/diff/40001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp ...
5 years, 9 months ago (2015-03-16 17:55:37 UTC) #4
robertphillips
lgtm https://codereview.chromium.org/1013773002/diff/60001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp File src/gpu/effects/GrDistanceFieldTextureEffect.cpp (right): https://codereview.chromium.org/1013773002/diff/60001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp#newcode101 src/gpu/effects/GrDistanceFieldTextureEffect.cpp:101: // (which is the inverse transform for this ...
5 years, 9 months ago (2015-03-16 18:11:36 UTC) #5
jvanverth1
https://codereview.chromium.org/1013773002/diff/60001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp File src/gpu/effects/GrDistanceFieldTextureEffect.cpp (right): https://codereview.chromium.org/1013773002/diff/60001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp#newcode101 src/gpu/effects/GrDistanceFieldTextureEffect.cpp:101: // (which is the inverse transform for this fragment) ...
5 years, 9 months ago (2015-03-16 18:17:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1013773002/80001
5 years, 9 months ago (2015-03-16 18:17:57 UTC) #9
commit-bot: I haz the power
5 years, 9 months ago (2015-03-16 18:32:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/354eba5cb61801130a84378356434d3cc0a4b71a

Powered by Google App Engine
This is Rietveld 408576698