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

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

Issue 12426024: cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
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 "base/debug/trace_event.h" 5 #include "base/debug/trace_event.h"
6 #include "cc/base/region.h" 6 #include "cc/base/region.h"
7 #include "cc/debug/debug_colors.h" 7 #include "cc/debug/debug_colors.h"
8 #include "cc/debug/rendering_stats.h"
9 #include "cc/resources/picture_pile_impl.h" 8 #include "cc/resources/picture_pile_impl.h"
10 #include "skia/ext/analysis_canvas.h" 9 #include "skia/ext/analysis_canvas.h"
11 #include "third_party/skia/include/core/SkCanvas.h" 10 #include "third_party/skia/include/core/SkCanvas.h"
12 #include "third_party/skia/include/core/SkSize.h" 11 #include "third_party/skia/include/core/SkSize.h"
13 #include "ui/gfx/rect_conversions.h" 12 #include "ui/gfx/rect_conversions.h"
14 #include "ui/gfx/size_conversions.h" 13 #include "ui/gfx/size_conversions.h"
15 #include "ui/gfx/skia_util.h" 14 #include "ui/gfx/skia_util.h"
16 15
17 namespace cc { 16 namespace cc {
18 17
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 PicturePileImpl::Analysis::Analysis() : 245 PicturePileImpl::Analysis::Analysis() :
247 is_solid_color(false), 246 is_solid_color(false),
248 is_transparent(false), 247 is_transparent(false),
249 is_cheap_to_raster(false) { 248 is_cheap_to_raster(false) {
250 } 249 }
251 250
252 PicturePileImpl::Analysis::~Analysis() { 251 PicturePileImpl::Analysis::~Analysis() {
253 } 252 }
254 253
255 } // namespace cc 254 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698