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

Issue 716143004: Replace GrResourceCache with GrResourceCache2. (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : tiny cleanup #

Patch Set 3 : fix copy by reference #

Patch Set 4 : fix bench #

Patch Set 5 : fix uncalled function #

Total comments: 26

Patch Set 6 : Address comments #

Patch Set 7 : Restore the auto flush stuff :( #

Patch Set 8 : fix asserts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+720 lines, -972 lines) Patch
M bench/GrResourceCacheBench.cpp View 1 2 3 4 5 5 chunks +13 lines, -19 lines 0 comments Download
M gyp/gpu.gyp View 1 chunk +0 lines, -10 lines 0 comments Download
M gyp/gpu.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M include/gpu/GrConfig.h View 1 chunk +0 lines, -18 lines 0 comments Download
M include/gpu/GrContext.h View 1 2 3 4 5 6 6 chunks +2 lines, -8 lines 0 comments Download
M include/gpu/GrGpuResource.h View 3 chunks +1 line, -3 lines 0 comments Download
M include/gpu/GrUserConfig.h View 1 chunk +0 lines, -12 lines 0 comments Download
M include/gpu/SkGr.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/gpu/GrAADistanceFieldPathRenderer.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrBufferAllocPool.cpp View 1 2 3 4 5 6 7 2 chunks +17 lines, -10 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 6 16 chunks +28 lines, -50 lines 0 comments Download
M src/gpu/GrGpuResource.cpp View 6 chunks +19 lines, -14 lines 0 comments Download
M src/gpu/GrGpuResourceCacheAccess.h View 1 chunk +0 lines, -19 lines 0 comments Download
M src/gpu/GrPath.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/GrPathRange.h View 1 chunk +0 lines, -1 line 0 comments Download
D src/gpu/GrResourceCache.h View 1 chunk +0 lines, -251 lines 0 comments Download
D src/gpu/GrResourceCache.cpp View 1 chunk +0 lines, -393 lines 0 comments Download
M src/gpu/GrResourceCache2.h View 1 2 3 4 5 4 chunks +189 lines, -14 lines 0 comments Download
M src/gpu/GrResourceCache2.cpp View 1 2 3 4 5 6 7 7 chunks +298 lines, -3 lines 0 comments Download
M src/gpu/GrStencilBuffer.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M src/gpu/GrTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/GrTexture.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/gpu/SkGr.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M tests/ResourceCacheTest.cpp View 1 2 3 4 5 19 chunks +145 lines, -109 lines 0 comments Download
M tests/SurfaceTest.cpp View 2 chunks +0 lines, -29 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
bsalomon
6 years, 1 month ago (2014-11-12 21:56:01 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/716143004/20001
6 years, 1 month ago (2014-11-12 22:18:27 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-12 22:18:28 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot/builds/603) Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot/builds/617)
6 years, 1 month ago (2014-11-12 22:20:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/716143004/40001
6 years, 1 month ago (2014-11-12 23:43:55 UTC) #9
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-12 23:43:56 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.8-Clang-x86_64-Release-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.8-Clang-x86_64-Release-Trybot/builds/619) Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot/builds/605) Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot ...
6 years, 1 month ago (2014-11-12 23:46:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/716143004/60001
6 years, 1 month ago (2014-11-13 01:12:51 UTC) #14
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-13 01:12:52 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot/builds/607) 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/920)
6 years, 1 month ago (2014-11-13 01:15:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/716143004/80001
6 years, 1 month ago (2014-11-13 01:42:47 UTC) #19
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-13 01:42:48 UTC) #20
robertphillips
lgtm + nits https://codereview.chromium.org/716143004/diff/80001/bench/GrResourceCacheBench.cpp File bench/GrResourceCacheBench.cpp (right): https://codereview.chromium.org/716143004/diff/80001/bench/GrResourceCacheBench.cpp#newcode90 bench/GrResourceCacheBench.cpp:90: static void get_texture_desc(int i, GrSurfaceDesc* desc) ...
6 years, 1 month ago (2014-11-13 14:34:04 UTC) #22
bsalomon
https://codereview.chromium.org/716143004/diff/80001/bench/GrResourceCacheBench.cpp File bench/GrResourceCacheBench.cpp (right): https://codereview.chromium.org/716143004/diff/80001/bench/GrResourceCacheBench.cpp#newcode90 bench/GrResourceCacheBench.cpp:90: static void get_texture_desc(int i, GrSurfaceDesc* desc) { On 2014/11/13 ...
6 years, 1 month ago (2014-11-13 14:51:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/716143004/100001
6 years, 1 month ago (2014-11-13 21:08:08 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/66a450f21a3da174b7eed89a1d5fc8591e8b6ee6
6 years, 1 month ago (2014-11-13 21:19:25 UTC) #26
bsalomon
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/715333003/ by bsalomon@google.com. ...
6 years, 1 month ago (2014-11-13 21:31:36 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/716143004/120001
6 years, 1 month ago (2014-11-14 14:20:59 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://skia.googlesource.com/skia/+/407aa584d183c1bf314f5defd1cf0202e8a96c89
6 years, 1 month ago (2014-11-14 14:29:45 UTC) #30
bsalomon
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/726913002/ by bsalomon@google.com. ...
6 years, 1 month ago (2014-11-14 14:46:55 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/716143004/140001
6 years, 1 month ago (2014-11-14 20:00:28 UTC) #33
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 20:10:20 UTC) #34
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/skia/+/71cb0c241e439b6ed746b90294d0b6916644a644

Powered by Google App Engine
This is Rietveld 408576698