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

Side by Side Diff: cc/debug/rasterize_and_record_benchmark_impl.h

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
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 #ifndef CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ 5 #ifndef CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_
6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ 6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 23 matching lines...) Expand all
34 void Run(LayerImpl* layer); 34 void Run(LayerImpl* layer);
35 35
36 struct RasterizeResults { 36 struct RasterizeResults {
37 RasterizeResults(); 37 RasterizeResults();
38 ~RasterizeResults(); 38 ~RasterizeResults();
39 39
40 int pixels_rasterized; 40 int pixels_rasterized;
41 int pixels_rasterized_with_non_solid_color; 41 int pixels_rasterized_with_non_solid_color;
42 int pixels_rasterized_as_opaque; 42 int pixels_rasterized_as_opaque;
43 base::TimeDelta total_best_time; 43 base::TimeDelta total_best_time;
44 int total_memory_usage;
44 int total_layers; 45 int total_layers;
45 int total_picture_layers; 46 int total_picture_layers;
46 int total_picture_layers_with_no_content; 47 int total_picture_layers_with_no_content;
47 int total_picture_layers_off_screen; 48 int total_picture_layers_off_screen;
48 }; 49 };
49 50
50 RasterizeResults rasterize_results_; 51 RasterizeResults rasterize_results_;
51 int rasterize_repeat_count_; 52 int rasterize_repeat_count_;
52 NamespaceToken task_namespace_; 53 NamespaceToken task_namespace_;
53 }; 54 };
54 55
55 } // namespace cc 56 } // namespace cc
56 57
57 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ 58 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_
OLDNEW
« no previous file with comments | « cc/debug/rasterize_and_record_benchmark.cc ('k') | cc/debug/rasterize_and_record_benchmark_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698