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

Issue 519923002: Make the number of raster threads appear in chrome://gpu. (Closed)

Created:
6 years, 3 months ago by danakj
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, piman+watch_chromium.org, reveman, enne (OOO), vmpstr
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make the number of raster threads appear in chrome://gpu. This add methods to compositor_util.cc to compute the number of raster threads to be used in the renderer process. Then this number is passed to the renderer process explicitly instead of just forwarding a command line flag blindly. If the renderer will use more than one thread, chrome://gpu will report that "Multiple Raster Threads" is enabled, otherwise it shows disabled. If the --num-raster-threads command line argument is used to force more than one thread, then it will show Force enabled. There is no change in behaviour with this patch, it still uses one thread unless forced otherwise on the command line. BUG=237669 Committed: https://crrev.com/8a91b03e231894791a81d45cc6b050890e4f4e9d Cr-Commit-Position: refs/heads/master@{#292726}

Patch Set 1 #

Total comments: 4

Patch Set 2 : numrasterthreads: . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -20 lines) Patch
M content/browser/gpu/compositor_util.h View 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 6 chunks +51 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 2 chunks +5 lines, -2 lines 2 comments Download
M content/browser/resources/gpu/info_view.js View 2 chunks +6 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 chunks +7 lines, -12 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
danakj
6 years, 3 months ago (2014-08-29 18:46:43 UTC) #2
danakj
6 years, 3 months ago (2014-08-29 18:47:20 UTC) #3
danakj
+kbr for content/browser stuff +jamesr for content/renderer stuff
6 years, 3 months ago (2014-08-29 19:47:22 UTC) #5
jamesr
lgtm https://codereview.chromium.org/519923002/diff/1/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/519923002/diff/1/content/renderer/render_thread_impl.cc#newcode558 content/renderer/render_thread_impl.cc:558: int num_raster_threads; initialize this var, please. if the ...
6 years, 3 months ago (2014-08-29 19:50:39 UTC) #6
danakj
https://codereview.chromium.org/519923002/diff/1/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/519923002/diff/1/content/renderer/render_thread_impl.cc#newcode558 content/renderer/render_thread_impl.cc:558: int num_raster_threads; On 2014/08/29 19:50:39, jamesr wrote: > initialize ...
6 years, 3 months ago (2014-08-29 19:53:31 UTC) #7
Ken Russell (switch to Gerrit)
LGTM if this has been tested. One question. https://codereview.chromium.org/519923002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (left): https://codereview.chromium.org/519923002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc#oldcode1182 content/browser/renderer_host/render_process_host_impl.cc:1182: switches::kNumRasterThreads, ...
6 years, 3 months ago (2014-08-29 22:41:06 UTC) #8
danakj
https://codereview.chromium.org/519923002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (left): https://codereview.chromium.org/519923002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc#oldcode1182 content/browser/renderer_host/render_process_host_impl.cc:1182: switches::kNumRasterThreads, On 2014/08/29 22:41:05, Ken Russell wrote: > Why ...
6 years, 3 months ago (2014-08-29 22:42:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/519923002/20001
6 years, 3 months ago (2014-08-29 22:43:43 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as fd8046161872adb6bcbabeb582fbafd989b1123d
6 years, 3 months ago (2014-08-30 00:05:31 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:12:06 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8a91b03e231894791a81d45cc6b050890e4f4e9d
Cr-Commit-Position: refs/heads/master@{#292726}

Powered by Google App Engine
This is Rietveld 408576698