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

Issue 11369200: improving UI of FPS counter (Closed)

Created:
8 years, 1 month ago by egraether
Modified:
8 years, 1 month ago
Reviewers:
nduca
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

improving UI of FPS counter The FPS counter shows the frame rate based on a time-stamp history and is located in the compositor's HUDLayer. This change includes: - moving to top right corner - plotting the graph's X-axis based on time between frames - measuring min/max value instead of standard deviation - showing histogram of time spent in each value - scaling to the max value in case of very high fps (disabled vsync) comparison images: https://docs.google.com/folder/d/0B8Y78t3tjy1XTC1OYzUySFgwODQ/edit Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167765

Patch Set 1 #

Total comments: 15

Patch Set 2 : resolving nits #

Patch Set 3 : Rebase to 167687 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -50 lines) Patch
M cc/frame_rate_counter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/frame_rate_counter.cc View 1 3 chunks +12 lines, -17 lines 0 comments Download
M cc/heads_up_display_layer.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/heads_up_display_layer_impl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M cc/heads_up_display_layer_impl.cc View 1 4 chunks +73 lines, -29 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
egraether
https://codereview.chromium.org/11369200/diff/1/cc/frame_rate_counter.cc File cc/frame_rate_counter.cc (left): https://codereview.chromium.org/11369200/diff/1/cc/frame_rate_counter.cc#oldcode110 cc/frame_rate_counter.cc:110: double x = 1.0 / delta.InSecondsF(); This average calculation ...
8 years, 1 month ago (2012-11-12 23:44:05 UTC) #1
nduca
nits https://codereview.chromium.org/11369200/diff/1/cc/frame_rate_counter.cc File cc/frame_rate_counter.cc (right): https://codereview.chromium.org/11369200/diff/1/cc/frame_rate_counter.cc#newcode15 cc/frame_rate_counter.cc:15: const double FrameRateCounter::kFrameTooSlow = 1.0; How about .25 ...
8 years, 1 month ago (2012-11-13 00:51:46 UTC) #2
nduca
lgtm, nice
8 years, 1 month ago (2012-11-14 01:09:35 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/egraether@chromium.org/11369200/12001
8 years, 1 month ago (2012-11-14 19:10:44 UTC) #4
commit-bot: I haz the power
8 years, 1 month ago (2012-11-14 23:34:56 UTC) #5
Change committed as 167765

Powered by Google App Engine
This is Rietveld 408576698