OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/files/file_util.h" | 5 #include "base/files/file_util.h" |
6 #include "cc/output/gl_renderer.h" | 6 #include "cc/output/gl_renderer.h" |
7 #include "cc/output/software_renderer.h" | 7 #include "cc/output/software_renderer.h" |
8 #include "cc/quads/render_pass.h" | 8 #include "cc/quads/render_pass.h" |
9 #include "cc/test/pixel_comparator.h" | 9 #include "cc/test/pixel_comparator.h" |
| 10 #include "cc/trees/layer_tree_settings.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "ui/gfx/geometry/size.h" | 12 #include "ui/gfx/geometry/size.h" |
12 #include "ui/gl/gl_implementation.h" | 13 #include "ui/gl/gl_implementation.h" |
13 | 14 |
14 #ifndef CC_TEST_PIXEL_TEST_H_ | 15 #ifndef CC_TEST_PIXEL_TEST_H_ |
15 #define CC_TEST_PIXEL_TEST_H_ | 16 #define CC_TEST_PIXEL_TEST_H_ |
16 | 17 |
17 namespace cc { | 18 namespace cc { |
18 class CopyOutputResult; | 19 class CopyOutputResult; |
19 class DirectRenderer; | 20 class DirectRenderer; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 ForceExpandedViewport(gfx::Size(50, 50)); | 165 ForceExpandedViewport(gfx::Size(50, 50)); |
165 ForceViewportOffset(gfx::Vector2d(10, 20)); | 166 ForceViewportOffset(gfx::Vector2d(10, 20)); |
166 } | 167 } |
167 | 168 |
168 typedef RendererPixelTest<GLRenderer> GLRendererPixelTest; | 169 typedef RendererPixelTest<GLRenderer> GLRendererPixelTest; |
169 typedef RendererPixelTest<SoftwareRenderer> SoftwareRendererPixelTest; | 170 typedef RendererPixelTest<SoftwareRenderer> SoftwareRendererPixelTest; |
170 | 171 |
171 } // namespace cc | 172 } // namespace cc |
172 | 173 |
173 #endif // CC_TEST_PIXEL_TEST_H_ | 174 #endif // CC_TEST_PIXEL_TEST_H_ |
OLD | NEW |