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

Side by Side Diff: cc/resources/raster_worker_pool_perftest.cc

Issue 279183002: Use LapTimer in rasterize_and_record micro benchmark. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add CC_EXPORT to LapTimer class. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/resources/picture_pile_impl_perftest.cc ('k') | cc/resources/task_graph_runner_perftest.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 "cc/resources/raster_worker_pool.h" 5 #include "cc/resources/raster_worker_pool.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "cc/debug/lap_timer.h"
8 #include "cc/output/context_provider.h" 9 #include "cc/output/context_provider.h"
9 #include "cc/resources/direct_raster_worker_pool.h" 10 #include "cc/resources/direct_raster_worker_pool.h"
10 #include "cc/resources/image_copy_raster_worker_pool.h" 11 #include "cc/resources/image_copy_raster_worker_pool.h"
11 #include "cc/resources/image_raster_worker_pool.h" 12 #include "cc/resources/image_raster_worker_pool.h"
12 #include "cc/resources/pixel_buffer_raster_worker_pool.h" 13 #include "cc/resources/pixel_buffer_raster_worker_pool.h"
13 #include "cc/resources/rasterizer.h" 14 #include "cc/resources/rasterizer.h"
14 #include "cc/resources/resource_pool.h" 15 #include "cc/resources/resource_pool.h"
15 #include "cc/resources/resource_provider.h" 16 #include "cc/resources/resource_provider.h"
16 #include "cc/resources/scoped_resource.h" 17 #include "cc/resources/scoped_resource.h"
17 #include "cc/test/fake_output_surface.h" 18 #include "cc/test/fake_output_surface.h"
18 #include "cc/test/fake_output_surface_client.h" 19 #include "cc/test/fake_output_surface_client.h"
19 #include "cc/test/lap_timer.h"
20 #include "cc/test/test_context_support.h" 20 #include "cc/test/test_context_support.h"
21 #include "cc/test/test_shared_bitmap_manager.h" 21 #include "cc/test/test_shared_bitmap_manager.h"
22 #include "cc/test/test_web_graphics_context_3d.h" 22 #include "cc/test/test_web_graphics_context_3d.h"
23 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
24 #include "testing/perf/perf_test.h" 24 #include "testing/perf/perf_test.h"
25 #include "third_party/khronos/GLES2/gl2.h" 25 #include "third_party/khronos/GLES2/gl2.h"
26 26
27 namespace cc { 27 namespace cc {
28 namespace { 28 namespace {
29 29
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 RunBuildRasterTaskQueueTest("1_0", 1, 0); 457 RunBuildRasterTaskQueueTest("1_0", 1, 0);
458 RunBuildRasterTaskQueueTest("32_0", 32, 0); 458 RunBuildRasterTaskQueueTest("32_0", 32, 0);
459 RunBuildRasterTaskQueueTest("1_1", 1, 1); 459 RunBuildRasterTaskQueueTest("1_1", 1, 1);
460 RunBuildRasterTaskQueueTest("32_1", 32, 1); 460 RunBuildRasterTaskQueueTest("32_1", 32, 1);
461 RunBuildRasterTaskQueueTest("1_4", 1, 4); 461 RunBuildRasterTaskQueueTest("1_4", 1, 4);
462 RunBuildRasterTaskQueueTest("32_4", 32, 4); 462 RunBuildRasterTaskQueueTest("32_4", 32, 4);
463 } 463 }
464 464
465 } // namespace 465 } // namespace
466 } // namespace cc 466 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/picture_pile_impl_perftest.cc ('k') | cc/resources/task_graph_runner_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698