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

Issue 11369188: cc: Guard overdraw metrics behind the --trace-overdraw command-line flag. (Closed)

Created:
8 years, 1 month ago by danakj
Modified:
8 years, 1 month ago
Reviewers:
jamesr, jam, sky, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, piman, backer
Visibility:
Public.

Description

cc: Guard overdraw metrics behind the --trace-overdraw command-line flag. Because these metrics are slow, they change the characteristics of traces. When we want to look at performance, then these become misleading. So, enable them only when desired, when someone wants tracing information about overdraw. Also reverting changes made to make the overdraw metrics faster and less precise. Since they are optional, we should get the most accurate data out of them when they are turned on. BUG=159718 R=enne,jamesr Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=167228

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : renderflags #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -17 lines) Patch
M cc/layer_tree_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/overdraw_metrics.cc View 1 4 chunks +32 lines, -10 lines 0 comments Download
M cc/quad_culler_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/settings.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/settings.cc View 3 chunks +9 lines, -0 lines 0 comments Download
M cc/switches.h View 1 chunk +2 lines, -1 line 0 comments Download
M cc/switches.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
danakj
8 years, 1 month ago (2012-11-12 17:42:45 UTC) #1
jamesr
what does using cc::Settings buy us here over just checking the command line? I think ...
8 years, 1 month ago (2012-11-12 17:44:43 UTC) #2
danakj
On 2012/11/12 17:44:43, jamesr wrote: > what does using cc::Settings buy us here over just ...
8 years, 1 month ago (2012-11-12 17:45:59 UTC) #3
enne (OOO)
My guideline for the future is that we should destroy cc::Settings with fire and put ...
8 years, 1 month ago (2012-11-12 17:59:39 UTC) #4
danakj
On 2012/11/12 17:45:59, danakj wrote: > > I think you need to update > > ...
8 years, 1 month ago (2012-11-12 18:01:02 UTC) #5
jamesr
lgtm cc::Settings should DIAF, but we can do that separately IMO. This is a big ...
8 years, 1 month ago (2012-11-12 18:04:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11369188/2005
8 years, 1 month ago (2012-11-12 18:08:12 UTC) #7
commit-bot: I haz the power
Presubmit check for 11369188-2005 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-12 18:08:20 UTC) #8
danakj
+sky for content/browser/
8 years, 1 month ago (2012-11-12 18:12:20 UTC) #9
Ian Vollick
On 2012/11/12 17:59:39, enne wrote: > My guideline for the future is that we should ...
8 years, 1 month ago (2012-11-12 18:20:56 UTC) #10
jam
lgtm
8 years, 1 month ago (2012-11-12 19:03:37 UTC) #11
commit-bot: I haz the power
8 years, 1 month ago (2012-11-12 19:04:03 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698