OLD | NEW |
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 <stdint.h> |
| 8 |
7 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
8 #include "cc/output/compositor_frame_metadata.h" | 10 #include "cc/output/compositor_frame_metadata.h" |
9 #include "cc/output/copy_output_request.h" | 11 #include "cc/output/copy_output_request.h" |
10 #include "cc/output/copy_output_result.h" | 12 #include "cc/output/copy_output_result.h" |
11 #include "cc/output/software_output_device.h" | 13 #include "cc/output/software_output_device.h" |
12 #include "cc/quads/render_pass.h" | 14 #include "cc/quads/render_pass.h" |
13 #include "cc/quads/render_pass_draw_quad.h" | 15 #include "cc/quads/render_pass_draw_quad.h" |
14 #include "cc/quads/solid_color_draw_quad.h" | 16 #include "cc/quads/solid_color_draw_quad.h" |
15 #include "cc/quads/tile_draw_quad.h" | 17 #include "cc/quads/tile_draw_quad.h" |
16 #include "cc/test/animation_test_common.h" | 18 #include "cc/test/animation_test_common.h" |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 EXPECT_EQ( | 392 EXPECT_EQ( |
391 SK_ColorMAGENTA, | 393 SK_ColorMAGENTA, |
392 output->getColor(interior_visible_rect.x(), interior_visible_rect.y())); | 394 output->getColor(interior_visible_rect.x(), interior_visible_rect.y())); |
393 EXPECT_EQ(SK_ColorMAGENTA, | 395 EXPECT_EQ(SK_ColorMAGENTA, |
394 output->getColor(interior_visible_rect.right() - 1, | 396 output->getColor(interior_visible_rect.right() - 1, |
395 interior_visible_rect.bottom() - 1)); | 397 interior_visible_rect.bottom() - 1)); |
396 } | 398 } |
397 | 399 |
398 } // namespace | 400 } // namespace |
399 } // namespace cc | 401 } // namespace cc |
OLD | NEW |