diff options
author | brianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-28 23:57:54 +0000 |
---|---|---|
committer | brianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-28 23:57:54 +0000 |
commit | 7b5d54336578a0387942de58101cafedc3085543 (patch) | |
tree | d94f07d57db02d1e90f54585d91d54656bf4b67e /cc | |
parent | caa76c430dca6c1222315b6317464cc687f5eb55 (diff) | |
download | chromium_src-7b5d54336578a0387942de58101cafedc3085543.zip chromium_src-7b5d54336578a0387942de58101cafedc3085543.tar.gz chromium_src-7b5d54336578a0387942de58101cafedc3085543.tar.bz2 |
cc: Reset swapUsedIncompleteTile on draw
swapUsedIncompleteTile isn't reset anywhere, which causes us
to check for uploaded tiles forever.
BUG=172602
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/12078003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/scheduler_state_machine.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/scheduler_state_machine.cc b/cc/scheduler_state_machine.cc index cb92a92..3ca403f 100644 --- a/cc/scheduler_state_machine.cc +++ b/cc/scheduler_state_machine.cc @@ -265,6 +265,7 @@ void SchedulerStateMachine::updateState(Action action) m_needsRedraw = false; m_needsForcedRedraw = false; m_drawIfPossibleFailed = false; + m_swapUsedIncompleteTile = false; if (m_insideVSync) m_lastFrameNumberWhereDrawWasCalled = m_currentFrameNumber; if (m_commitState == COMMIT_STATE_WAITING_FOR_FIRST_FORCED_DRAW) { |