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

Side by Side Diff: gpu/command_buffer/client/cmd_buffer_helper_test.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Tests for the Command Buffer Helper. 5 // Tests for the Command Buffer Helper.
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
17 #include "base/message_loop/message_loop.h"
17 #include "base/run_loop.h" 18 #include "base/run_loop.h"
18 #include "gpu/command_buffer/client/cmd_buffer_helper.h" 19 #include "gpu/command_buffer/client/cmd_buffer_helper.h"
19 #include "gpu/command_buffer/service/command_buffer_service.h" 20 #include "gpu/command_buffer/service/command_buffer_service.h"
20 #include "gpu/command_buffer/service/command_executor.h" 21 #include "gpu/command_buffer/service/command_executor.h"
21 #include "gpu/command_buffer/service/mocks.h" 22 #include "gpu/command_buffer/service/mocks.h"
22 #include "gpu/command_buffer/service/transfer_buffer_manager.h" 23 #include "gpu/command_buffer/service/transfer_buffer_manager.h"
23 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
24 25
25 namespace gpu { 26 namespace gpu {
26 27
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 helper_->OrderingBarrier(); 764 helper_->OrderingBarrier();
764 flush_count2 = command_buffer_->FlushCount(); 765 flush_count2 = command_buffer_->FlushCount();
765 helper_->OrderingBarrier(); 766 helper_->OrderingBarrier();
766 flush_count3 = command_buffer_->FlushCount(); 767 flush_count3 = command_buffer_->FlushCount();
767 768
768 EXPECT_EQ(flush_count2, flush_count1 + 1); 769 EXPECT_EQ(flush_count2, flush_count1 + 1);
769 EXPECT_EQ(flush_count3, flush_count2 + 1); 770 EXPECT_EQ(flush_count3, flush_count2 + 1);
770 } 771 }
771 772
772 } // namespace gpu 773 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698