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

Side by Side Diff: cc/playback/display_item_list.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/display_item_list.h ('k') | cc/playback/display_item_list_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/display_item_list.h" 5 #include "cc/playback/display_item_list.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "base/trace_event/trace_event_argument.h" 10 #include "base/trace_event/trace_event_argument.h"
11 #include "cc/base/math_util.h" 11 #include "cc/base/math_util.h"
12 #include "cc/debug/picture_debug_util.h" 12 #include "cc/debug/picture_debug_util.h"
13 #include "cc/debug/traced_picture.h" 13 #include "cc/debug/traced_picture.h"
14 #include "cc/debug/traced_value.h" 14 #include "cc/debug/traced_value.h"
15 #include "cc/resources/largest_display_item.h" 15 #include "cc/playback/largest_display_item.h"
16 #include "third_party/skia/include/core/SkCanvas.h" 16 #include "third_party/skia/include/core/SkCanvas.h"
17 #include "third_party/skia/include/core/SkDrawPictureCallback.h" 17 #include "third_party/skia/include/core/SkDrawPictureCallback.h"
18 #include "third_party/skia/include/core/SkPictureRecorder.h" 18 #include "third_party/skia/include/core/SkPictureRecorder.h"
19 #include "third_party/skia/include/utils/SkPictureUtils.h" 19 #include "third_party/skia/include/utils/SkPictureUtils.h"
20 #include "ui/gfx/skia_util.h" 20 #include "ui/gfx/skia_util.h"
21 21
22 namespace cc { 22 namespace cc {
23 23
24 namespace { 24 namespace {
25 25
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // This should be only called once, and only after CreateAndCacheSkPicture. 220 // This should be only called once, and only after CreateAndCacheSkPicture.
221 DCHECK(picture_); 221 DCHECK(picture_);
222 DCHECK(!pixel_refs_); 222 DCHECK(!pixel_refs_);
223 pixel_refs_ = make_scoped_ptr(new PixelRefMap(grid_cell_size)); 223 pixel_refs_ = make_scoped_ptr(new PixelRefMap(grid_cell_size));
224 if (!picture_->willPlayBackBitmaps()) 224 if (!picture_->willPlayBackBitmaps())
225 return; 225 return;
226 226
227 pixel_refs_->GatherPixelRefsFromPicture(picture_.get()); 227 pixel_refs_->GatherPixelRefsFromPicture(picture_.get());
228 } 228 }
229 } // namespace cc 229 } // namespace cc
OLDNEW
« no previous file with comments | « cc/playback/display_item_list.h ('k') | cc/playback/display_item_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698