DescriptionMake 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
Messages
Total messages: 13 (3 generated)
|