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

Issue 392333008: Make GrCacheable implement its own ref counting. (Closed)

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

Description

Make GrCacheable implement its own ref counting. Committed: https://skia.googlesource.com/skia/+/dcabb05113a732636691abc16d643a091336aea5

Patch Set 1 #

Patch Set 2 : int32_t #

Total comments: 4

Patch Set 3 : Address comments #

Patch Set 4 : remove extra blank line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -46 lines) Patch
M gm/texdata.cpp View 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkRefCnt.h View 1 chunk +0 lines, -1 line 0 comments Download
M include/gpu/GrCacheable.h View 1 2 3 chunks +22 lines, -4 lines 0 comments Download
M include/gpu/GrContext.h View 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/GrGpuObject.h View 1 chunk +0 lines, -18 lines 0 comments Download
M include/gpu/GrTexture.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 2 chunks +3 lines, -10 lines 0 comments Download
M src/gpu/GrResourceCache.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrTexture.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M tests/ClipCacheTest.cpp View 4 chunks +1 line, -6 lines 0 comments Download
M tests/ReadWriteAlphaTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
bsalomon
6 years, 5 months ago (2014-07-21 19:55:19 UTC) #1
bsalomon
https://codereview.chromium.org/392333008/diff/20001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (left): https://codereview.chromium.org/392333008/diff/20001/src/gpu/GrContext.cpp#oldcode531 src/gpu/GrContext.cpp:531: } else if (texture->getDeferredRefCount() <= 0) { I think ...
6 years, 5 months ago (2014-07-21 20:14:46 UTC) #2
robertphillips
lgtm (modulo 1 fixup) https://codereview.chromium.org/392333008/diff/20001/include/gpu/GrCacheable.h File include/gpu/GrCacheable.h (right): https://codereview.chromium.org/392333008/diff/20001/include/gpu/GrCacheable.h#newcode19 include/gpu/GrCacheable.h:19: public: This macro call needs ...
6 years, 5 months ago (2014-07-21 20:53:05 UTC) #3
bsalomon
updated as discussed live.
6 years, 5 months ago (2014-07-21 21:05:14 UTC) #4
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 5 months ago (2014-07-21 21:10:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/392333008/60001
6 years, 5 months ago (2014-07-21 21:11:16 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-21 21:24:08 UTC) #7
Message was sent while issue was closed.
Change committed as dcabb05113a732636691abc16d643a091336aea5

Powered by Google App Engine
This is Rietveld 408576698