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

Issue 1100943003: Don't defer commit until draw if not drawing soon (Closed)

Created:
5 years, 8 months ago by brianderson
Modified:
5 years, 7 months ago
Reviewers:
sunnyps
CC:
cc-bugs_chromium.org, ccameron, chromium-reviews, scheduler-bugs_chromium.org, Tobias Sargeant
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't defer commit until draw if not drawing soon This will help avoid wedging the main thread for cases where we might not receive BeginFrames. It should also help release the main thread sooner if we aren't going to draw the active tree anytime soon. BUG=479671, 477082

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -3 lines) Patch
M cc/scheduler/scheduler_state_machine.cc View 1 chunk +14 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
brianderson
Need to add unit tests still and might make active_tree_first_draw_is_imminent a function, but ptal.
5 years, 8 months ago (2015-04-22 18:40:48 UTC) #2
brianderson
Sadly, this causes wedging when I resize. Will need to iron those out if we ...
5 years, 8 months ago (2015-04-22 18:51:51 UTC) #3
boliu
On 2015/04/22 18:51:51, brianderson wrote: > Sadly, this causes wedging when I resize. Will need ...
5 years, 8 months ago (2015-04-22 18:54:32 UTC) #4
brianderson
Actually, I can't reproduce the resize hang anymore after syncing to ToT. Not sure what ...
5 years, 8 months ago (2015-04-24 03:45:57 UTC) #5
brianderson
5 years, 7 months ago (2015-05-13 23:29:11 UTC) #6

Powered by Google App Engine
This is Rietveld 408576698