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

Side by Side Diff: cc/overdraw_metrics.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
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/overdraw_metrics.h" 5 #include "cc/overdraw_metrics.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "cc/base/math_util.h"
9 #include "cc/layer_tree_host.h" 10 #include "cc/layer_tree_host.h"
10 #include "cc/layer_tree_host_impl.h" 11 #include "cc/layer_tree_host_impl.h"
11 #include "cc/math_util.h"
12 #include "ui/gfx/quad_f.h" 12 #include "ui/gfx/quad_f.h"
13 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
14 #include "ui/gfx/transform.h" 14 #include "ui/gfx/transform.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 OverdrawMetrics::OverdrawMetrics(bool record_metrics_for_frame) 18 OverdrawMetrics::OverdrawMetrics(bool record_metrics_for_frame)
19 : record_metrics_for_frame_(record_metrics_for_frame), 19 : record_metrics_for_frame_(record_metrics_for_frame),
20 pixels_painted_(0), 20 pixels_painted_(0),
21 pixels_uploaded_opaque_(0), 21 pixels_uploaded_opaque_(0),
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 contents_texture_use_bytes_, 258 contents_texture_use_bytes_,
259 "RenderSurfaceTextureBytes", 259 "RenderSurfaceTextureBytes",
260 render_surface_texture_use_bytes_); 260 render_surface_texture_use_bytes_);
261 } 261 }
262 break; 262 break;
263 } 263 }
264 } 264 }
265 } 265 }
266 266
267 } // namespace cc 267 } // namespace cc
OLDNEW
« cc/cc.gyp ('K') | « cc/output_surface_client.h ('k') | cc/picture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698