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

Issue 707493002: Use GrResourceCache2 to service content key lookups (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
Project:
skia
Visibility:
Public.

Description

Use GrResourceCache2 to service content key lookups BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/8b79d23f825cd9e0f9e3bf8aaa9e209940b17ef6

Patch Set 1 #

Patch Set 2 : rebase on tot #

Total comments: 17

Patch Set 3 : Address comments #

Patch Set 4 : Fix comments #

Patch Set 5 : Update benchmark #

Patch Set 6 : change null checks #

Patch Set 7 : move #ifdef SK_SUPPORT_GPU #

Unified diffs Side-by-side diffs Delta from patch set Stats (+397 lines, -133 lines) Patch
M bench/GrResourceCacheBench.cpp View 1 2 3 4 5 6 9 chunks +53 lines, -26 lines 0 comments Download
M include/gpu/GrContext.h View 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/GrGpuResource.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkTMultiMap.h View 1 chunk +13 lines, -0 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 chunks +12 lines, -13 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 2 3 2 chunks +3 lines, -6 lines 0 comments Download
M src/gpu/GrGpuResource.cpp View 1 2 3 chunks +21 lines, -2 lines 0 comments Download
M src/gpu/GrResourceCache.h View 2 chunks +4 lines, -13 lines 0 comments Download
M src/gpu/GrResourceCache.cpp View 3 chunks +11 lines, -21 lines 0 comments Download
M src/gpu/GrResourceCache2.h View 4 chunks +39 lines, -1 line 0 comments Download
M src/gpu/GrResourceCache2.cpp View 5 chunks +28 lines, -1 line 0 comments Download
M src/gpu/GrTexture.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M tests/ResourceCacheTest.cpp View 1 2 3 9 chunks +207 lines, -47 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
bsalomon
6 years, 1 month ago (2014-11-07 19:27:46 UTC) #7
robertphillips
Painful but lgtm + some dox suggestions & questions. https://codereview.chromium.org/707493002/diff/120001/include/gpu/GrGpuResource.h File include/gpu/GrGpuResource.h (right): https://codereview.chromium.org/707493002/diff/120001/include/gpu/GrGpuResource.h#newcode174 include/gpu/GrGpuResource.h:174: ...
6 years, 1 month ago (2014-11-07 20:32:13 UTC) #8
bsalomon
https://codereview.chromium.org/707493002/diff/120001/include/gpu/GrGpuResource.h File include/gpu/GrGpuResource.h (right): https://codereview.chromium.org/707493002/diff/120001/include/gpu/GrGpuResource.h#newcode174 include/gpu/GrGpuResource.h:174: On 2014/11/07 20:32:12, robertphillips wrote: > // Returns true ...
6 years, 1 month ago (2014-11-07 21:48:44 UTC) #9
robertphillips
https://codereview.chromium.org/707493002/diff/120001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): https://codereview.chromium.org/707493002/diff/120001/src/gpu/GrContext.cpp#newcode258 src/gpu/GrContext.cpp:258: On 2014/11/07 21:48:44, bsalomon wrote: > On 2014/11/07 20:32:12, ...
6 years, 1 month ago (2014-11-10 13:28:26 UTC) #10
bsalomon
https://codereview.chromium.org/707493002/diff/120001/tests/ResourceCacheTest.cpp File tests/ResourceCacheTest.cpp (right): https://codereview.chromium.org/707493002/diff/120001/tests/ResourceCacheTest.cpp#newcode251 tests/ResourceCacheTest.cpp:251: On 2014/11/10 13:28:26, robertphillips wrote: > > Don't they ...
6 years, 1 month ago (2014-11-10 14:14:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/707493002/160001
6 years, 1 month ago (2014-11-10 16:14:58 UTC) #13
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/509) 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/526)
6 years, 1 month ago (2014-11-10 16:17:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/707493002/200001
6 years, 1 month ago (2014-11-10 18:00:58 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/538)
6 years, 1 month ago (2014-11-10 18:03:00 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/707493002/220001
6 years, 1 month ago (2014-11-10 18:11:08 UTC) #23
commit-bot: I haz the power
6 years, 1 month ago (2014-11-10 18:19:10 UTC) #24
Message was sent while issue was closed.
Committed patchset #7 (id:220001) as
https://skia.googlesource.com/skia/+/8b79d23f825cd9e0f9e3bf8aaa9e209940b17ef6

Powered by Google App Engine
This is Rietveld 408576698