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

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

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: none 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
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/filter_display_item.h" 5 #include "cc/paint/filter_display_item.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/trace_event/trace_event_argument.h" 10 #include "base/trace_event/trace_event_argument.h"
11 #include "cc/output/render_surface_filters.h" 11 #include "cc/paint/render_surface_filters.h"
12 #include "third_party/skia/include/core/SkCanvas.h" 12 #include "third_party/skia/include/core/SkCanvas.h"
13 #include "third_party/skia/include/core/SkImageFilter.h" 13 #include "third_party/skia/include/core/SkImageFilter.h"
14 #include "third_party/skia/include/core/SkPaint.h" 14 #include "third_party/skia/include/core/SkPaint.h"
15 #include "third_party/skia/include/core/SkRefCnt.h" 15 #include "third_party/skia/include/core/SkRefCnt.h"
16 #include "ui/gfx/skia_util.h" 16 #include "ui/gfx/skia_util.h"
17 17
18 namespace cc { 18 namespace cc {
19 19
20 FilterDisplayItem::FilterDisplayItem(const FilterOperations& filters, 20 FilterDisplayItem::FilterDisplayItem(const FilterOperations& filters,
21 const gfx::RectF& bounds, 21 const gfx::RectF& bounds,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 EndFilterDisplayItem::~EndFilterDisplayItem() {} 57 EndFilterDisplayItem::~EndFilterDisplayItem() {}
58 58
59 void EndFilterDisplayItem::Raster(SkCanvas* canvas, 59 void EndFilterDisplayItem::Raster(SkCanvas* canvas,
60 SkPicture::AbortCallback* callback) const { 60 SkPicture::AbortCallback* callback) const {
61 canvas->restore(); 61 canvas->restore();
62 canvas->restore(); 62 canvas->restore();
63 } 63 }
64 64
65 } // namespace cc 65 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698