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

Issue 1760163002: Avoid drawing NVPR DIF text when text size is 0 (Closed)

Created:
4 years, 9 months ago by Kimmo Kinnunen
Modified:
4 years, 9 months ago
CC:
reviews_skia.org, Chris Dalton, bsalomon
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Avoid drawing NVPR DIF text when text size is 0 Avoid drawing text when using NVPR and device independent fonts. The drawing calculations cause division by zero and produce NaNs to transforms (due to fTextInverseRatio). Reproed by top25desk_twitter.skp as well as the added testcase. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1760163002 Committed: https://skia.googlesource.com/skia/+/68c63b3727f05638a95fcf5f65c5476a2fcb34d0

Patch Set 1 #

Total comments: 2

Patch Set 2 : address review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -10 lines) Patch
M gm/textblobmixedsizes.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLPath.cpp View 3 chunks +10 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLPathRendering.cpp View 1 4 chunks +20 lines, -0 lines 0 comments Download
M src/gpu/text/GrStencilAndCoverTextContext.cpp View 4 chunks +18 lines, -10 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Kimmo Kinnunen
Not sure to which level we should propagate the text drawing calls with text size ...
4 years, 9 months ago (2016-03-03 14:00:35 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1760163002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1760163002/1
4 years, 9 months ago (2016-03-03 14:02:29 UTC) #5
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 9 months ago (2016-03-03 14:02:30 UTC) #6
bsalomon
Over to Joshua and Jim
4 years, 9 months ago (2016-03-03 14:26:01 UTC) #8
joshualitt
On 2016/03/03 14:26:01, bsalomon wrote: > Over to Joshua and Jim Looks fine to me, ...
4 years, 9 months ago (2016-03-03 14:28:14 UTC) #9
jvanverth1
lgtm + nit https://codereview.chromium.org/1760163002/diff/1/src/gpu/gl/GrGLPathRendering.cpp File src/gpu/gl/GrGLPathRendering.cpp (right): https://codereview.chromium.org/1760163002/diff/1/src/gpu/gl/GrGLPathRendering.cpp#newcode232 src/gpu/gl/GrGLPathRendering.cpp:232: SkDEBUGCODE( Is there a reason this ...
4 years, 9 months ago (2016-03-03 15:29:06 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-03 15:31:18 UTC) #12
Kimmo Kinnunen
thanks https://codereview.chromium.org/1760163002/diff/1/src/gpu/gl/GrGLPathRendering.cpp File src/gpu/gl/GrGLPathRendering.cpp (right): https://codereview.chromium.org/1760163002/diff/1/src/gpu/gl/GrGLPathRendering.cpp#newcode232 src/gpu/gl/GrGLPathRendering.cpp:232: SkDEBUGCODE( On 2016/03/03 15:29:06, jvanverth1 wrote: > Is ...
4 years, 9 months ago (2016-03-04 08:03:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1760163002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1760163002/20001
4 years, 9 months ago (2016-03-04 08:03:19 UTC) #16
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 08:12:38 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/68c63b3727f05638a95fcf5f65c5476a2fcb34d0

Powered by Google App Engine
This is Rietveld 408576698