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

Unified Diff: gpu/command_buffer/service/command_executor.cc

Issue 2021603002: gpu: Add a new extension CHROMIUM_deschedule. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from piman. Created 4 years, 7 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 | « gpu/command_buffer/common/gles2_cmd_ids_autogen.h ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/command_executor.cc
diff --git a/gpu/command_buffer/service/command_executor.cc b/gpu/command_buffer/service/command_executor.cc
index f541a537f80988bd0f5fef37e08d4b6bcaa41418..4111798c88820723e6722d8e6c03c34430afbb87 100644
--- a/gpu/command_buffer/service/command_executor.cc
+++ b/gpu/command_buffer/service/command_executor.cc
@@ -60,7 +60,8 @@ void CommandExecutor::PutChanged() {
error = parser_->ProcessCommands(CommandParser::kParseCommandsSlice);
- if (error == error::kDeferCommandUntilLater) {
+ if (error == error::kDeferCommandUntilLater ||
+ error == error::kDeferLaterCommands) {
piman 2016/05/31 22:39:21 I think we want to update the Get offset (since we
erikchen 2016/05/31 22:52:01 Good point. Done.
DCHECK(!scheduled());
break;
}
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_ids_autogen.h ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698