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

Issue 1047803004: skia: Fix text subpixel half sample default for GPU rasterization (Closed)

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

Description

skia: Fix text subpixel half sample default for GPU rasterization In software, SkDraw1Glyph::Proc SkDraw1Glyph::init initializes fHalfSampleX, fHalfSampleY to SkGlyph::kSubpixelRound. In hardware, however, these values were initialized to zero. Fix, match software's implementation BUG=471919 Committed: https://skia.googlesource.com/skia/+/e0f812a7a107986dfa72e6855c1608b077428136

Patch Set 1 #

Patch Set 2 : move declaration of halfSampleX, Y #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M src/gpu/GrBitmapTextContext.cpp View 1 4 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
hendrikw
PTAL, thanks!
5 years, 8 months ago (2015-03-31 00:19:07 UTC) #2
bsalomon
looks like a change to me. :) I don't really know much about the text ...
5 years, 8 months ago (2015-03-31 15:02:35 UTC) #4
jvanverth1
LGTM. One thought -- it might be cleaner to move the definition of halfSampleX and ...
5 years, 8 months ago (2015-03-31 17:48:57 UTC) #5
hendrikw
Yeah, good idea, done!
5 years, 8 months ago (2015-03-31 18:08:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1047803004/20001
5 years, 8 months ago (2015-03-31 18:34:16 UTC) #9
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 19:02:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/e0f812a7a107986dfa72e6855c1608b077428136

Powered by Google App Engine
This is Rietveld 408576698