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

Unified Diff: cc/scheduler.cc

Issue 11439026: Revert 171403 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/scheduler.h ('k') | cc/scheduler_state_machine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler.cc
===================================================================
--- cc/scheduler.cc (revision 171405)
+++ cc/scheduler.cc (working copy)
@@ -104,18 +104,18 @@
m_frameRateController->didFinishFrame();
}
-void Scheduler::didLoseOutputSurface()
+void Scheduler::didLoseContext()
{
- TRACE_EVENT0("cc", "Scheduler::didLoseOutputSurface");
+ TRACE_EVENT0("cc", "Scheduler::didLoseContext");
m_frameRateController->didAbortAllPendingFrames();
- m_stateMachine.didLoseOutputSurface();
+ m_stateMachine.didLoseContext();
processScheduledActions();
}
-void Scheduler::didRecreateOutputSurface()
+void Scheduler::didRecreateContext()
{
- TRACE_EVENT0("cc", "Scheduler::didRecreateOutputSurface");
- m_stateMachine.didRecreateOutputSurface();
+ TRACE_EVENT0("cc", "Scheduler::didRecreateContext");
+ m_stateMachine.didRecreateContext();
processScheduledActions();
}
@@ -174,7 +174,7 @@
if (result.didSwap)
m_frameRateController->didBeginFrame();
break;
- } case SchedulerStateMachine::ACTION_BEGIN_OUTPUT_SURFACE_RECREATION:
+ } case SchedulerStateMachine::ACTION_BEGIN_CONTEXT_RECREATION:
m_client->scheduledActionBeginContextRecreation();
break;
case SchedulerStateMachine::ACTION_ACQUIRE_LAYER_TEXTURES_FOR_MAIN_THREAD:
« no previous file with comments | « cc/scheduler.h ('k') | cc/scheduler_state_machine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698