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

Unified Diff: cc/scheduler/scheduler_state_machine.cc

Issue 162473003: cc: Add more DrawSwapReadbackResult enums (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/scheduler/draw_swap_readback_result.h ('k') | cc/scheduler/scheduler_state_machine_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler_state_machine.cc
diff --git a/cc/scheduler/scheduler_state_machine.cc b/cc/scheduler/scheduler_state_machine.cc
index 947637ddb0e86551714d4c741ef80ad37a689caa..53f650634cc455b7793dc607fbf0decef28c28a2 100644
--- a/cc/scheduler/scheduler_state_machine.cc
+++ b/cc/scheduler/scheduler_state_machine.cc
@@ -1068,6 +1068,11 @@ void SchedulerStateMachine::DidDrawIfPossibleCompleted(
// anyway.
needs_commit_ = true;
break;
+ case DrawSwapReadbackResult::DRAW_ABORTED_CONTEXT_LOST:
+ case DrawSwapReadbackResult::DRAW_ABORTED_CANT_DRAW:
+ case DrawSwapReadbackResult::DRAW_ABORTED_CANT_READBACK:
+ // Nothing to do.
danakj 2014/02/13 20:43:55 Should these needs_redraw_ = true; ? That's what w
brianderson 2014/02/14 01:41:50 I think it would be best to combine these states w
+ break;
}
}
« no previous file with comments | « cc/scheduler/draw_swap_readback_result.h ('k') | cc/scheduler/scheduler_state_machine_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698