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

Issue 2361093002: Change implementation of flush-count based GrGpuResource purging (Closed)

Created:
4 years, 3 months ago by bsalomon
Modified:
4 years, 3 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Change implementation of flush-count based GrGpuResource purging Change default to approx 30seconds (given some API usage assumptions) GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2361093002 Committed: https://skia.googlesource.com/skia/+/e2e87f3484e5524dbfd6c01f402136738d1d434b

Patch Set 1 #

Patch Set 2 : minor #

Total comments: 4

Patch Set 3 : Address comments #

Patch Set 4 : fix var spelling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -85 lines) Patch
M include/gpu/GrGpuResource.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrGpuResource.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/GrGpuResourceCacheAccess.h View 1 chunk +14 lines, -0 lines 0 comments Download
M src/gpu/GrResourceCache.h View 1 5 chunks +10 lines, -20 lines 0 comments Download
M src/gpu/GrResourceCache.cpp View 1 2 3 6 chunks +32 lines, -57 lines 0 comments Download
M tests/ResourceCacheTest.cpp View 4 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
bsalomon
This is a bit simplified by tracking an additional stat per-resource rather than a ring ...
4 years, 3 months ago (2016-09-22 16:39:31 UTC) #3
robertphillips
lgtm https://codereview.chromium.org/2361093002/diff/20001/src/gpu/GrResourceCache.cpp File src/gpu/GrResourceCache.cpp (right): https://codereview.chromium.org/2361093002/diff/20001/src/gpu/GrResourceCache.cpp#newcode460 src/gpu/GrResourceCache.cpp:460: while (fPurgeableQueue.count()) { oldestResourceFlushCnt doesn't seem like the ...
4 years, 3 months ago (2016-09-22 17:55:56 UTC) #4
bsalomon
https://codereview.chromium.org/2361093002/diff/20001/src/gpu/GrResourceCache.cpp File src/gpu/GrResourceCache.cpp (right): https://codereview.chromium.org/2361093002/diff/20001/src/gpu/GrResourceCache.cpp#newcode460 src/gpu/GrResourceCache.cpp:460: while (fPurgeableQueue.count()) { On 2016/09/22 17:55:56, robertphillips wrote: > ...
4 years, 3 months ago (2016-09-22 18:09:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2361093002/60001
4 years, 3 months ago (2016-09-22 18:11:44 UTC) #8
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 19:42:13 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/e2e87f3484e5524dbfd6c01f402136738d1d434b

Powered by Google App Engine
This is Rietveld 408576698