| 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 "cc/test/layer_tree_pixel_test.h" | 5 #include "cc/test/layer_tree_pixel_test.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/memory/ptr_util.h" |
| 11 #include "base/path_service.h" | 12 #include "base/path_service.h" |
| 12 #include "cc/base/switches.h" | 13 #include "cc/base/switches.h" |
| 13 #include "cc/layers/solid_color_layer.h" | 14 #include "cc/layers/solid_color_layer.h" |
| 14 #include "cc/layers/texture_layer.h" | 15 #include "cc/layers/texture_layer.h" |
| 15 #include "cc/output/copy_output_request.h" | 16 #include "cc/output/copy_output_request.h" |
| 16 #include "cc/output/copy_output_result.h" | 17 #include "cc/output/copy_output_result.h" |
| 17 #include "cc/output/software_output_device.h" | 18 #include "cc/output/software_output_device.h" |
| 18 #include "cc/resources/texture_mailbox.h" | 19 #include "cc/resources/texture_mailbox.h" |
| 19 #include "cc/test/paths.h" | 20 #include "cc/test/paths.h" |
| 20 #include "cc/test/pixel_comparator.h" | 21 #include "cc/test/pixel_comparator.h" |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 } | 286 } |
| 286 | 287 |
| 287 void LayerTreePixelTest::Finish() { | 288 void LayerTreePixelTest::Finish() { |
| 288 std::unique_ptr<gpu::GLInProcessContext> context = | 289 std::unique_ptr<gpu::GLInProcessContext> context = |
| 289 CreateTestInProcessContext(); | 290 CreateTestInProcessContext(); |
| 290 GLES2Interface* gl = context->GetImplementation(); | 291 GLES2Interface* gl = context->GetImplementation(); |
| 291 gl->Finish(); | 292 gl->Finish(); |
| 292 } | 293 } |
| 293 | 294 |
| 294 } // namespace cc | 295 } // namespace cc |
| OLD | NEW |