| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> |
| 6 |
| 5 #include <deque> | 7 #include <deque> |
| 6 | 8 |
| 7 #include "base/macros.h" | 9 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/output/bsp_tree.h" | 11 #include "cc/output/bsp_tree.h" |
| 10 #include "cc/output/bsp_walk_action.h" | 12 #include "cc/output/bsp_walk_action.h" |
| 11 #include "cc/quads/draw_polygon.h" | 13 #include "cc/quads/draw_polygon.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 15 |
| 14 namespace cc { | 16 namespace cc { |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 polygon_list.push_back(std::move(polygon_c)); | 341 polygon_list.push_back(std::move(polygon_c)); |
| 340 polygon_list.push_back(std::move(polygon_d)); | 342 polygon_list.push_back(std::move(polygon_d)); |
| 341 | 343 |
| 342 int compare_ids[] = {3, 0, 1, 2, 3}; | 344 int compare_ids[] = {3, 0, 1, 2, 3}; |
| 343 std::vector<int> compare_list = INT_VECTOR_FROM_ARRAY(compare_ids); | 345 std::vector<int> compare_list = INT_VECTOR_FROM_ARRAY(compare_ids); |
| 344 BspTreeTest::RunTest(&polygon_list, compare_list); | 346 BspTreeTest::RunTest(&polygon_list, compare_list); |
| 345 } | 347 } |
| 346 | 348 |
| 347 } // namespace | 349 } // namespace |
| 348 } // namespace cc | 350 } // namespace cc |
| OLD | NEW |