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

Issue 815833004: Add a simpler key type for scratch resource keys. (Closed)

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

Description

Add a simpler key type for scratch resource keys. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/7775c85611c734a2af709b3a9c127939a4296c48

Patch Set 1 #

Patch Set 2 : update #

Total comments: 8

Patch Set 3 : Address comments and add static to scratch key domain in unit test. #

Patch Set 4 : fix warning? #

Patch Set 5 : another attempt at warning #

Patch Set 6 : final fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -198 lines) Patch
M bench/GrResourceCacheBench.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M include/gpu/GrGpuResource.h View 2 chunks +3 lines, -4 lines 0 comments Download
M include/gpu/GrResourceKey.h View 1 2 3 chunks +93 lines, -36 lines 0 comments Download
M src/gpu/GrContext.cpp View 2 chunks +7 lines, -3 lines 0 comments Download
M src/gpu/GrGpu.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrGpuResource.cpp View 4 chunks +7 lines, -10 lines 0 comments Download
M src/gpu/GrGpuResourceCacheAccess.h View 1 chunk +3 lines, -4 lines 0 comments Download
M src/gpu/GrPath.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M src/gpu/GrPathRange.h View 1 chunk +0 lines, -8 lines 0 comments Download
M src/gpu/GrResourceCache2.h View 4 chunks +5 lines, -8 lines 0 comments Download
M src/gpu/GrResourceCache2.cpp View 1 2 7 chunks +20 lines, -26 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/gpu/GrStencilBuffer.h View 2 chunks +4 lines, -2 lines 0 comments Download
M src/gpu/GrStencilBuffer.cpp View 1 chunk +8 lines, -30 lines 0 comments Download
M src/gpu/GrTexture.cpp View 1 2 3 4 5 3 chunks +22 lines, -19 lines 0 comments Download
M src/gpu/GrTexturePriv.h View 1 chunk +1 line, -6 lines 0 comments Download
M tests/ResourceCacheTest.cpp View 1 2 14 chunks +29 lines, -35 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
bsalomon
5 years, 11 months ago (2014-12-29 22:27:30 UTC) #2
robertphillips
lgtm + some clarity suggestions https://codereview.chromium.org/815833004/diff/20001/include/gpu/GrResourceKey.h File include/gpu/GrResourceKey.h (right): https://codereview.chromium.org/815833004/diff/20001/include/gpu/GrResourceKey.h#newcode88 include/gpu/GrResourceKey.h:88: private: This enum is ...
5 years, 11 months ago (2014-12-30 18:19:52 UTC) #3
bsalomon
https://codereview.chromium.org/815833004/diff/20001/include/gpu/GrResourceKey.h File include/gpu/GrResourceKey.h (right): https://codereview.chromium.org/815833004/diff/20001/include/gpu/GrResourceKey.h#newcode88 include/gpu/GrResourceKey.h:88: private: On 2014/12/30 18:19:52, robertphillips wrote: > This enum ...
5 years, 11 months ago (2014-12-30 18:37:09 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815833004/40001
5 years, 11 months ago (2014-12-30 18:38:45 UTC) #6
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/1323)
5 years, 11 months ago (2014-12-30 18:40:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815833004/60001
5 years, 11 months ago (2014-12-30 18:50:45 UTC) #10
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/1325)
5 years, 11 months ago (2014-12-30 18:52:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815833004/80001
5 years, 11 months ago (2014-12-30 20:29:05 UTC) #14
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/1327)
5 years, 11 months ago (2014-12-30 20:30:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/815833004/100001
5 years, 11 months ago (2014-12-30 20:42:05 UTC) #18
commit-bot: I haz the power
5 years, 11 months ago (2014-12-30 20:50:56 UTC) #19
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/7775c85611c734a2af709b3a9c127939a4296c48

Powered by Google App Engine
This is Rietveld 408576698