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

Issue 2065833002: Support pixel antialising in DirectWrite. (Closed)

Created:
4 years, 6 months ago by bungeman-skia
Modified:
3 years, 9 months ago
Reviewers:
andrei.bucur, mtklein, reed1
CC:
reviews_skia.org, corey.lucier
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Support pixel antialising in DirectWrite. DirectWrite2 supports pixel antialiasing and rendering without hinting. BUG=skia:5416 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2065833002 Committed: https://skia.googlesource.com/skia/+/bd770d619553a88eeaa64ff29082f62db5c9b4d2

Patch Set 1 #

Total comments: 4

Patch Set 2 : Spelling and define to hold off. #

Patch Set 3 : Why not const nullptr_t? #

Total comments: 4

Patch Set 4 : Move compile time warnings to top. #

Patch Set 5 : Rebase, use DEFAULT, fix HR and spacing. #

Patch Set 6 : Rebase and use default grid fit mode. #

Patch Set 7 : Always set the mode. #

Patch Set 8 : Actually always set a value, and handle errors. #

Patch Set 9 : Use the same grid fit mode no matter the rotation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -40 lines) Patch
M src/ports/SkFontMgr_win_dw.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkScalerContext_win_dw.h View 2 chunks +4 lines, -3 lines 0 comments Download
M src/ports/SkScalerContext_win_dw.cpp View 1 2 3 4 5 6 7 8 12 chunks +141 lines, -34 lines 0 comments Download
M src/ports/SkTypeface_win_dw.h View 1 2 3 4 5 6 7 8 3 chunks +21 lines, -0 lines 0 comments Download
M src/ports/SkTypeface_win_dw.cpp View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (14 generated)
bungeman-skia
4 years, 6 months ago (2016-06-14 13:44:10 UTC) #2
bungeman-skia
I think this handles all the various cases correctly after looking at almost all possible ...
4 years, 6 months ago (2016-06-14 14:40:53 UTC) #4
andrei.bucur
lgtm LGTM, thank you for moving this so fast! There was an extra question in ...
4 years, 6 months ago (2016-06-14 15:14:52 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065833002/20001
4 years, 6 months ago (2016-06-15 20:48:38 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-15 21:08:07 UTC) #9
bungeman-skia
Patch Set 2 adds SK_IGNORE_DW_GRAY_FIX so that the change to pixel anti-aliased glyphs will be ...
4 years, 6 months ago (2016-06-15 21:19:58 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065833002/40001
4 years, 6 months ago (2016-06-15 21:43:30 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-15 22:01:48 UTC) #14
mtklein
https://codereview.chromium.org/2065833002/diff/40001/src/ports/SkScalerContext_win_dw.h File src/ports/SkScalerContext_win_dw.h (right): https://codereview.chromium.org/2065833002/diff/40001/src/ports/SkScalerContext_win_dw.h#newcode79 src/ports/SkScalerContext_win_dw.h:79: DWRITE_TEXT_ANTIALIAS_MODE fAntiAliasMode; Looks like DWRITE_TEXT_ANTIALIAS_MODE (and _CLEARTYPE and _GRAYSCALE) ...
4 years, 6 months ago (2016-06-16 13:42:18 UTC) #15
bungeman-skia
https://codereview.chromium.org/2065833002/diff/40001/src/ports/SkScalerContext_win_dw.h File src/ports/SkScalerContext_win_dw.h (right): https://codereview.chromium.org/2065833002/diff/40001/src/ports/SkScalerContext_win_dw.h#newcode79 src/ports/SkScalerContext_win_dw.h:79: DWRITE_TEXT_ANTIALIAS_MODE fAntiAliasMode; On 2016/06/16 13:42:17, mtklein wrote: > Looks ...
4 years, 6 months ago (2016-06-16 14:31:13 UTC) #16
mtklein
lgtm, with a suggestion to hoist all the pragmas into one https://codereview.chromium.org/2065833002/diff/40001/src/ports/SkScalerContext_win_dw.cpp File src/ports/SkScalerContext_win_dw.cpp (right): ...
4 years, 6 months ago (2016-06-16 15:19:29 UTC) #17
bungeman-skia
https://codereview.chromium.org/2065833002/diff/40001/src/ports/SkScalerContext_win_dw.cpp File src/ports/SkScalerContext_win_dw.cpp (right): https://codereview.chromium.org/2065833002/diff/40001/src/ports/SkScalerContext_win_dw.cpp#newcode469 src/ports/SkScalerContext_win_dw.cpp:469: "Could not create DW2 glyph run analysis."); On 2016/06/16 ...
4 years, 6 months ago (2016-06-16 17:04:58 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065833002/60001
4 years, 6 months ago (2016-06-16 17:27:54 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/bd770d619553a88eeaa64ff29082f62db5c9b4d2
4 years, 6 months ago (2016-06-16 17:42:26 UTC) #24
bungeman-skia
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2075913002/ by bungeman@google.com. ...
4 years, 6 months ago (2016-06-16 21:41:41 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2065833002/140001
4 years, 5 months ago (2016-07-06 22:59:07 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 23:20:31 UTC) #31
bungeman-skia
3 years, 9 months ago (2017-03-02 16:04:25 UTC) #32
Message was sent while issue was closed.
This CL was resurrected and continued at
https://skia-review.googlesource.com/c/9145/ .

Powered by Google App Engine
This is Rietveld 408576698