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

Issue 683263004: cc: Detect miss-behaving fence extensions when using 1-copy rasterizer. (Closed)

Created:
6 years, 1 month ago by reveman
Modified:
6 years, 1 month ago
Reviewers:
vmpstr, piman
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@one-copy-throttling
Project:
chromium
Visibility:
Public.

Description

cc: Detect miss-behaving fence extensions when using 1-copy rasterizer. This adds a wait_if_needed parameter to ResourcePool::CheckBusyResources. CheckBusyResources will use existing ResourceProvider API to wait for any read locks to complete if needed by a resource prior to checking if it's still busy when this parameter is true. 1-copy rasterizer will use this functionality after too many failed attempts to check if copy operations have completed. This provides a reliable method to detect drivers with miss-behaving fence extensions. BUG=406404 Committed: https://crrev.com/51883faa0a6104c390251f57ebc794f714cf98d0 Cr-Commit-Position: refs/heads/master@{#301926}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : add CheckBusyResources comment #

Patch Set 4 : rebase #

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

Messages

Total messages: 15 (4 generated)
reveman
6 years, 1 month ago (2014-10-29 05:45:56 UTC) #2
piman
LGTM, but I don't know this code very well -> vmpstr
6 years, 1 month ago (2014-10-29 17:30:25 UTC) #3
vmpstr
lgtm https://codereview.chromium.org/683263004/diff/20001/cc/resources/one_copy_raster_worker_pool.cc File cc/resources/one_copy_raster_worker_pool.cc (right): https://codereview.chromium.org/683263004/diff/20001/cc/resources/one_copy_raster_worker_pool.cc#newcode92 cc/resources/one_copy_raster_worker_pool.cc:92: const int kFailedAttemptsBeforeWaitIfNeeded = 256; Is there any ...
6 years, 1 month ago (2014-10-29 17:36:25 UTC) #4
reveman
https://codereview.chromium.org/683263004/diff/20001/cc/resources/one_copy_raster_worker_pool.cc File cc/resources/one_copy_raster_worker_pool.cc (right): https://codereview.chromium.org/683263004/diff/20001/cc/resources/one_copy_raster_worker_pool.cc#newcode92 cc/resources/one_copy_raster_worker_pool.cc:92: const int kFailedAttemptsBeforeWaitIfNeeded = 256; On 2014/10/29 17:36:25, vmpstr ...
6 years, 1 month ago (2014-10-29 18:42:48 UTC) #5
vmpstr
On 2014/10/29 18:42:48, reveman wrote: > https://codereview.chromium.org/683263004/diff/20001/cc/resources/one_copy_raster_worker_pool.cc > File cc/resources/one_copy_raster_worker_pool.cc (right): > > https://codereview.chromium.org/683263004/diff/20001/cc/resources/one_copy_raster_worker_pool.cc#newcode92 > ...
6 years, 1 month ago (2014-10-29 19:11:42 UTC) #6
reveman
On 2014/10/29 19:11:42, vmpstr wrote: > On 2014/10/29 18:42:48, reveman wrote: > > > https://codereview.chromium.org/683263004/diff/20001/cc/resources/one_copy_raster_worker_pool.cc ...
6 years, 1 month ago (2014-10-29 19:43:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/683263004/40001
6 years, 1 month ago (2014-10-29 19:44:09 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/85761) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/75350) android_arm64_dbg_recipe ...
6 years, 1 month ago (2014-10-29 19:48:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/683263004/60001
6 years, 1 month ago (2014-10-29 20:12:30 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-10-29 21:04:48 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 21:05:25 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/51883faa0a6104c390251f57ebc794f714cf98d0
Cr-Commit-Position: refs/heads/master@{#301926}

Powered by Google App Engine
This is Rietveld 408576698