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

Issue 335873002: gpu: Only estimate parent compositor run time when needed (Closed)

Created:
6 years, 6 months ago by Sami
Modified:
6 years, 6 months ago
Reviewers:
brianderson, piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

gpu: Only estimate parent compositor run time when needed When BeginFrame scheduling is enabled, the browser compositor automatically adjusts the deadline it passes down to the renderer to account for its own draw time. Make sure we don't also subtract the estimated draw time in the renderer. BUG=359566 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277774

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make it generic. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
Sami
Hey Brian, do you think this is the right place to fix this? Basically the ...
6 years, 6 months ago (2014-06-13 17:26:08 UTC) #1
brianderson
On 2014/06/13 17:26:08, Sami wrote: > Hey Brian, do you think this is the right ...
6 years, 6 months ago (2014-06-13 17:42:57 UTC) #2
Sami
+piman@ for owners'. On 2014/06/13 17:42:57, brianderson wrote: > Good catch. Did Android use a ...
6 years, 6 months ago (2014-06-13 17:50:21 UTC) #3
piman
https://codereview.chromium.org/335873002/diff/1/content/renderer/gpu/compositor_output_surface.cc File content/renderer/gpu/compositor_output_surface.cc (right): https://codereview.chromium.org/335873002/diff/1/content/renderer/gpu/compositor_output_surface.cc#newcode79 content/renderer/gpu/compositor_output_surface.cc:79: #if defined(OS_ANDROID) Why android only? All platforms but Mac* ...
6 years, 6 months ago (2014-06-13 20:46:43 UTC) #4
Sami
https://codereview.chromium.org/335873002/diff/1/content/renderer/gpu/compositor_output_surface.cc File content/renderer/gpu/compositor_output_surface.cc (right): https://codereview.chromium.org/335873002/diff/1/content/renderer/gpu/compositor_output_surface.cc#newcode79 content/renderer/gpu/compositor_output_surface.cc:79: #if defined(OS_ANDROID) On 2014/06/13 20:46:43, piman wrote: > Why ...
6 years, 6 months ago (2014-06-16 13:15:04 UTC) #5
Sami
Chatted with Brian and found a way to make this more generic. PTAL.
6 years, 6 months ago (2014-06-17 00:19:23 UTC) #6
piman
If Brian is happy with this then lgtm.
6 years, 6 months ago (2014-06-17 03:12:30 UTC) #7
brianderson
lgtm
6 years, 6 months ago (2014-06-17 05:24:34 UTC) #8
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 6 months ago (2014-06-17 13:04:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/335873002/20001
6 years, 6 months ago (2014-06-17 13:05:43 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 15:39:25 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/18072)
6 years, 6 months ago (2014-06-17 15:39:26 UTC) #12
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 6 months ago (2014-06-17 15:43:37 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/335873002/20001
6 years, 6 months ago (2014-06-17 15:45:09 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 16:06:36 UTC) #15
Message was sent while issue was closed.
Change committed as 277774

Powered by Google App Engine
This is Rietveld 408576698