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

Issue 858123002: Add specialized content key class for resources. (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 specialized content key class for resources. Committed: https://skia.googlesource.com/skia/+/24db3b1c35fb935660229da164fc5ad31977387f

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : more #

Patch Set 4 : more #

Total comments: 1

Patch Set 5 : fix comment #

Total comments: 21

Patch Set 6 : Address comments #

Patch Set 7 : one more fix #

Patch Set 8 : rebase #

Patch Set 9 : Fix warnings #

Patch Set 10 : remove default template arg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+446 lines, -509 lines) Patch
M bench/GrResourceCacheBench.cpp View 3 chunks +8 lines, -9 lines 0 comments Download
M gyp/gpu.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M include/gpu/GrContext.h View 1 2 3 4 5 6 7 3 chunks +20 lines, -11 lines 0 comments Download
M include/gpu/GrGpuResource.h View 2 chunks +8 lines, -17 lines 0 comments Download
M include/gpu/GrResourceKey.h View 1 2 3 4 5 6 7 8 1 chunk +145 lines, -82 lines 0 comments Download
M include/gpu/GrTexture.h View 1 chunk +0 lines, -1 line 0 comments Download
M include/gpu/GrTypes.h View 1 chunk +0 lines, -52 lines 0 comments Download
M include/gpu/SkGr.h View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 2 3 4 5 4 chunks +17 lines, -19 lines 0 comments Download
M src/effects/SkColorCubeFilter.cpp View 1 chunk +8 lines, -10 lines 0 comments Download
D src/gpu/GrCacheID.cpp View 1 chunk +0 lines, -34 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 4 5 6 7 8 6 chunks +97 lines, -40 lines 0 comments Download
M src/gpu/GrGpuResource.cpp View 3 chunks +4 lines, -6 lines 0 comments Download
M src/gpu/GrGpuResourceCacheAccess.h View 3 chunks +3 lines, -8 lines 0 comments Download
M src/gpu/GrPath.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrPath.cpp View 1 2 3 4 5 1 chunk +5 lines, -9 lines 0 comments Download
M src/gpu/GrResourceCache2.h View 3 chunks +6 lines, -6 lines 0 comments Download
M src/gpu/GrResourceCache2.cpp View 1 2 3 4 5 6 chunks +22 lines, -19 lines 0 comments Download
M src/gpu/GrStencilAndCoverPathRenderer.cpp View 1 2 3 4 5 6 7 1 chunk +4 lines, -3 lines 0 comments Download
M src/gpu/GrStencilAndCoverTextContext.cpp View 1 2 3 4 5 6 7 1 chunk +15 lines, -10 lines 0 comments Download
M src/gpu/GrTexture.cpp View 3 chunks +0 lines, -51 lines 0 comments Download
M src/gpu/GrTexturePriv.h View 1 chunk +0 lines, -7 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 2 6 chunks +22 lines, -28 lines 0 comments Download
M src/gpu/effects/GrTextureStripAtlas.cpp View 1 chunk +7 lines, -7 lines 0 comments Download
M tests/GLProgramsTest.cpp View 1 2 3 4 5 6 7 4 chunks +9 lines, -14 lines 0 comments Download
M tests/ResourceCacheTest.cpp View 1 2 3 4 5 6 7 8 9 13 chunks +44 lines, -63 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
bsalomon
https://codereview.chromium.org/858123002/diff/60001/include/gpu/GrResourceKey.h File include/gpu/GrResourceKey.h (right): https://codereview.chromium.org/858123002/diff/60001/include/gpu/GrResourceKey.h#newcode18 include/gpu/GrResourceKey.h:18: class GrResourceKey { The diff sucks... this is basically ...
5 years, 11 months ago (2015-01-21 19:54:58 UTC) #2
bsalomon
ping
5 years, 11 months ago (2015-01-22 16:33:54 UTC) #3
robertphillips
https://codereview.chromium.org/858123002/diff/80001/include/gpu/GrResourceKey.h File include/gpu/GrResourceKey.h (right): https://codereview.chromium.org/858123002/diff/80001/include/gpu/GrResourceKey.h#newcode54 include/gpu/GrResourceKey.h:54: fKey.reset(SkToInt(bytes / sizeof(uint32_t))); // bytes is guaranteed to be ...
5 years, 11 months ago (2015-01-22 16:49:12 UTC) #4
bsalomon
https://codereview.chromium.org/858123002/diff/80001/include/gpu/GrResourceKey.h File include/gpu/GrResourceKey.h (right): https://codereview.chromium.org/858123002/diff/80001/include/gpu/GrResourceKey.h#newcode54 include/gpu/GrResourceKey.h:54: fKey.reset(SkToInt(bytes / sizeof(uint32_t))); On 2015/01/22 16:49:12, robertphillips wrote: > ...
5 years, 11 months ago (2015-01-22 19:23:17 UTC) #5
robertphillips
lgtm
5 years, 11 months ago (2015-01-22 20:02:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/858123002/120001
5 years, 11 months ago (2015-01-22 20:50:24 UTC) #8
commit-bot: I haz the power
Failed to apply patch for src/gpu/GrContext.cpp: While running git apply --index -3 -p1; error: patch ...
5 years, 11 months ago (2015-01-22 20:50:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/858123002/140001
5 years, 11 months ago (2015-01-22 21:25:59 UTC) #12
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/1612) 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/1633)
5 years, 11 months ago (2015-01-22 21:27:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/858123002/160001
5 years, 11 months ago (2015-01-22 21:57:51 UTC) #16
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/1618)
5 years, 11 months ago (2015-01-22 22:00:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/858123002/180001
5 years, 11 months ago (2015-01-22 22:50:20 UTC) #20
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://skia.googlesource.com/skia/+/24db3b1c35fb935660229da164fc5ad31977387f
5 years, 11 months ago (2015-01-23 12:24:09 UTC) #21
mtklein
5 years, 11 months ago (2015-01-23 14:34:19 UTC) #22
Message was sent while issue was closed.
On 2015/01/23 12:24:09, I haz the power (commit-bot) wrote:
> Committed patchset #10 (id:180001) as
> https://skia.googlesource.com/skia/+/24db3b1c35fb935660229da164fc5ad31977387f

Looks like this is the only GPU-related change in the blamelist for
https://code.google.com/p/skia/issues/detail?id=3340

Powered by Google App Engine
This is Rietveld 408576698