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

Issue 895763002: Add a command-line flag to enable threaded GPU rasterization. (Closed)

Created:
5 years, 10 months ago by vmiura
Modified:
5 years, 10 months ago
Reviewers:
danakj, hendrikw, piman
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org, nkostylev+watch_chromium.org, dzhioev+watch_chromium.org, jam, darin-cc_chromium.org, oshima+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a command-line flag to enable threaded GPU rasterization. For now a no-op in the renderer. Enable: --enable-threaded-gpu-rasterization Disable (which takes priority over Enable): --disable-threaded-gpu-rasterization BUG=454500 Committed: https://crrev.com/9084b34a9c65689297314f65c389e063556df88e Cr-Commit-Position: refs/heads/master@{#314418}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : Addressed comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -15 lines) Patch
M cc/resources/gpu_rasterizer.h View 3 chunks +8 lines, -7 lines 0 comments Download
M cc/resources/gpu_rasterizer.cc View 1 2 chunks +5 lines, -6 lines 1 comment Download
M cc/resources/rasterizer.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/gpu/compositor_util.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M content/renderer/gpu/compositor_dependencies.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 3 chunks +7 lines, -0 lines 0 comments Download
M content/test/fake_compositor_dependencies.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/test/fake_compositor_dependencies.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
vmiura
danakj@chromium.org: Please review changes in cc/ piman@chromium.org: Please review changes in content/ hendrikw@chromium.org: Please review ...
5 years, 10 months ago (2015-02-02 21:36:47 UTC) #3
hendrikw
https://codereview.chromium.org/895763002/diff/20001/cc/resources/gpu_rasterizer.cc File cc/resources/gpu_rasterizer.cc (right): https://codereview.chromium.org/895763002/diff/20001/cc/resources/gpu_rasterizer.cc#newcode58 cc/resources/gpu_rasterizer.cc:58: return threaded_gpu_rasterization_enabled_ ? PrepareTilesMode::PREPARE_NONE Should you add a new ...
5 years, 10 months ago (2015-02-02 21:42:58 UTC) #4
vmiura
https://codereview.chromium.org/895763002/diff/20001/cc/resources/gpu_rasterizer.cc File cc/resources/gpu_rasterizer.cc (right): https://codereview.chromium.org/895763002/diff/20001/cc/resources/gpu_rasterizer.cc#newcode58 cc/resources/gpu_rasterizer.cc:58: return threaded_gpu_rasterization_enabled_ ? PrepareTilesMode::PREPARE_NONE I will change to RASTERIZE_PRIORITIZED_TILES, ...
5 years, 10 months ago (2015-02-02 21:47:11 UTC) #5
danakj
https://codereview.chromium.org/895763002/diff/20001/cc/resources/gpu_rasterizer.cc File cc/resources/gpu_rasterizer.cc (right): https://codereview.chromium.org/895763002/diff/20001/cc/resources/gpu_rasterizer.cc#newcode58 cc/resources/gpu_rasterizer.cc:58: return threaded_gpu_rasterization_enabled_ ? PrepareTilesMode::PREPARE_NONE On 2015/02/02 21:42:57, hendrikw wrote: ...
5 years, 10 months ago (2015-02-02 21:48:38 UTC) #6
vmiura
PTAL https://codereview.chromium.org/895763002/diff/20001/cc/resources/gpu_rasterizer.cc File cc/resources/gpu_rasterizer.cc (right): https://codereview.chromium.org/895763002/diff/20001/cc/resources/gpu_rasterizer.cc#newcode58 cc/resources/gpu_rasterizer.cc:58: return threaded_gpu_rasterization_enabled_ ? PrepareTilesMode::PREPARE_NONE This function is overloaded ...
5 years, 10 months ago (2015-02-02 22:03:23 UTC) #7
danakj
https://codereview.chromium.org/895763002/diff/40001/cc/resources/gpu_rasterizer.cc File cc/resources/gpu_rasterizer.cc (left): https://codereview.chromium.org/895763002/diff/40001/cc/resources/gpu_rasterizer.cc#oldcode58 cc/resources/gpu_rasterizer.cc:58: return tile_prepare_enabled_ ? PrepareTilesMode::PREPARE_PRIORITIZED_TILES So what's the story with ...
5 years, 10 months ago (2015-02-02 22:04:26 UTC) #8
vmiura
On 2015/02/02 22:04:26, danakj wrote: > https://codereview.chromium.org/895763002/diff/40001/cc/resources/gpu_rasterizer.cc > File cc/resources/gpu_rasterizer.cc (left): > > https://codereview.chromium.org/895763002/diff/40001/cc/resources/gpu_rasterizer.cc#oldcode58 > ...
5 years, 10 months ago (2015-02-02 23:17:40 UTC) #9
danakj
On 2015/02/02 23:17:40, vmiura wrote: > On 2015/02/02 22:04:26, danakj wrote: > > > https://codereview.chromium.org/895763002/diff/40001/cc/resources/gpu_rasterizer.cc ...
5 years, 10 months ago (2015-02-02 23:21:55 UTC) #10
vmiura
On 2015/02/02 23:21:55, danakj wrote: > On 2015/02/02 23:17:40, vmiura wrote: > > On 2015/02/02 ...
5 years, 10 months ago (2015-02-02 23:28:43 UTC) #11
danakj
On 2015/02/02 23:28:43, vmiura wrote: > On 2015/02/02 23:21:55, danakj wrote: > > On 2015/02/02 ...
5 years, 10 months ago (2015-02-02 23:29:32 UTC) #12
vmiura
Antoine, could I ask you to look at the content/ & chrome/browser flag addition?
5 years, 10 months ago (2015-02-03 19:46:44 UTC) #13
danakj
On Tue, Feb 3, 2015 at 11:46 AM, <vmiura@chromium.org> wrote: > Antoine, could I ask ...
5 years, 10 months ago (2015-02-03 20:04:37 UTC) #14
piman
lgtm
5 years, 10 months ago (2015-02-03 21:30:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/895763002/40001
5 years, 10 months ago (2015-02-03 21:51:57 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 10 months ago (2015-02-03 22:20:32 UTC) #18
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 22:21:34 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9084b34a9c65689297314f65c389e063556df88e
Cr-Commit-Position: refs/heads/master@{#314418}

Powered by Google App Engine
This is Rietveld 408576698