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

Side by Side Diff: cc/playback/transform_display_item.h

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/playback/skip_image_canvas.cc ('k') | cc/playback/transform_display_item.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_
6 #define CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_
7
8 #include <stddef.h>
9
10 #include "cc/base/cc_export.h"
11 #include "cc/playback/display_item.h"
12 #include "ui/gfx/transform.h"
13
14 namespace cc {
15
16 class CC_EXPORT TransformDisplayItem : public DisplayItem {
17 public:
18 explicit TransformDisplayItem(const gfx::Transform& transform);
19 ~TransformDisplayItem() override;
20
21 size_t ExternalMemoryUsage() const { return 0; }
22 int ApproximateOpCount() const { return 1; }
23
24 const gfx::Transform transform;
25 };
26
27 class CC_EXPORT EndTransformDisplayItem : public DisplayItem {
28 public:
29 EndTransformDisplayItem();
30 ~EndTransformDisplayItem() override;
31
32 int ApproximateOpCount() const { return 0; }
33 };
34
35 } // namespace cc
36
37 #endif // CC_PLAYBACK_TRANSFORM_DISPLAY_ITEM_H_
OLDNEW
« no previous file with comments | « cc/playback/skip_image_canvas.cc ('k') | cc/playback/transform_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698