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

Side by Side Diff: cc/layer_tree_host_impl_unittest.cc

Issue 12912006: Part 4 of cc/ directory shuffles: output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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/layer_tree_host_impl.h" 5 #include "cc/layer_tree_host_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/hash_tables.h" 11 #include "base/hash_tables.h"
12 #include "cc/base/math_util.h" 12 #include "cc/base/math_util.h"
13 #include "cc/compositor_frame_metadata.h"
14 #include "cc/delegated_renderer_layer_impl.h" 13 #include "cc/delegated_renderer_layer_impl.h"
15 #include "cc/gl_renderer.h"
16 #include "cc/heads_up_display_layer_impl.h" 14 #include "cc/heads_up_display_layer_impl.h"
17 #include "cc/io_surface_layer_impl.h" 15 #include "cc/io_surface_layer_impl.h"
18 #include "cc/layer_impl.h" 16 #include "cc/layer_impl.h"
19 #include "cc/layer_tiling_data.h" 17 #include "cc/layer_tiling_data.h"
20 #include "cc/layer_tree_impl.h" 18 #include "cc/layer_tree_impl.h"
19 #include "cc/output/compositor_frame_metadata.h"
20 #include "cc/output/gl_renderer.h"
21 #include "cc/quad_sink.h" 21 #include "cc/quad_sink.h"
22 #include "cc/render_pass_draw_quad.h" 22 #include "cc/render_pass_draw_quad.h"
23 #include "cc/scrollbar_geometry_fixed_thumb.h" 23 #include "cc/scrollbar_geometry_fixed_thumb.h"
24 #include "cc/scrollbar_layer_impl.h" 24 #include "cc/scrollbar_layer_impl.h"
25 #include "cc/single_thread_proxy.h" 25 #include "cc/single_thread_proxy.h"
26 #include "cc/solid_color_draw_quad.h" 26 #include "cc/solid_color_draw_quad.h"
27 #include "cc/solid_color_layer_impl.h" 27 #include "cc/solid_color_layer_impl.h"
28 #include "cc/test/animation_test_common.h" 28 #include "cc/test/animation_test_common.h"
29 #include "cc/test/fake_output_surface.h" 29 #include "cc/test/fake_output_surface.h"
30 #include "cc/test/fake_proxy.h" 30 #include "cc/test/fake_proxy.h"
(...skipping 4311 matching lines...) Expand 10 before | Expand all | Expand 10 after
4342 EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), renderPassQuad->rect.ToS tring()); 4342 EXPECT_EQ(gfx::Rect(0, 0, 100, 100).ToString(), renderPassQuad->rect.ToS tring());
4343 EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), renderPassQuad->mas k_uv_rect.ToString()); 4343 EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), renderPassQuad->mas k_uv_rect.ToString());
4344 4344
4345 m_hostImpl->DrawLayers(&frame, base::TimeTicks::Now()); 4345 m_hostImpl->DrawLayers(&frame, base::TimeTicks::Now());
4346 m_hostImpl->DidDrawAllLayers(frame); 4346 m_hostImpl->DidDrawAllLayers(frame);
4347 } 4347 }
4348 } 4348 }
4349 4349
4350 } // namespace 4350 } // namespace
4351 } // namespace cc 4351 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698