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

Issue 1863013003: Pass effects directly to fontcache (Closed)

Created:
4 years, 8 months ago by reed1
Modified:
4 years, 8 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

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : still need to understand the GPU side: see SK_DUMMY_EFFECTS #

Patch Set 4 : removed DUMMY effects #

Total comments: 2

Patch Set 5 : manual rebase #

Patch Set 6 : update freetype backend #

Patch Set 7 : fix win side #

Total comments: 2

Patch Set 8 : name the empty effects #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -169 lines) Patch
M include/core/SkPaint.h View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M include/core/SkTypeface.h View 1 2 5 chunks +4 lines, -4 lines 0 comments Download
M src/core/SkGlyphCache.h View 1 2 3 4 3 chunks +7 lines, -5 lines 0 comments Download
M src/core/SkGlyphCache.cpp View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M src/core/SkPaint.cpp View 1 2 3 4 6 chunks +16 lines, -11 lines 0 comments Download
M src/core/SkScalerContext.h View 1 2 3 4 4 chunks +20 lines, -8 lines 0 comments Download
M src/core/SkScalerContext.cpp View 1 2 7 chunks +18 lines, -37 lines 0 comments Download
M src/core/SkTypeface.cpp View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M src/fonts/SkGScalerContext.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/fonts/SkGScalerContext.cpp View 1 2 3 chunks +36 lines, -40 lines 0 comments Download
M src/fonts/SkRandomScalerContext.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/fonts/SkRandomScalerContext.cpp View 1 2 3 chunks +10 lines, -7 lines 0 comments Download
M src/fonts/SkTestScalerContext.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/fonts/SkTestScalerContext.cpp View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M src/gpu/GrPathRendering.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrPathRendering.cpp View 1 2 3 4 chunks +9 lines, -4 lines 0 comments Download
M src/gpu/GrResourceProvider.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrResourceProvider.cpp View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M src/gpu/text/GrAtlasTextBlob.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/text/GrAtlasTextBlob.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/text/GrStencilAndCoverTextContext.cpp View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M src/gpu/text/GrTextUtils.cpp View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 2 3 4 5 3 chunks +8 lines, -6 lines 0 comments Download
M src/ports/SkFontHost_FreeType_common.h View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M src/ports/SkFontHost_mac.cpp View 1 2 3 4 5 4 chunks +8 lines, -5 lines 0 comments Download
M src/ports/SkFontHost_win.cpp View 1 2 3 4 5 6 4 chunks +10 lines, -6 lines 0 comments Download
M src/ports/SkScalerContext_win_dw.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkScalerContext_win_dw.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M src/ports/SkTypeface_win_dw.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M src/ports/SkTypeface_win_dw.cpp View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M tests/FontMgrTest.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 35 (13 generated)
reed1
incomplete and experimental
4 years, 8 months ago (2016-04-06 12:56:53 UTC) #3
f(malita)
https://codereview.chromium.org/1863013003/diff/20001/src/core/SkScalerContext.cpp File src/core/SkScalerContext.cpp (right): https://codereview.chromium.org/1863013003/diff/20001/src/core/SkScalerContext.cpp#newcode86 src/core/SkScalerContext.cpp:86: , fRasterizer(effects.fRasterizer) Is there a way to take advantage ...
4 years, 8 months ago (2016-04-06 13:28:32 UTC) #4
reed1
4 years, 8 months ago (2016-04-06 16:58:24 UTC) #6
msarett
This lines up with what I was thinking of what I was thinking. +1 for ...
4 years, 8 months ago (2016-04-06 17:05:38 UTC) #7
bungeman-skia
seems like a good idea now. If SkPaint were also ref counted we could do ...
4 years, 8 months ago (2016-04-06 17:52:11 UTC) #8
reed1
rev #3 builds, but I have stubbed out some GPU logic, where I think I'll ...
4 years, 8 months ago (2016-04-06 20:48:21 UTC) #9
reed1
ptal -- will update win and freetype scalercontexts next
4 years, 8 months ago (2016-04-07 23:55:40 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863013003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863013003/60001
4 years, 8 months ago (2016-04-08 00:13:26 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/7694) Build-Ubuntu-Clang-x86_64-Debug-Trybot on ...
4 years, 8 months ago (2016-04-08 00:14:42 UTC) #15
bungeman-skia
https://codereview.chromium.org/1863013003/diff/60001/src/gpu/text/GrStencilAndCoverTextContext.cpp File src/gpu/text/GrStencilAndCoverTextContext.cpp (right): https://codereview.chromium.org/1863013003/diff/60001/src/gpu/text/GrStencilAndCoverTextContext.cpp#newcode542 src/gpu/text/GrStencilAndCoverTextContext.cpp:542: glyphs = ctx->resourceProvider()->createGlyphs(fFont.getTypeface(),{},nullptr, fStroke); This is kind of like ...
4 years, 8 months ago (2016-04-08 14:42:06 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863013003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863013003/100001
4 years, 8 months ago (2016-04-08 19:24:25 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/7792)
4 years, 8 months ago (2016-04-08 19:32:14 UTC) #20
reed1
https://codereview.chromium.org/1863013003/diff/60001/src/gpu/text/GrStencilAndCoverTextContext.cpp File src/gpu/text/GrStencilAndCoverTextContext.cpp (right): https://codereview.chromium.org/1863013003/diff/60001/src/gpu/text/GrStencilAndCoverTextContext.cpp#newcode542 src/gpu/text/GrStencilAndCoverTextContext.cpp:542: glyphs = ctx->resourceProvider()->createGlyphs(fFont.getTypeface(),{},nullptr, fStroke); On 2016/04/08 14:42:06, bungeman1 wrote: ...
4 years, 8 months ago (2016-04-08 19:37:20 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863013003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863013003/120001
4 years, 8 months ago (2016-04-08 19:37:39 UTC) #23
reed1
ptal
4 years, 8 months ago (2016-04-08 19:43:48 UTC) #25
reed1
matt's work on drawables is somewhat dependent on this change. Are there other concerns?
4 years, 8 months ago (2016-04-11 11:41:16 UTC) #26
bungeman-skia
lgtm https://codereview.chromium.org/1863013003/diff/120001/src/core/SkTypeface.cpp File src/core/SkTypeface.cpp (right): https://codereview.chromium.org/1863013003/diff/120001/src/core/SkTypeface.cpp#newcode352 src/core/SkTypeface.cpp:352: SkAutoTDelete<SkScalerContext> ctx(this->createScalerContext({}, desc, true)); nit: It would be ...
4 years, 8 months ago (2016-04-11 14:19:21 UTC) #27
reed1
https://codereview.chromium.org/1863013003/diff/120001/src/core/SkTypeface.cpp File src/core/SkTypeface.cpp (right): https://codereview.chromium.org/1863013003/diff/120001/src/core/SkTypeface.cpp#newcode352 src/core/SkTypeface.cpp:352: SkAutoTDelete<SkScalerContext> ctx(this->createScalerContext({}, desc, true)); On 2016/04/11 14:19:21, bungeman1 wrote: ...
4 years, 8 months ago (2016-04-11 14:40:48 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863013003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863013003/140001
4 years, 8 months ago (2016-04-11 14:41:08 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://skia.googlesource.com/skia/+/c79172857c3f69cc46837e1beeae0c1ead377bb2
4 years, 8 months ago (2016-04-11 14:51:11 UTC) #33
borenet
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/1872253004/ by borenet@google.com. ...
4 years, 8 months ago (2016-04-11 17:25:11 UTC) #34
bungeman-skia
4 years, 8 months ago (2016-04-11 18:02:51 UTC) #35
Message was sent while issue was closed.
On 2016/04/11 17:25:11, borenet wrote:
> A revert of this CL (patchset #8 id:140001) has been created in
> https://codereview.chromium.org/1872253004/ by mailto:borenet@google.com.
> 
> The reason for reverting is: Seems to have broken the DEPS roll..

Due to Chromium's content\child\font_warmup_win_unittest.cc .

Powered by Google App Engine
This is Rietveld 408576698