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

Issue 1148413007: cc: Use max_bytes_per_copy_operation setting to determine one-copy flush interval. (Closed)

Created:
5 years, 6 months ago by reveman
Modified:
5 years, 6 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Use max_bytes_per_copy_operation setting to determine one-copy flush interval. max_bytes_per_copy_operation provides a mechanism to split one-copy work into smaller units to prevent the GPU service from being blocked for too long. The flush interval groups a number of copy operations into one from the GPU service POV so it makes sense to use the same limit to determine how frequently to issue flush tasks. This keeps the flush interval at 4 copy operations when using a 512x512 tile size by using a 4MB default value for max_bytes_per_copy_operation. BUG=460288 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/53880ba4e2ae5b4e360f5ae84707600c0dff5fa5 Cr-Commit-Position: refs/heads/master@{#332896}

Patch Set 1 #

Total comments: 9

Patch Set 2 : vmpstr #

Total comments: 2

Patch Set 3 : int #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -5 lines) Patch
M cc/raster/one_copy_tile_task_worker_pool.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/raster/one_copy_tile_task_worker_pool.cc View 1 3 chunks +9 lines, -5 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
reveman
5 years, 6 months ago (2015-05-28 00:35:31 UTC) #2
vmpstr
https://codereview.chromium.org/1148413007/diff/1/cc/raster/one_copy_tile_task_worker_pool.cc File cc/raster/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1148413007/diff/1/cc/raster/one_copy_tile_task_worker_pool.cc#newcode357 cc/raster/one_copy_tile_task_worker_pool.cc:357: bytes_scheduled_since_last_flush_ += rows_to_copy * bytes_per_row; So for big tiles ...
5 years, 6 months ago (2015-06-01 18:35:52 UTC) #3
vmpstr
https://codereview.chromium.org/1148413007/diff/1/cc/raster/one_copy_tile_task_worker_pool.cc File cc/raster/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1148413007/diff/1/cc/raster/one_copy_tile_task_worker_pool.cc#newcode362 cc/raster/one_copy_tile_task_worker_pool.cc:362: if (bytes_scheduled_since_last_flush_ >= max_bytes_per_copy_operation_) { I think you need ...
5 years, 6 months ago (2015-06-02 23:23:28 UTC) #4
reveman
https://codereview.chromium.org/1148413007/diff/1/cc/raster/one_copy_tile_task_worker_pool.cc File cc/raster/one_copy_tile_task_worker_pool.cc (right): https://codereview.chromium.org/1148413007/diff/1/cc/raster/one_copy_tile_task_worker_pool.cc#newcode357 cc/raster/one_copy_tile_task_worker_pool.cc:357: bytes_scheduled_since_last_flush_ += rows_to_copy * bytes_per_row; On 2015/06/01 at 18:35:52, ...
5 years, 6 months ago (2015-06-04 01:19:51 UTC) #5
vmpstr
lgtm https://codereview.chromium.org/1148413007/diff/20001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/1148413007/diff/20001/content/renderer/gpu/render_widget_compositor.cc#newcode181 content/renderer/gpu/render_widget_compositor.cc:181: size_t GetMaxBytesPerCopyOperation() { nit: int this too please
5 years, 6 months ago (2015-06-04 01:26:44 UTC) #6
reveman
+avi for content/ https://codereview.chromium.org/1148413007/diff/20001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/1148413007/diff/20001/content/renderer/gpu/render_widget_compositor.cc#newcode181 content/renderer/gpu/render_widget_compositor.cc:181: size_t GetMaxBytesPerCopyOperation() { On 2015/06/04 at ...
5 years, 6 months ago (2015-06-04 02:16:30 UTC) #8
Avi (use Gerrit)
lgtm stampity stamp
5 years, 6 months ago (2015-06-04 19:34:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148413007/40001
5 years, 6 months ago (2015-06-04 19:36:22 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-04 20:11:12 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-04 20:11:58 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/53880ba4e2ae5b4e360f5ae84707600c0dff5fa5
Cr-Commit-Position: refs/heads/master@{#332896}

Powered by Google App Engine
This is Rietveld 408576698