Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(849)

Side by Side Diff: content/common/cc_messages_perftest.cc

Issue 1978053002: Move cc ParamTraits to cc/ipc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ignore size_t warnings Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/cc_messages.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/common/cc_messages.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698