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

Side by Side Diff: cc/surfaces/direct_compositor_frame_sink_unittest.cc

Issue 2708153005: Rename SurfaceIdAllocator to LocalSurfaceIdAllocator (Closed)
Patch Set: Delete useless include Created 3 years, 10 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
« no previous file with comments | « cc/surfaces/direct_compositor_frame_sink.cc ('k') | cc/surfaces/display_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 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 "cc/surfaces/direct_compositor_frame_sink.h" 5 #include "cc/surfaces/direct_compositor_frame_sink.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "cc/output/renderer_settings.h" 10 #include "cc/output/renderer_settings.h"
11 #include "cc/output/texture_mailbox_deleter.h" 11 #include "cc/output/texture_mailbox_deleter.h"
12 #include "cc/scheduler/begin_frame_source.h" 12 #include "cc/scheduler/begin_frame_source.h"
13 #include "cc/scheduler/delay_based_time_source.h" 13 #include "cc/scheduler/delay_based_time_source.h"
14 #include "cc/surfaces/display.h" 14 #include "cc/surfaces/display.h"
15 #include "cc/surfaces/display_scheduler.h" 15 #include "cc/surfaces/display_scheduler.h"
16 #include "cc/surfaces/frame_sink_id.h" 16 #include "cc/surfaces/frame_sink_id.h"
17 #include "cc/surfaces/surface_id_allocator.h" 17 #include "cc/surfaces/local_surface_id_allocator.h"
18 #include "cc/surfaces/surface_manager.h" 18 #include "cc/surfaces/surface_manager.h"
19 #include "cc/test/fake_compositor_frame_sink_client.h" 19 #include "cc/test/fake_compositor_frame_sink_client.h"
20 #include "cc/test/fake_output_surface.h" 20 #include "cc/test/fake_output_surface.h"
21 #include "cc/test/ordered_simple_task_runner.h" 21 #include "cc/test/ordered_simple_task_runner.h"
22 #include "cc/test/test_context_provider.h" 22 #include "cc/test/test_context_provider.h"
23 #include "cc/test/test_gpu_memory_buffer_manager.h" 23 #include "cc/test/test_gpu_memory_buffer_manager.h"
24 #include "cc/test/test_shared_bitmap_manager.h" 24 #include "cc/test/test_shared_bitmap_manager.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 namespace cc { 27 namespace cc {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 EXPECT_EQ(1u, display_output_surface_->num_sent_frames()); 146 EXPECT_EQ(1u, display_output_surface_->num_sent_frames());
147 147
148 SwapBuffersWithDamage(gfx::Rect()); 148 SwapBuffersWithDamage(gfx::Rect());
149 EXPECT_EQ(1u, display_output_surface_->num_sent_frames()); 149 EXPECT_EQ(1u, display_output_surface_->num_sent_frames());
150 task_runner_->RunUntilIdle(); 150 task_runner_->RunUntilIdle();
151 EXPECT_EQ(1u, display_output_surface_->num_sent_frames()); 151 EXPECT_EQ(1u, display_output_surface_->num_sent_frames());
152 } 152 }
153 153
154 } // namespace 154 } // namespace
155 } // namespace cc 155 } // namespace cc
OLDNEW
« no previous file with comments | « cc/surfaces/direct_compositor_frame_sink.cc ('k') | cc/surfaces/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698