| 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/draw_quad.h" | 5 #include "cc/draw_quad.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "cc/base/math_util.h" |
| 8 #include "cc/checkerboard_draw_quad.h" | 9 #include "cc/checkerboard_draw_quad.h" |
| 9 #include "cc/debug_border_draw_quad.h" | 10 #include "cc/debug_border_draw_quad.h" |
| 10 #include "cc/io_surface_draw_quad.h" | 11 #include "cc/io_surface_draw_quad.h" |
| 11 #include "cc/math_util.h" | |
| 12 #include "cc/render_pass_draw_quad.h" | 12 #include "cc/render_pass_draw_quad.h" |
| 13 #include "cc/solid_color_draw_quad.h" | 13 #include "cc/solid_color_draw_quad.h" |
| 14 #include "cc/stream_video_draw_quad.h" | 14 #include "cc/stream_video_draw_quad.h" |
| 15 #include "cc/test/geometry_test_utils.h" | 15 #include "cc/test/geometry_test_utils.h" |
| 16 #include "cc/texture_draw_quad.h" | 16 #include "cc/texture_draw_quad.h" |
| 17 #include "cc/tile_draw_quad.h" | 17 #include "cc/tile_draw_quad.h" |
| 18 #include "cc/yuv_video_draw_quad.h" | 18 #include "cc/yuv_video_draw_quad.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| 20 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" | 20 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" |
| 21 #include "third_party/skia/include/effects/SkBlurImageFilter.h" | 21 #include "third_party/skia/include/effects/SkBlurImageFilter.h" |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 EXPECT_EQ(vPlane.resourceId, quadNew->v_plane.resourceId); | 672 EXPECT_EQ(vPlane.resourceId, quadNew->v_plane.resourceId); |
| 673 EXPECT_EQ(3, IterateAndCount(quadNew.get())); | 673 EXPECT_EQ(3, IterateAndCount(quadNew.get())); |
| 674 EXPECT_EQ(yPlane.resourceId + 1, quadNew->y_plane.resourceId); | 674 EXPECT_EQ(yPlane.resourceId + 1, quadNew->y_plane.resourceId); |
| 675 EXPECT_EQ(uPlane.resourceId + 1, quadNew->u_plane.resourceId); | 675 EXPECT_EQ(uPlane.resourceId + 1, quadNew->u_plane.resourceId); |
| 676 EXPECT_EQ(vPlane.resourceId + 1, quadNew->v_plane.resourceId); | 676 EXPECT_EQ(vPlane.resourceId + 1, quadNew->v_plane.resourceId); |
| 677 } | 677 } |
| 678 | 678 |
| 679 | 679 |
| 680 } // namespace | 680 } // namespace |
| 681 } // namespace cc | 681 } // namespace cc |
| OLD | NEW |