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

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

Issue 116863003: gpu: Reuse transfer buffers more aggresively (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: [WIP] Review comments follow-up Created 6 years, 11 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/query_tracker_unittest.cc
diff --git a/gpu/command_buffer/client/query_tracker_unittest.cc b/gpu/command_buffer/client/query_tracker_unittest.cc
index 800c479ec852083ef70dc9e26afc20f0eeba6061..fc2b0363c8a87caa2d8d96e1be988a5066e3fc1d 100644
--- a/gpu/command_buffer/client/query_tracker_unittest.cc
+++ b/gpu/command_buffer/client/query_tracker_unittest.cc
@@ -114,7 +114,7 @@ TEST_F(QueryTrackerTest, Basic) {
// Check we can create a Query.
QueryTracker::Query* query = query_tracker_->CreateQuery(
- kId1, GL_ANY_SAMPLES_PASSED_EXT);
+ kId1, GL_ANY_SAMPLES_PASSED_EXT, false);
ASSERT_TRUE(query != NULL);
// Check we can get the same Query.
EXPECT_EQ(query, query_tracker_->GetQuery(kId1));
@@ -133,7 +133,7 @@ TEST_F(QueryTrackerTest, Query) {
// Create a Query.
QueryTracker::Query* query = query_tracker_->CreateQuery(
- kId1, GL_ANY_SAMPLES_PASSED_EXT);
+ kId1, GL_ANY_SAMPLES_PASSED_EXT, false);
ASSERT_TRUE(query != NULL);
EXPECT_TRUE(query->NeverUsed());
EXPECT_FALSE(query->Pending());
@@ -178,7 +178,7 @@ TEST_F(QueryTrackerTest, Remove) {
// Create a Query.
QueryTracker::Query* query = query_tracker_->CreateQuery(
- kId1, GL_ANY_SAMPLES_PASSED_EXT);
+ kId1, GL_ANY_SAMPLES_PASSED_EXT, false);
ASSERT_TRUE(query != NULL);
QuerySyncManager::Bucket* bucket = GetBucket(query);

Powered by Google App Engine
This is Rietveld 408576698