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

Issue 670063004: Add SkMaskCache (Closed)

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

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix windows build and a nit #

Patch Set 3 : minor format fix #

Patch Set 4 : fix windows build #

Patch Set 5 : add style and quality to mask key #

Total comments: 5

Patch Set 6 : fix SkRRect #

Total comments: 4

Patch Set 7 : add namespace for key in MaskCache #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -0 lines) Patch
M gyp/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A src/core/SkMaskCache.h View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
A src/core/SkMaskCache.cpp View 1 2 3 4 5 6 1 chunk +173 lines, -0 lines 1 comment Download
M src/core/SkResourceCache.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkResourceCache.cpp View 1 2 3 4 5 6 2 chunks +14 lines, -0 lines 0 comments Download
A tests/MaskCacheTest.cpp View 1 2 3 4 1 chunk +105 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
qiankun
PTAL.
6 years, 2 months ago (2014-10-22 08:18:40 UTC) #2
reed1
lgtm w/ nit about "int" https://codereview.chromium.org/670063004/diff/1/src/core/SkMaskCache.h File src/core/SkMaskCache.h (right): https://codereview.chromium.org/670063004/diff/1/src/core/SkMaskCache.h#newcode28 src/core/SkMaskCache.h:28: int32_t count, SkMask* mask, ...
6 years, 2 months ago (2014-10-22 13:36:20 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/670063004/1
6 years, 2 months ago (2014-10-22 13:46:56 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/162)
6 years, 2 months ago (2014-10-22 13:52:07 UTC) #7
reed1
Hmmm, I think we need to add blurStyle to the key, since the results vary ...
6 years, 2 months ago (2014-10-22 14:13:58 UTC) #8
reed1
On 2014/10/22 14:13:58, reed1 wrote: > Hmmm, I think we need to add blurStyle to ...
6 years, 2 months ago (2014-10-22 14:15:51 UTC) #9
f(malita)
Is it safe to throw the new key types into the global resource cache? I ...
6 years, 2 months ago (2014-10-22 14:28:07 UTC) #11
qiankun1
On 2014/10/22 14:28:07, Florin Malita wrote: > Is it safe to throw the new key ...
6 years, 2 months ago (2014-10-22 14:40:08 UTC) #12
qiankun1
On 2014/10/22 14:15:51, reed1 wrote: > On 2014/10/22 14:13:58, reed1 wrote: > > Hmmm, I ...
6 years, 2 months ago (2014-10-22 14:41:06 UTC) #13
reed1
https://codereview.chromium.org/670063004/diff/80001/src/core/SkMaskCache.cpp File src/core/SkMaskCache.cpp (right): https://codereview.chromium.org/670063004/diff/80001/src/core/SkMaskCache.cpp#newcode29 src/core/SkMaskCache.cpp:29: SkRRect fRRect; SkRRect has as its last field an ...
6 years, 2 months ago (2014-10-22 16:05:27 UTC) #15
robertphillips
https://codereview.chromium.org/670063004/diff/80001/src/core/SkMaskCache.cpp File src/core/SkMaskCache.cpp (right): https://codereview.chromium.org/670063004/diff/80001/src/core/SkMaskCache.cpp#newcode29 src/core/SkMaskCache.cpp:29: SkRRect fRRect; I think we should "fix" SkRRect. Additionally, ...
6 years, 2 months ago (2014-10-22 16:52:25 UTC) #16
qiankun
https://codereview.chromium.org/670063004/diff/80001/src/core/SkMaskCache.cpp File src/core/SkMaskCache.cpp (right): https://codereview.chromium.org/670063004/diff/80001/src/core/SkMaskCache.cpp#newcode29 src/core/SkMaskCache.cpp:29: SkRRect fRRect; What about only use rect and radii ...
6 years, 2 months ago (2014-10-22 17:19:54 UTC) #17
reed1
Thanks for the enum-ints. Florin just landed a good fix to add a unique void* ...
6 years, 2 months ago (2014-10-22 18:26:16 UTC) #18
f(malita)
Just landed a Key change which clashes with this CL, sorry. Probably better to force ...
6 years, 2 months ago (2014-10-22 18:31:32 UTC) #19
qiankun
https://codereview.chromium.org/670063004/diff/100001/src/core/SkMaskCache.cpp File src/core/SkMaskCache.cpp (right): https://codereview.chromium.org/670063004/diff/100001/src/core/SkMaskCache.cpp#newcode30 src/core/SkMaskCache.cpp:30: this->init(sizeof(fSigma) + sizeof(fRect) + sizeof(fRadii) + sizeof(fStyle) + sizeof(fQuality)); ...
6 years, 2 months ago (2014-10-23 02:51:10 UTC) #20
reed1
lgtm https://codereview.chromium.org/670063004/diff/120001/src/core/SkMaskCache.cpp File src/core/SkMaskCache.cpp (right): https://codereview.chromium.org/670063004/diff/120001/src/core/SkMaskCache.cpp#newcode104 src/core/SkMaskCache.cpp:104: SkASSERT(1 == count || 2 == count); nice
6 years, 2 months ago (2014-10-23 14:06:47 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/670063004/120001
6 years, 2 months ago (2014-10-23 14:36:23 UTC) #23
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 14:58:22 UTC) #24
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as d9aac34eceeb197c5551f38583670be7729dd00a

Powered by Google App Engine
This is Rietveld 408576698