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

Side by Side Diff: cc/output/software_renderer_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/output/gl_renderer_unittest.cc ('k') | cc/quads/render_pass.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 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/output/software_renderer.h" 5 #include "cc/output/software_renderer.h"
6 6
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "cc/layers/quad_sink.h"
9 #include "cc/output/compositor_frame_metadata.h" 8 #include "cc/output/compositor_frame_metadata.h"
10 #include "cc/output/copy_output_request.h" 9 #include "cc/output/copy_output_request.h"
11 #include "cc/output/copy_output_result.h" 10 #include "cc/output/copy_output_result.h"
12 #include "cc/output/software_output_device.h" 11 #include "cc/output/software_output_device.h"
13 #include "cc/quads/render_pass.h" 12 #include "cc/quads/render_pass.h"
14 #include "cc/quads/render_pass_draw_quad.h" 13 #include "cc/quads/render_pass_draw_quad.h"
15 #include "cc/quads/solid_color_draw_quad.h" 14 #include "cc/quads/solid_color_draw_quad.h"
16 #include "cc/quads/tile_draw_quad.h" 15 #include "cc/quads/tile_draw_quad.h"
17 #include "cc/test/animation_test_common.h" 16 #include "cc/test/animation_test_common.h"
18 #include "cc/test/fake_output_surface.h" 17 #include "cc/test/fake_output_surface.h"
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 EXPECT_EQ( 431 EXPECT_EQ(
433 SK_ColorMAGENTA, 432 SK_ColorMAGENTA,
434 output->getColor(interior_visible_rect.x(), interior_visible_rect.y())); 433 output->getColor(interior_visible_rect.x(), interior_visible_rect.y()));
435 EXPECT_EQ(SK_ColorMAGENTA, 434 EXPECT_EQ(SK_ColorMAGENTA,
436 output->getColor(interior_visible_rect.right() - 1, 435 output->getColor(interior_visible_rect.right() - 1,
437 interior_visible_rect.bottom() - 1)); 436 interior_visible_rect.bottom() - 1));
438 } 437 }
439 438
440 } // namespace 439 } // namespace
441 } // namespace cc 440 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | cc/quads/render_pass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698