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

Side by Side Diff: cc/trees/layer_tree_host_perftest.cc

Issue 485043003: cc: Use correct message loop proxy in BlockingTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_host_unittest_context.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 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/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "cc/debug/lap_timer.h" 14 #include "cc/debug/lap_timer.h"
15 #include "cc/layers/content_layer.h" 15 #include "cc/layers/content_layer.h"
16 #include "cc/layers/nine_patch_layer.h" 16 #include "cc/layers/nine_patch_layer.h"
17 #include "cc/layers/solid_color_layer.h" 17 #include "cc/layers/solid_color_layer.h"
18 #include "cc/layers/texture_layer.h" 18 #include "cc/layers/texture_layer.h"
19 #include "cc/resources/single_release_callback.h"
19 #include "cc/resources/texture_mailbox.h" 20 #include "cc/resources/texture_mailbox.h"
20 #include "cc/test/fake_content_layer_client.h" 21 #include "cc/test/fake_content_layer_client.h"
21 #include "cc/test/layer_tree_json_parser.h" 22 #include "cc/test/layer_tree_json_parser.h"
22 #include "cc/test/layer_tree_test.h" 23 #include "cc/test/layer_tree_test.h"
23 #include "cc/test/paths.h" 24 #include "cc/test/paths.h"
24 #include "cc/trees/layer_tree_impl.h" 25 #include "cc/trees/layer_tree_impl.h"
25 #include "testing/perf/perf_test.h" 26 #include "testing/perf/perf_test.h"
26 27
27 namespace cc { 28 namespace cc {
28 namespace { 29 namespace {
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 TEST_F(LayerTreeHostPerfTestJsonReader, HeavyPageThreadedImplSide) { 330 TEST_F(LayerTreeHostPerfTestJsonReader, HeavyPageThreadedImplSide) {
330 begin_frame_driven_drawing_ = true; 331 begin_frame_driven_drawing_ = true;
331 measure_commit_cost_ = true; 332 measure_commit_cost_ = true;
332 SetTestName("heavy_page"); 333 SetTestName("heavy_page");
333 ReadTestFile("heavy_layer_tree"); 334 ReadTestFile("heavy_layer_tree");
334 RunTestWithImplSidePainting(); 335 RunTestWithImplSidePainting();
335 } 336 }
336 337
337 } // namespace 338 } // namespace
338 } // namespace cc 339 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/layer_tree_host_unittest_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698