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

Issue 12804006: cc: Save correct frame begin time to FrameRateCounter (Closed)

Created:
7 years, 9 months ago by egraether
Modified:
7 years, 9 months ago
Reviewers:
jamesr, nduca, piman
CC:
chromium-reviews, jonathan.backer, Ian Vollick, jam, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

cc: Save correct frame begin time to FrameRateCounter This change passes the frame begin time from RenderWidget::DoDeferredUpdate() in single threaded compositing and the vsync tick time from cc::FrameRateController in threaded compositing into the FrameRateCounter. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188452

Patch Set 1 #

Total comments: 7

Patch Set 2 : Scheduler::lastVSyncTime() #

Patch Set 3 : Fixed tests #

Patch Set 4 : Fixed compositor_impl_android.cc #

Patch Set 5 : Rebase to 188402 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -134 lines) Patch
M cc/delegated_renderer_layer_impl_unittest.cc View 1 23 chunks +23 lines, -23 lines 0 comments Download
M cc/frame_rate_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/frame_rate_controller.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M cc/layer_tree_host.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 1 chunk +3 lines, -5 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 75 chunks +76 lines, -76 lines 0 comments Download
M cc/scheduler.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cc/scheduler.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M cc/single_thread_proxy.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
M cc/single_thread_proxy.cc View 1 2 5 chunks +8 lines, -7 lines 0 comments Download
M cc/test/layer_tree_test_common.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_test_common.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M cc/thread_proxy.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_widget.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
egraether
7 years, 9 months ago (2013-03-13 01:11:47 UTC) #1
jamesr
Nat should look at cc/ content/ and webkit/ lgtm. You'll also need an OWNER for ...
7 years, 9 months ago (2013-03-13 01:34:18 UTC) #2
nduca
this looks really good some nits, wdyt? https://codereview.chromium.org/12804006/diff/1/cc/layer_tree_host_impl.h File cc/layer_tree_host_impl.h (right): https://codereview.chromium.org/12804006/diff/1/cc/layer_tree_host_impl.h#newcode113 cc/layer_tree_host_impl.h:113: virtual void ...
7 years, 9 months ago (2013-03-13 05:53:28 UTC) #3
egraether
I did the one renaming, but your other comments look more like separate patches to ...
7 years, 9 months ago (2013-03-13 22:26:01 UTC) #4
nduca
okay. lgtm.
7 years, 9 months ago (2013-03-13 22:44:05 UTC) #5
piman
lgtm
7 years, 9 months ago (2013-03-13 22:50:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/egraether@chromium.org/12804006/25001
7 years, 9 months ago (2013-03-14 20:27:19 UTC) #7
commit-bot: I haz the power
Failed to apply patch for cc/test/layer_tree_test_common.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-15 12:31:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/egraether@chromium.org/12804006/39001
7 years, 9 months ago (2013-03-15 16:12:22 UTC) #9
commit-bot: I haz the power
7 years, 9 months ago (2013-03-15 19:34:55 UTC) #10
Message was sent while issue was closed.
Change committed as 188452

Powered by Google App Engine
This is Rietveld 408576698