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

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

Issue 782583003: List sync points to wait on in AsyncFlush message Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: gpu/command_buffer/service/command_buffer_service_unittest.cc
diff --git a/gpu/command_buffer/service/command_buffer_service_unittest.cc b/gpu/command_buffer/service/command_buffer_service_unittest.cc
index 8a7d43ca9861d77560a2a3c18d4832c31bde6271..3b71b13656fd98ea7bcfca085d21ab408ed7d7d5 100644
--- a/gpu/command_buffer/service/command_buffer_service_unittest.cc
+++ b/gpu/command_buffer/service/command_buffer_service_unittest.cc
@@ -97,23 +97,23 @@ TEST_F(CommandBufferServiceTest, CanSyncGetAndPutOffset) {
base::Unretained(change_callback.get())));
EXPECT_CALL(*change_callback, PutOffsetChanged());
- command_buffer_->Flush(2);
+ command_buffer_->Flush(2, std::vector<uint32>());
EXPECT_EQ(0, GetGetOffset());
EXPECT_EQ(2, GetPutOffset());
EXPECT_CALL(*change_callback, PutOffsetChanged());
- command_buffer_->Flush(4);
+ command_buffer_->Flush(4, std::vector<uint32>());
EXPECT_EQ(0, GetGetOffset());
EXPECT_EQ(4, GetPutOffset());
command_buffer_->SetGetOffset(2);
EXPECT_EQ(2, GetGetOffset());
EXPECT_CALL(*change_callback, PutOffsetChanged());
- command_buffer_->Flush(6);
+ command_buffer_->Flush(6, std::vector<uint32>());
- command_buffer_->Flush(-1);
+ command_buffer_->Flush(-1, std::vector<uint32>());
EXPECT_NE(error::kNoError, GetError());
- command_buffer_->Flush(1024);
+ command_buffer_->Flush(1024, std::vector<uint32>());
EXPECT_NE(error::kNoError, GetError());
}
« no previous file with comments | « gpu/command_buffer/service/command_buffer_service.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698