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

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

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 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
« no previous file with comments | « cc/playback/picture_pile_impl.h ('k') | cc/playback/picture_pile_impl_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 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 <algorithm> 5 #include <algorithm>
6 #include <limits> 6 #include <limits>
7 #include <set> 7 #include <set>
8 8
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "cc/base/region.h" 10 #include "cc/base/region.h"
11 #include "cc/debug/debug_colors.h" 11 #include "cc/debug/debug_colors.h"
12 #include "cc/resources/picture_pile_impl.h" 12 #include "cc/playback/picture_pile_impl.h"
13 #include "cc/resources/raster_source_helper.h" 13 #include "cc/playback/raster_source_helper.h"
14 #include "skia/ext/analysis_canvas.h" 14 #include "skia/ext/analysis_canvas.h"
15 #include "third_party/skia/include/core/SkCanvas.h" 15 #include "third_party/skia/include/core/SkCanvas.h"
16 #include "third_party/skia/include/core/SkPictureRecorder.h" 16 #include "third_party/skia/include/core/SkPictureRecorder.h"
17 #include "ui/gfx/geometry/rect_conversions.h" 17 #include "ui/gfx/geometry/rect_conversions.h"
18 18
19 namespace cc { 19 namespace cc {
20 20
21 scoped_refptr<PicturePileImpl> PicturePileImpl::CreateFromPicturePile( 21 scoped_refptr<PicturePileImpl> PicturePileImpl::CreateFromPicturePile(
22 const PicturePile* other, 22 const PicturePile* other,
23 bool can_use_lcd_text) { 23 bool can_use_lcd_text) {
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 for (const auto& map_pair : picture_map_) { 454 for (const auto& map_pair : picture_map_) {
455 const Picture* picture = map_pair.second.get(); 455 const Picture* picture = map_pair.second.get();
456 if (processed_pictures.count(picture) == 0) { 456 if (processed_pictures.count(picture) == 0) {
457 picture->EmitTraceSnapshot(); 457 picture->EmitTraceSnapshot();
458 processed_pictures.insert(picture); 458 processed_pictures.insert(picture);
459 } 459 }
460 } 460 }
461 } 461 }
462 462
463 } // namespace cc 463 } // namespace cc
OLDNEW
« no previous file with comments | « cc/playback/picture_pile_impl.h ('k') | cc/playback/picture_pile_impl_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698