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/gl_renderer.h" | 5 #include "cc/output/gl_renderer.h" |
6 | 6 |
7 #include "cc/draw_quad.h" | 7 #include "cc/draw_quad.h" |
8 #include "cc/test/pixel_test.h" | 8 #include "cc/test/pixel_test.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 namespace { | 11 namespace { |
12 | 12 |
13 class GLRendererPixelTest : public PixelTest {}; | 13 class GLRendererPixelTest : public PixelTest {}; |
14 | 14 |
15 scoped_ptr<RenderPass> CreateTestRootRenderPass(RenderPass::Id id, | 15 scoped_ptr<RenderPass> CreateTestRootRenderPass(RenderPass::Id id, |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 | 316 |
317 renderer_->DrawFrame(pass_list); | 317 renderer_->DrawFrame(pass_list); |
318 | 318 |
319 EXPECT_TRUE(PixelsMatchReference( | 319 EXPECT_TRUE(PixelsMatchReference( |
320 base::FilePath(FILE_PATH_LITERAL("anti_aliasing.png")))); | 320 base::FilePath(FILE_PATH_LITERAL("anti_aliasing.png")))); |
321 } | 321 } |
322 #endif | 322 #endif |
323 | 323 |
324 } // namespace | 324 } // namespace |
325 } // namespace cc | 325 } // namespace cc |
OLD | NEW |