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

Side by Side Diff: Source/core/paint/Transform3DRecorder.h

Issue 1011703005: [Slimming Paint] Allow 3D transforms of different types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: debug strings Created 5 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 | Annotate | Revision Log
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 #ifndef Transform3DRecorder_h 5 #ifndef Transform3DRecorder_h
6 #define Transform3DRecorder_h 6 #define Transform3DRecorder_h
7 7
8 #include "platform/graphics/paint/DisplayItem.h" 8 #include "platform/graphics/paint/DisplayItem.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class GraphicsContext; 12 class GraphicsContext;
13 class TransformationMatrix; 13 class TransformationMatrix;
14 14
15 class Transform3DRecorder { 15 class Transform3DRecorder {
16 public: 16 public:
17 Transform3DRecorder(GraphicsContext&, DisplayItemClient, const Transformatio nMatrix&); 17 Transform3DRecorder(GraphicsContext&, DisplayItemClient, DisplayItem::Type, const TransformationMatrix&);
18 ~Transform3DRecorder(); 18 ~Transform3DRecorder();
19 19
20 private: 20 private:
21 GraphicsContext& m_context; 21 GraphicsContext& m_context;
22 DisplayItemClient m_client; 22 DisplayItemClient m_client;
23 DisplayItem::Type m_type;
23 bool m_skipRecordingForIdentityTransform; 24 bool m_skipRecordingForIdentityTransform;
24 }; 25 };
25 26
26 } // namespace blink 27 } // namespace blink
27 28
28 #endif // Transform3DRecorder_h 29 #endif // Transform3DRecorder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698