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

Side by Side Diff: cc/paint/display_item_list.cc

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 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
« no previous file with comments | « cc/paint/display_item_list.h ('k') | cc/paint/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/playback/display_item_list.h" 5 #include "cc/paint/display_item_list.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/numerics/safe_conversions.h" 12 #include "base/numerics/safe_conversions.h"
13 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
14 #include "base/trace_event/trace_event.h" 14 #include "base/trace_event/trace_event.h"
15 #include "base/trace_event/trace_event_argument.h" 15 #include "base/trace_event/trace_event_argument.h"
16 #include "cc/base/math_util.h" 16 #include "cc/base/math_util.h"
17 #include "cc/base/render_surface_filters.h"
17 #include "cc/debug/picture_debug_util.h" 18 #include "cc/debug/picture_debug_util.h"
18 #include "cc/output/render_surface_filters.h" 19 #include "cc/paint/clip_display_item.h"
19 #include "cc/playback/clip_display_item.h" 20 #include "cc/paint/clip_path_display_item.h"
20 #include "cc/playback/clip_path_display_item.h" 21 #include "cc/paint/compositing_display_item.h"
21 #include "cc/playback/compositing_display_item.h" 22 #include "cc/paint/drawing_display_item.h"
22 #include "cc/playback/drawing_display_item.h" 23 #include "cc/paint/filter_display_item.h"
23 #include "cc/playback/filter_display_item.h" 24 #include "cc/paint/float_clip_display_item.h"
24 #include "cc/playback/float_clip_display_item.h" 25 #include "cc/paint/largest_display_item.h"
25 #include "cc/playback/largest_display_item.h" 26 #include "cc/paint/transform_display_item.h"
26 #include "cc/playback/transform_display_item.h"
27 #include "third_party/skia/include/core/SkCanvas.h" 27 #include "third_party/skia/include/core/SkCanvas.h"
28 #include "third_party/skia/include/core/SkImageFilter.h" 28 #include "third_party/skia/include/core/SkImageFilter.h"
29 #include "third_party/skia/include/core/SkPaint.h" 29 #include "third_party/skia/include/core/SkPaint.h"
30 #include "third_party/skia/include/core/SkPictureRecorder.h" 30 #include "third_party/skia/include/core/SkPictureRecorder.h"
31 #include "ui/gfx/geometry/rect.h" 31 #include "ui/gfx/geometry/rect.h"
32 #include "ui/gfx/geometry/rect_conversions.h" 32 #include "ui/gfx/geometry/rect_conversions.h"
33 #include "ui/gfx/skia_util.h" 33 #include "ui/gfx/skia_util.h"
34 34
35 namespace cc { 35 namespace cc {
36 36
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 float contents_scale, 495 float contents_scale,
496 std::vector<DrawImage>* images) { 496 std::vector<DrawImage>* images) {
497 image_map_.GetDiscardableImagesInRect(rect, contents_scale, images); 497 image_map_.GetDiscardableImagesInRect(rect, contents_scale, images);
498 } 498 }
499 499
500 gfx::Rect DisplayItemList::GetRectForImage(ImageId image_id) const { 500 gfx::Rect DisplayItemList::GetRectForImage(ImageId image_id) const {
501 return image_map_.GetRectForImage(image_id); 501 return image_map_.GetRectForImage(image_id);
502 } 502 }
503 503
504 } // namespace cc 504 } // namespace cc
OLDNEW
« no previous file with comments | « cc/paint/display_item_list.h ('k') | cc/paint/display_item_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698