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

Side by Side Diff: gpu/command_buffer/service/sync_point_manager_unittest.cc

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdint.h>
6
5 #include <queue> 7 #include <queue>
6 8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "gpu/command_buffer/service/sync_point_manager.h" 10 #include "gpu/command_buffer/service/sync_point_manager.h"
9 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
10 12
11 namespace gpu { 13 namespace gpu {
12 14
13 class SyncPointManagerTest : public testing::Test { 15 class SyncPointManagerTest : public testing::Test {
14 public: 16 public:
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 EXPECT_EQ(10, test_num); 408 EXPECT_EQ(10, test_num);
407 409
408 // Beginning order [4] should immediately trigger the release. 410 // Beginning order [4] should immediately trigger the release.
409 release_stream.BeginProcessing(); 411 release_stream.BeginProcessing();
410 ASSERT_EQ(4u, release_stream.order_data->current_order_num()); 412 ASSERT_EQ(4u, release_stream.order_data->current_order_num());
411 EXPECT_TRUE(release_stream.client->client_state()->IsFenceSyncReleased(1)); 413 EXPECT_TRUE(release_stream.client->client_state()->IsFenceSyncReleased(1));
412 EXPECT_EQ(123, test_num); 414 EXPECT_EQ(123, test_num);
413 } 415 }
414 416
415 } // namespace gpu 417 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/sync_point_manager.cc ('k') | gpu/command_buffer/service/test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698