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

Side by Side Diff: cc/layers/delegated_renderer_layer_impl_unittest.cc

Issue 308193003: Removed QuadSink and MockQuadCuller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@plumLayerImpl
Patch Set: rebase Created 6 years, 6 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/layers/delegated_renderer_layer_impl.cc ('k') | cc/layers/heads_up_display_layer_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "cc/layers/delegated_renderer_layer_impl.h" 5 #include "cc/layers/delegated_renderer_layer_impl.h"
6 6
7 #include "cc/base/scoped_ptr_vector.h" 7 #include "cc/base/scoped_ptr_vector.h"
8 #include "cc/layers/quad_sink.h"
9 #include "cc/layers/solid_color_layer_impl.h" 8 #include "cc/layers/solid_color_layer_impl.h"
10 #include "cc/quads/render_pass_draw_quad.h" 9 #include "cc/quads/render_pass_draw_quad.h"
11 #include "cc/quads/solid_color_draw_quad.h" 10 #include "cc/quads/solid_color_draw_quad.h"
12 #include "cc/test/fake_delegated_renderer_layer_impl.h" 11 #include "cc/test/fake_delegated_renderer_layer_impl.h"
13 #include "cc/test/fake_layer_tree_host_impl.h" 12 #include "cc/test/fake_layer_tree_host_impl.h"
14 #include "cc/test/fake_layer_tree_host_impl_client.h" 13 #include "cc/test/fake_layer_tree_host_impl_client.h"
15 #include "cc/test/fake_output_surface.h" 14 #include "cc/test/fake_output_surface.h"
16 #include "cc/test/fake_proxy.h" 15 #include "cc/test/fake_proxy.h"
17 #include "cc/test/fake_rendering_stats_instrumentation.h" 16 #include "cc/test/fake_rendering_stats_instrumentation.h"
18 #include "cc/test/geometry_test_utils.h" 17 #include "cc/test/geometry_test_utils.h"
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 // The occlusion extends to 500 in the x-axis, pushing the left of the 1518 // The occlusion extends to 500 in the x-axis, pushing the left of the
1520 // visible part of the quad to 500 - 211 = 300 - 11 inside the quad. 1519 // visible part of the quad to 500 - 211 = 300 - 11 inside the quad.
1521 EXPECT_EQ(gfx::Rect(300 - 11, 0, 100 + 11, 500).ToString(), 1520 EXPECT_EQ(gfx::Rect(300 - 11, 0, 100 + 11, 500).ToString(),
1522 impl.quad_list()[0]->visible_rect.ToString()); 1521 impl.quad_list()[0]->visible_rect.ToString());
1523 } 1522 }
1524 } 1523 }
1525 } 1524 }
1526 1525
1527 } // namespace 1526 } // namespace
1528 } // namespace cc 1527 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl.cc ('k') | cc/layers/heads_up_display_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698