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

Issue 510053003: Make textures register with GrResourceCache2 as scratch. (Closed)

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

Description

Make textures register with GrResourceCache2 as scratch. Committed: https://skia.googlesource.com/skia/+/744998e666073166307d2522847b2536000a7619

Patch Set 1 #

Total comments: 18

Patch Set 2 : Address comments #

Patch Set 3 : add missing braces for GrCacheID init list #

Patch Set 4 : make grbinhashkey visible to GrResourceKey.h #

Patch Set 5 : update gypi file #

Patch Set 6 : Split GrMurmur3BinHashKey into its own header since it uses SkChecksum.h which is private. #

Patch Set 7 : add new h file to git repo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -321 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 4 chunks +3 lines, -1 line 0 comments Download
A + include/gpu/GrBinHashKey.h View 1 2 3 4 5 1 chunk +0 lines, -58 lines 0 comments Download
M include/gpu/GrGpuResource.h View 1 2 5 chunks +15 lines, -1 line 0 comments Download
A include/gpu/GrResourceKey.h View 1 2 1 chunk +113 lines, -0 lines 0 comments Download
M include/gpu/GrTexture.h View 1 chunk +1 line, -4 lines 0 comments Download
D src/gpu/GrBinHashKey.h View 1 2 3 1 chunk +0 lines, -160 lines 0 comments Download
M src/gpu/GrGpuResource.cpp View 1 2 chunks +9 lines, -1 line 0 comments Download
A src/gpu/GrMurmur3HashKey.h View 1 2 3 4 5 6 1 chunk +73 lines, -0 lines 0 comments Download
M src/gpu/GrResourceCache.h View 2 chunks +1 line, -89 lines 0 comments Download
M src/gpu/GrResourceCache2.h View 1 2 chunks +18 lines, -5 lines 0 comments Download
M src/gpu/GrResourceCache2.cpp View 3 chunks +9 lines, -1 line 0 comments Download
M src/gpu/GrTexture.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M src/gpu/effects/GrTextureStripAtlas.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tests/GrBinHashKeyTest.cpp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
bsalomon
bsalomon@google.com changed reviewers: + robertphillips@google.com
6 years, 3 months ago (2014-08-27 18:14:34 UTC) #1
bsalomon
https://codereview.chromium.org/510053003/diff/1/include/gpu/GrResourceKey.h File include/gpu/GrResourceKey.h (right): https://codereview.chromium.org/510053003/diff/1/include/gpu/GrResourceKey.h#newcode15 include/gpu/GrResourceKey.h:15: class GrResourceKey { This is lifted from GrResourceCache.h with ...
6 years, 3 months ago (2014-08-27 18:14:34 UTC) #2
robertphillips
lgtm + doc requests, some formatting/naming suggestions & a question https://codereview.chromium.org/510053003/diff/1/include/gpu/GrGpuResource.h File include/gpu/GrGpuResource.h (right): https://codereview.chromium.org/510053003/diff/1/include/gpu/GrGpuResource.h#newcode85 ...
6 years, 3 months ago (2014-08-27 19:11:30 UTC) #3
bsalomon
https://codereview.chromium.org/510053003/diff/1/include/gpu/GrGpuResource.h File include/gpu/GrGpuResource.h (right): https://codereview.chromium.org/510053003/diff/1/include/gpu/GrGpuResource.h#newcode85 include/gpu/GrGpuResource.h:85: On 2014/08/27 19:11:29, robertphillips wrote: > // If this ...
6 years, 3 months ago (2014-08-27 20:37:40 UTC) #4
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 3 months ago (2014-08-27 20:38:04 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/510053003/20001
6 years, 3 months ago (2014-08-27 20:38:23 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Mac10.8-Clang-x86_64-Release-Trybot on tryserver.skia ...
6 years, 3 months ago (2014-08-27 20:45:14 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 20:46:43 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot/builds/1412)
6 years, 3 months ago (2014-08-27 20:46:44 UTC) #9
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 3 months ago (2014-08-28 14:04:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/510053003/40001
6 years, 3 months ago (2014-08-28 14:05:17 UTC) #11
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 3 months ago (2014-08-28 14:10:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/510053003/60001
6 years, 3 months ago (2014-08-28 14:11:01 UTC) #13
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 3 months ago (2014-08-28 14:14:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/510053003/80001
6 years, 3 months ago (2014-08-28 14:14:41 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Mac10.8-Clang-x86_64-Release-Trybot on tryserver.skia ...
6 years, 3 months ago (2014-08-28 14:44:12 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 14:46:21 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot/builds/1205)
6 years, 3 months ago (2014-08-28 14:46:22 UTC) #18
bsalomon
The CQ bit was checked by bsalomon@google.com
6 years, 3 months ago (2014-08-28 14:58:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bsalomon@google.com/510053003/120001
6 years, 3 months ago (2014-08-28 14:59:31 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-08-28 16:54:39 UTC) #21
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as 744998e666073166307d2522847b2536000a7619

Powered by Google App Engine
This is Rietveld 408576698