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

Issue 205343008: Distance field fixes for Android (Closed)

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

Description

Distance field fixes for Android - Expand glyph size by 2 on each side to compensate for bilerp lookup - Correct for Adreno tendency to drop entire tile if any pixel has divide-by-0 - Fix blurriness on Adreno by using uv coords to compute gradient instead of st coords - Add faster version for uniform scale BUG=skia:2173 Committed: http://code.google.com/p/skia/source/detail?r=13955 Committed: http://code.google.com/p/skia/source/detail?r=13958

Patch Set 1 #

Patch Set 2 : Add uniform scale shader #

Total comments: 4

Patch Set 3 : Add new GrGLCap and remove size member #

Patch Set 4 : Remove test code #

Patch Set 5 : Fix int->float conversion issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -51 lines) Patch
M src/core/SkDistanceFieldGen.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/GrAtlas.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M src/gpu/GrAtlas.cpp View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M src/gpu/GrOvalRenderer.cpp View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/GrTextStrike.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M src/gpu/GrTextStrike.cpp View 3 chunks +13 lines, -6 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.h View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 2 3 4 6 chunks +52 lines, -23 lines 0 comments Download
M src/gpu/gl/GrGLCaps.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLCaps.cpp View 1 2 4 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jvanverth1
6 years, 9 months ago (2014-03-26 12:25:10 UTC) #1
bsalomon
https://codereview.chromium.org/205343008/diff/20001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp File src/gpu/effects/GrDistanceFieldTextureEffect.cpp (right): https://codereview.chromium.org/205343008/diff/20001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp#newcode78 src/gpu/effects/GrDistanceFieldTextureEffect.cpp:78: #ifdef SK_BUILD_FOR_ANDROID Can we make this a runtime check ...
6 years, 9 months ago (2014-03-26 13:18:58 UTC) #2
jvanverth1
https://codereview.chromium.org/205343008/diff/20001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp File src/gpu/effects/GrDistanceFieldTextureEffect.cpp (right): https://codereview.chromium.org/205343008/diff/20001/src/gpu/effects/GrDistanceFieldTextureEffect.cpp#newcode78 src/gpu/effects/GrDistanceFieldTextureEffect.cpp:78: #ifdef SK_BUILD_FOR_ANDROID On 2014/03/26 13:18:58, bsalomon wrote: > Can ...
6 years, 9 months ago (2014-03-26 16:24:00 UTC) #3
bsalomon
lgtm
6 years, 9 months ago (2014-03-26 17:27:46 UTC) #4
jvanverth1
The CQ bit was checked by jvanverth@google.com
6 years, 9 months ago (2014-03-26 17:44:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/205343008/100001
6 years, 9 months ago (2014-03-26 17:44:29 UTC) #6
commit-bot: I haz the power
Change committed as 13955
6 years, 9 months ago (2014-03-26 18:03:39 UTC) #7
jvanverth1
A revert of this CL has been created in https://codereview.chromium.org/212953008/ by jvanverth@google.com. The reason for ...
6 years, 9 months ago (2014-03-26 18:20:54 UTC) #8
jvanverth1
The CQ bit was checked by jvanverth@google.com
6 years, 9 months ago (2014-03-26 19:13:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/205343008/120001
6 years, 9 months ago (2014-03-26 19:14:04 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 19:49:20 UTC) #11
Message was sent while issue was closed.
Change committed as 13958

Powered by Google App Engine
This is Rietveld 408576698