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

Issue 2469413002: gpu shader cache: Make ShaderClearHelper non-refcounted. (Closed)

Created:
4 years, 1 month ago by sadrul
Modified:
4 years, 1 month ago
Reviewers:
piman
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu shader cache: Make ShaderClearHelper non-refcounted. Make ShaderCacheFactory own the ShaderClearHelper objects. The only use of the ref-count was for the helper object deal with the factory destroying it. But the helper objects knows when that happens, so make it deal with that explicitly. BUG=643746 Committed: https://crrev.com/39292a014665bbbb39ed7f8cc2b7a5423d2c5696 Cr-Commit-Position: refs/heads/master@{#429761}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : tot merge #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : update map before Clear() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -43 lines) Patch
M content/browser/gpu/shader_disk_cache.h View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/gpu/shader_disk_cache.cc View 1 2 3 4 9 chunks +27 lines, -39 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
sadrul
4 years, 1 month ago (2016-11-03 16:55:46 UTC) #13
piman
https://codereview.chromium.org/2469413002/diff/60001/content/browser/gpu/shader_disk_cache.cc File content/browser/gpu/shader_disk_cache.cc (right): https://codereview.chromium.org/2469413002/diff/60001/content/browser/gpu/shader_disk_cache.cc#newcode471 content/browser/gpu/shader_disk_cache.cc:471: helper->Clear(); Is it possible that Clear() will reenter CacheCleared() ...
4 years, 1 month ago (2016-11-03 18:01:38 UTC) #14
sadrul
https://codereview.chromium.org/2469413002/diff/60001/content/browser/gpu/shader_disk_cache.cc File content/browser/gpu/shader_disk_cache.cc (right): https://codereview.chromium.org/2469413002/diff/60001/content/browser/gpu/shader_disk_cache.cc#newcode471 content/browser/gpu/shader_disk_cache.cc:471: helper->Clear(); On 2016/11/03 18:01:38, piman wrote: > Is it ...
4 years, 1 month ago (2016-11-03 19:31:13 UTC) #19
piman
lgtm
4 years, 1 month ago (2016-11-03 21:04:09 UTC) #20
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/2469413002/80001
4 years, 1 month ago (2016-11-04 00:03:04 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-04 01:44:49 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 01:47:45 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/39292a014665bbbb39ed7f8cc2b7a5423d2c5696
Cr-Commit-Position: refs/heads/master@{#429761}

Powered by Google App Engine
This is Rietveld 408576698