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

Issue 2607033002: Flush after ResourcePool deletions complete (Closed)

Created:
3 years, 11 months ago by ericrk
Modified:
3 years, 11 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Flush after ResourcePool deletions complete Currently, ResourcePool queues up idle resource deletion 1 second after last use. This means that the resource may be deleted after the main context becomes completely idle, and no further frames are bein produced. In order to ensure that these deletions are propogated to the GPU process, this change introduces a shallow flush after the last freeable resource is deleted by the ResourcePool. BUG=671256 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2607033002 Cr-Commit-Position: refs/heads/master@{#442937} Committed: https://chromium.googlesource.com/chromium/src/+/8e825d9a15aa6b2d16637fd59d2c0072c60d60ea

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase #

Patch Set 3 : remove brace #

Patch Set 4 : fix |resource_provider_| check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M cc/resources/resource_pool.cc View 1 chunk +4 lines, -1 line 0 comments Download
M cc/resources/resource_provider.h View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 2 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
ericrk
3 years, 11 months ago (2016-12-28 23:55:21 UTC) #3
ericrk
friendly ping :D
3 years, 11 months ago (2017-01-09 21:36:15 UTC) #4
vmpstr
lgtm nit: s/theese/these/ in the description. https://codereview.chromium.org/2607033002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2607033002/diff/1/cc/trees/layer_tree_host_impl.cc#newcode1474 cc/trees/layer_tree_host_impl.cc:1474: if (!visible_) { ...
3 years, 11 months ago (2017-01-09 21:43:43 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/2607033002/40001
3 years, 11 months ago (2017-01-09 23:30:03 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/209601)
3 years, 11 months ago (2017-01-10 00:39:10 UTC) #11
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/2607033002/60001
3 years, 11 months ago (2017-01-10 19:27:49 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/97059)
3 years, 11 months ago (2017-01-10 21:01:13 UTC) #19
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/2607033002/60001
3 years, 11 months ago (2017-01-11 01:25:48 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/97622)
3 years, 11 months ago (2017-01-11 03:26:46 UTC) #23
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/2607033002/60001
3 years, 11 months ago (2017-01-11 16:38:02 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 17:13:31 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8e825d9a15aa6b2d16637fd59d2c...

Powered by Google App Engine
This is Rietveld 408576698