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

Unified Diff: gpu/command_buffer/client/cmd_buffer_helper_test.cc

Issue 7253052: Execute all GL commands up to the put offset reported by a flush. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
Index: gpu/command_buffer/client/cmd_buffer_helper_test.cc
===================================================================
--- gpu/command_buffer/client/cmd_buffer_helper_test.cc (revision 91774)
+++ gpu/command_buffer/client/cmd_buffer_helper_test.cc (working copy)
@@ -78,7 +78,7 @@
Invoke(do_jump_command_.get(), &DoJumpCommand::DoCommand));
gpu_scheduler_.reset(new GpuScheduler(
- command_buffer_.get(), NULL, parser_, 1));
+ command_buffer_.get(), NULL, parser_));
command_buffer_->SetPutOffsetChangeCallback(NewCallback(
gpu_scheduler_.get(), &GpuScheduler::PutChanged));
@@ -185,10 +185,6 @@
args2[1].value_float = 6.f;
AddCommandWithExpect(error::kNoError, kUnusedCommandId, 2, args2);
- helper_->Flush();
- // Check that the engine has work to do now.
- EXPECT_FALSE(parser_->IsEmpty());
-
// Wait until it's done.
helper_->Finish();
// Check that the engine has no more work to do.

Powered by Google App Engine
This is Rietveld 408576698