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

Issue 424103002: Add effect caching to distance field text. (Closed)

Created:
6 years, 4 months ago by jvanverth1
Modified:
6 years, 4 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add effect caching to distance field text. This also is a step towards unifying GrDistanceFieldTextureEffect and GrDistanceFieldLCDTextureEffect. Committed: https://skia.googlesource.com/skia/+/137bac067306c5446bc4f9797bedc3bbaf302822 Committed: https://skia.googlesource.com/skia/+/78f0718f4dac8bdcc0df43a3280cf8a89d8cf87a

Patch Set 1 #

Patch Set 2 : Fix initialization. #

Total comments: 12

Patch Set 3 : Address nits. #

Patch Set 4 : Fix Windows compile error. #

Patch Set 5 : Fix Chrome compile error #

Patch Set 6 : Rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -65 lines) Patch
M src/gpu/GrDistanceFieldTextContext.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/gpu/GrDistanceFieldTextContext.cpp View 1 2 5 chunks +65 lines, -36 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.h View 1 2 8 chunks +30 lines, -14 lines 0 comments Download
M src/gpu/effects/GrDistanceFieldTextureEffect.cpp View 1 2 3 4 5 12 chunks +30 lines, -15 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jvanverth1
6 years, 4 months ago (2014-07-29 13:32:15 UTC) #1
robertphillips
lgtm + suggestions https://codereview.chromium.org/424103002/diff/20001/src/gpu/GrDistanceFieldTextContext.cpp File src/gpu/GrDistanceFieldTextContext.cpp (right): https://codereview.chromium.org/424103002/diff/20001/src/gpu/GrDistanceFieldTextContext.cpp#newcode69 src/gpu/GrDistanceFieldTextContext.cpp:69: fEffectTextureUniqueID = SK_InvalidUniqueID; fEffectColor = XXX; ...
6 years, 4 months ago (2014-07-29 14:01:06 UTC) #2
jvanverth1
https://codereview.chromium.org/424103002/diff/20001/src/gpu/GrDistanceFieldTextContext.cpp File src/gpu/GrDistanceFieldTextContext.cpp (right): https://codereview.chromium.org/424103002/diff/20001/src/gpu/GrDistanceFieldTextContext.cpp#newcode69 src/gpu/GrDistanceFieldTextContext.cpp:69: fEffectTextureUniqueID = SK_InvalidUniqueID; On 2014/07/29 14:01:06, robertphillips wrote: > ...
6 years, 4 months ago (2014-07-29 14:43:42 UTC) #3
jvanverth1
The CQ bit was checked by jvanverth@google.com
6 years, 4 months ago (2014-07-29 14:43:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/424103002/40001
6 years, 4 months ago (2014-07-29 14:43:58 UTC) #5
jvanverth1
The CQ bit was checked by jvanverth@google.com
6 years, 4 months ago (2014-07-29 15:13:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/424103002/60001
6 years, 4 months ago (2014-07-29 15:14:02 UTC) #7
commit-bot: I haz the power
Change committed as 137bac067306c5446bc4f9797bedc3bbaf302822
6 years, 4 months ago (2014-07-29 15:29:54 UTC) #8
benchen
A revert of this CL has been created in https://codereview.chromium.org/424173002/ by bensong@google.com. The reason for ...
6 years, 4 months ago (2014-07-29 17:35:29 UTC) #9
jvanverth1
The CQ bit was checked by jvanverth@google.com
6 years, 4 months ago (2014-07-29 19:47:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/424103002/80001
6 years, 4 months ago (2014-07-29 19:47:45 UTC) #11
jvanverth1
The CQ bit was unchecked by jvanverth@google.com
6 years, 4 months ago (2014-07-29 19:53:49 UTC) #12
jvanverth1
The CQ bit was checked by jvanverth@google.com
6 years, 4 months ago (2014-07-30 12:54:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/424103002/80001
6 years, 4 months ago (2014-07-30 12:55:06 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-30 12:55:07 UTC) #15
commit-bot: I haz the power
Failed to apply patch for src/gpu/effects/GrDistanceFieldTextureEffect.cpp: While running git apply --index -p1; <stdin>:115: trailing whitespace. ...
6 years, 4 months ago (2014-07-30 12:55:08 UTC) #16
jvanverth1
The CQ bit was checked by jvanverth@google.com
6 years, 4 months ago (2014-07-30 13:05:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/424103002/100001
6 years, 4 months ago (2014-07-30 13:06:06 UTC) #18
commit-bot: I haz the power
6 years, 4 months ago (2014-07-30 13:18:04 UTC) #19
Message was sent while issue was closed.
Change committed as 78f0718f4dac8bdcc0df43a3280cf8a89d8cf87a

Powered by Google App Engine
This is Rietveld 408576698