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

Issue 721353002: Allow GPU resources to not be counted against the cache budget. (Closed)

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

Description

Allow GPU resources to not be counted against the cache budget. BUG=skia:2889 Committed: https://skia.googlesource.com/skia/+/84c8e62fad59f0e19b40ac718467f5b7884b431d

Patch Set 1 #

Patch Set 2 : update #

Total comments: 16

Patch Set 3 : Address comments #

Patch Set 4 : rebase #

Patch Set 5 : tiny cleanup #

Patch Set 6 : fix constructor order #

Patch Set 7 : fix constructor order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -57 lines) Patch
M include/gpu/GrGpuResource.h View 1 2 3 3 chunks +24 lines, -16 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M src/gpu/GrGpuResource.cpp View 1 2 3 4 5 6 3 chunks +28 lines, -10 lines 0 comments Download
M src/gpu/GrGpuResourceCacheAccess.h View 1 2 3 2 chunks +18 lines, -1 line 0 comments Download
M src/gpu/GrResourceCache2.h View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
M src/gpu/GrResourceCache2.cpp View 1 2 3 4 9 chunks +39 lines, -13 lines 0 comments Download
M tests/ResourceCacheTest.cpp View 1 2 3 4 chunks +29 lines, -15 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
bsalomon
TBR=rob Depends upon https://codereview.chromium.org/720033004/, which in turn depends upon https://codereview.chromium.org/716143004/. https://codereview.chromium.org/721353002/diff/20001/include/gpu/GrGpuResource.h File include/gpu/GrGpuResource.h (right): https://codereview.chromium.org/721353002/diff/20001/include/gpu/GrGpuResource.h#newcode268 ...
6 years, 1 month ago (2014-11-13 19:20:54 UTC) #2
egdaniel
https://codereview.chromium.org/721353002/diff/20001/src/gpu/GrGpuResource.cpp File src/gpu/GrGpuResource.cpp (right): https://codereview.chromium.org/721353002/diff/20001/src/gpu/GrGpuResource.cpp#newcode25 src/gpu/GrGpuResource.cpp:25: , fScratchKey(GrResourceKey::NullScratchKey()) { extra space https://codereview.chromium.org/721353002/diff/20001/src/gpu/GrGpuResource.cpp#newcode32 src/gpu/GrGpuResource.cpp:32: Extra \n ...
6 years, 1 month ago (2014-11-13 20:47:32 UTC) #3
bsalomon
https://codereview.chromium.org/721353002/diff/20001/src/gpu/GrGpuResource.cpp File src/gpu/GrGpuResource.cpp (right): https://codereview.chromium.org/721353002/diff/20001/src/gpu/GrGpuResource.cpp#newcode25 src/gpu/GrGpuResource.cpp:25: , fScratchKey(GrResourceKey::NullScratchKey()) { On 2014/11/13 20:47:31, egdaniel wrote: > ...
6 years, 1 month ago (2014-11-13 20:53:34 UTC) #4
egdaniel
lgtm
6 years, 1 month ago (2014-11-13 20:56:06 UTC) #5
robertphillips
lgtm
6 years, 1 month ago (2014-11-17 13:49:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/721353002/40001
6 years, 1 month ago (2014-11-17 13:50:13 UTC) #8
commit-bot: I haz the power
Failed to apply patch for src/gpu/GrGpuResource.cpp: While running git apply --index -3 -p1; error: patch ...
6 years, 1 month ago (2014-11-17 13:50:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/721353002/80001
6 years, 1 month ago (2014-11-17 17:02:01 UTC) #12
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/692) 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/687) Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot ...
6 years, 1 month ago (2014-11-17 17:04:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/721353002/100001
6 years, 1 month ago (2014-11-17 17:14:06 UTC) #16
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/694) 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/704)
6 years, 1 month ago (2014-11-17 17:15:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/721353002/120001
6 years, 1 month ago (2014-11-17 17:23:08 UTC) #20
commit-bot: I haz the power
6 years, 1 month ago (2014-11-17 17:33:32 UTC) #21
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/84c8e62fad59f0e19b40ac718467f5b7884b431d

Powered by Google App Engine
This is Rietveld 408576698