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

Issue 13947038: Retry tree activation if raster tasks finish during first half of vsync interval (Closed)

Created:
7 years, 8 months ago by Sami
Modified:
7 years, 7 months ago
Reviewers:
danakj, reveman, brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, reveman, brianderson
Visibility:
Public.

Description

Retry tree activation if raster tasks finish during first half of vsync interval When we attempt pending tree activation in response to a vsync and it fails, we currently have to wait a full vsync interval to try again. This patch instead checks if all pending raster tasks complete within a grace period (8 ms) from the previous vsync. If so, we retry tree activation and render the new frame immediately if it succeeds. This decreases the latency of Blink-driven animations. BUG=161828

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -0 lines) Patch
M cc/resources/tile_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/thread_proxy.cc View 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Sami
Straw man #2 for JSGameBench.
7 years, 8 months ago (2013-04-18 10:50:57 UTC) #1
Sami
Here's the bug that might help us remove the magic constant: http://crbug.com/224602.
7 years, 8 months ago (2013-04-18 10:59:58 UTC) #2
danakj
On 2013/04/18 10:59:58, Sami wrote: > Here's the bug that might help us remove the ...
7 years, 8 months ago (2013-04-18 15:13:59 UTC) #3
Sami
On 2013/04/18 15:13:59, danakj wrote: > On 2013/04/18 10:59:58, Sami wrote: > > Here's the ...
7 years, 8 months ago (2013-04-18 15:19:42 UTC) #4
danakj
On 2013/04/18 15:19:42, Sami wrote: > On 2013/04/18 15:13:59, danakj wrote: > > On 2013/04/18 ...
7 years, 8 months ago (2013-04-18 15:21:07 UTC) #5
Sami
On 2013/04/18 15:21:07, danakj wrote: > On 2013/04/18 15:19:42, Sami wrote: > > On 2013/04/18 ...
7 years, 8 months ago (2013-04-18 15:25:05 UTC) #6
danakj
On 2013/04/18 15:25:05, Sami wrote: > On 2013/04/18 15:21:07, danakj wrote: > > On 2013/04/18 ...
7 years, 8 months ago (2013-04-18 15:27:57 UTC) #7
Sami
> I was suggesting instead of vsync->try->wait 8ms->try to do vsync->wait > 8ms->try. I'm not ...
7 years, 8 months ago (2013-04-18 15:35:55 UTC) #8
brianderson
I like where this patch is going. I would vote for using swap acks to ...
7 years, 8 months ago (2013-04-18 22:24:43 UTC) #9
danakj
On Thu, Apr 18, 2013 at 6:24 PM, <brianderson@chromium.org> wrote: > I like where this ...
7 years, 8 months ago (2013-04-18 22:39:34 UTC) #10
Tom Hudson
On 2013/04/18 22:39:34, danakj wrote: > On Thu, Apr 18, 2013 at 6:24 PM, <mailto:brianderson@chromium.org> ...
7 years, 8 months ago (2013-04-19 09:55:37 UTC) #11
danakj
On Fri, Apr 19, 2013 at 5:55 AM, <tomhudson@chromium.org> wrote: > On 2013/04/18 22:39:34, danakj ...
7 years, 8 months ago (2013-04-19 16:48:09 UTC) #12
enne (OOO)
I think we're all on a similar page here. To recap an offline discussion with ...
7 years, 8 months ago (2013-04-19 17:09:22 UTC) #13
Sami
On 2013/04/19 17:09:22, enne wrote: > I think we're all on a similar page here. ...
7 years, 8 months ago (2013-04-19 17:20:18 UTC) #14
nduca
Oh please dont go delaying swap acks. Figure out why the scheduler is doing the ...
7 years, 8 months ago (2013-04-22 17:28:35 UTC) #15
nduca
Actually, wait. Folks, if the scheduler was right aligned, then wouldn't this fix things? vsync ...
7 years, 8 months ago (2013-04-22 17:32:23 UTC) #16
Sami
On 2013/04/22 17:32:23, nduca wrote: > Actually, wait. Folks, if the scheduler was right aligned, ...
7 years, 8 months ago (2013-04-22 18:42:07 UTC) #17
nduca
Well put! I think maybe a gvc with some whiteboardses would be good soon.
7 years, 8 months ago (2013-04-22 22:54:10 UTC) #18
Tom Hudson
On 2013/04/22 22:54:10, nduca wrote: > Well put! I think maybe a gvc with some ...
7 years, 8 months ago (2013-04-23 08:43:27 UTC) #19
reveman
The early activation idea is useful on its own and can be done separately from ...
7 years, 8 months ago (2013-04-23 18:32:55 UTC) #20
enne (OOO)
On 2013/04/23 18:32:55, David Reveman wrote: > The early activation idea is useful on its ...
7 years, 8 months ago (2013-04-24 14:36:21 UTC) #21
danakj
On Wed, Apr 24, 2013 at 10:36 AM, <enne@chromium.org> wrote: > On 2013/04/23 18:32:55, David ...
7 years, 8 months ago (2013-04-24 14:45:44 UTC) #22
Tom Hudson
Did the evening meeting on the 25th conclude that we're going to set this aside ...
7 years, 7 months ago (2013-04-29 10:40:48 UTC) #23
Sami
7 years, 7 months ago (2013-04-29 10:45:07 UTC) #24
Message was sent while issue was closed.
Yes, I believe this is deprecated in favor of
https://docs.google.com/a/chromium.org/document/d/1LUFA8MDpJcDHE0_L2EHvrcwqOM...
:)

Powered by Google App Engine
This is Rietveld 408576698