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

Side by Side Diff: cc/CCSchedulerStateMachine.cpp

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/CCSchedulerStateMachine.h ('k') | cc/CCSchedulerStateMachineTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "CCSchedulerStateMachine.h" 7 #include "CCSchedulerStateMachine.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 9
10 10
11 namespace WebCore { 11 namespace cc {
12 12
13 CCSchedulerStateMachine::CCSchedulerStateMachine() 13 CCSchedulerStateMachine::CCSchedulerStateMachine()
14 : m_commitState(COMMIT_STATE_IDLE) 14 : m_commitState(COMMIT_STATE_IDLE)
15 , m_currentFrameNumber(0) 15 , m_currentFrameNumber(0)
16 , m_lastFrameNumberWhereDrawWasCalled(-1) 16 , m_lastFrameNumberWhereDrawWasCalled(-1)
17 , m_consecutiveFailedDraws(0) 17 , m_consecutiveFailedDraws(0)
18 , m_maximumNumberOfFailedDrawsBeforeDrawIsForced(3) 18 , m_maximumNumberOfFailedDrawsBeforeDrawIsForced(3)
19 , m_needsRedraw(false) 19 , m_needsRedraw(false)
20 , m_needsForcedRedraw(false) 20 , m_needsForcedRedraw(false)
21 , m_needsForcedRedrawAfterNextCommit(false) 21 , m_needsForcedRedrawAfterNextCommit(false)
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 m_contextState = CONTEXT_ACTIVE; 335 m_contextState = CONTEXT_ACTIVE;
336 setNeedsCommit(); 336 setNeedsCommit();
337 } 337 }
338 338
339 void CCSchedulerStateMachine::setMaximumNumberOfFailedDrawsBeforeDrawIsForced(in t numDraws) 339 void CCSchedulerStateMachine::setMaximumNumberOfFailedDrawsBeforeDrawIsForced(in t numDraws)
340 { 340 {
341 m_maximumNumberOfFailedDrawsBeforeDrawIsForced = numDraws; 341 m_maximumNumberOfFailedDrawsBeforeDrawIsForced = numDraws;
342 } 342 }
343 343
344 } 344 }
OLDNEW
« no previous file with comments | « cc/CCSchedulerStateMachine.h ('k') | cc/CCSchedulerStateMachineTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698