| 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 "content/common/cc_messages.h" | |
| 6 | |
| 7 #include <utility> | 5 #include <utility> |
| 8 | 6 |
| 9 #include "base/test/launcher/unit_test_launcher.h" | 7 #include "base/test/launcher/unit_test_launcher.h" |
| 10 #include "base/test/test_suite.h" | 8 #include "base/test/test_suite.h" |
| 9 #include "cc/ipc/cc_param_traits.h" |
| 11 #include "cc/output/compositor_frame.h" | 10 #include "cc/output/compositor_frame.h" |
| 11 #include "cc/quads/picture_draw_quad.h" |
| 12 #include "ipc/ipc_message.h" | 12 #include "ipc/ipc_message.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 #include "testing/perf/perf_test.h" | 14 #include "testing/perf/perf_test.h" |
| 15 | 15 |
| 16 using cc::CompositorFrame; | 16 using cc::CompositorFrame; |
| 17 using cc::DelegatedFrameData; | 17 using cc::DelegatedFrameData; |
| 18 using cc::DrawQuad; | 18 using cc::DrawQuad; |
| 19 using cc::PictureDrawQuad; | 19 using cc::PictureDrawQuad; |
| 20 using cc::RenderPass; | 20 using cc::RenderPass; |
| 21 using cc::SharedQuadState; | 21 using cc::SharedQuadState; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 } | 151 } |
| 152 frame->delegated_frame_data->render_pass_list.push_back( | 152 frame->delegated_frame_data->render_pass_list.push_back( |
| 153 std::move(render_pass)); | 153 std::move(render_pass)); |
| 154 } | 154 } |
| 155 | 155 |
| 156 RunTest("DelegatedFrame_ManyRenderPasses_10000_100", *frame); | 156 RunTest("DelegatedFrame_ManyRenderPasses_10000_100", *frame); |
| 157 } | 157 } |
| 158 | 158 |
| 159 } // namespace | 159 } // namespace |
| 160 } // namespace content | 160 } // namespace content |
| OLD | NEW |