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

Side by Side Diff: cc/output/output_surface_unittest.cc

Issue 416273005: cc/output: cleanup: Remove unnecessary #includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/output/output_surface.cc ('k') | cc/output/overlay_candidate.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/output/output_surface.h" 5 #include "cc/output/output_surface.h"
6 6
7 #include "base/test/test_simple_task_runner.h" 7 #include "base/test/test_simple_task_runner.h"
8 #include "cc/output/managed_memory_policy.h" 8 #include "cc/output/managed_memory_policy.h"
9 #include "cc/output/output_surface_client.h" 9 #include "cc/output/output_surface_client.h"
10 #include "cc/output/software_output_device.h" 10 #include "cc/output/software_output_device.h"
11 #include "cc/test/begin_frame_args_test.h" 11 #include "cc/test/begin_frame_args_test.h"
12 #include "cc/test/fake_output_surface.h" 12 #include "cc/test/fake_output_surface.h"
13 #include "cc/test/fake_output_surface_client.h" 13 #include "cc/test/fake_output_surface_client.h"
14 #include "cc/test/scheduler_test_common.h"
15 #include "cc/test/test_context_provider.h" 14 #include "cc/test/test_context_provider.h"
16 #include "cc/test/test_web_graphics_context_3d.h" 15 #include "cc/test/test_web_graphics_context_3d.h"
17 #include "gpu/GLES2/gl2extchromium.h" 16 #include "gpu/GLES2/gl2extchromium.h"
18 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
19 #include "ui/gfx/frame_time.h" 18 #include "ui/gfx/frame_time.h"
20 19
21 namespace cc { 20 namespace cc {
22 namespace { 21 namespace {
23 22
24 class TestOutputSurface : public OutputSurface { 23 class TestOutputSurface : public OutputSurface {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 EXPECT_EQ(1, software_output_device->ensure_backbuffer_count()); 219 EXPECT_EQ(1, software_output_device->ensure_backbuffer_count());
221 EXPECT_EQ(0, software_output_device->discard_backbuffer_count()); 220 EXPECT_EQ(0, software_output_device->discard_backbuffer_count());
222 output_surface.DiscardBackbuffer(); 221 output_surface.DiscardBackbuffer();
223 222
224 EXPECT_EQ(1, software_output_device->ensure_backbuffer_count()); 223 EXPECT_EQ(1, software_output_device->ensure_backbuffer_count());
225 EXPECT_EQ(1, software_output_device->discard_backbuffer_count()); 224 EXPECT_EQ(1, software_output_device->discard_backbuffer_count());
226 } 225 }
227 226
228 } // namespace 227 } // namespace
229 } // namespace cc 228 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/output_surface.cc ('k') | cc/output/overlay_candidate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698