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

Side by Side Diff: cc/layer_quad.h

Issue 11365025: Make cc a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win?? Created 8 years, 1 month 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 5
6 #ifndef CCLayerQuad_h 6 #ifndef CCLayerQuad_h
7 #define CCLayerQuad_h 7 #define CCLayerQuad_h
8 8
9 #include "FloatPoint3D.h" 9 #include "FloatPoint3D.h"
10 #include "FloatQuad.h" 10 #include "FloatQuad.h"
11 #include "cc/cc_export.h"
11 12
12 static const float kAntiAliasingInflateDistance = 0.5f; 13 static const float kAntiAliasingInflateDistance = 0.5f;
13 14
14 namespace cc { 15 namespace cc {
15 16
16 class LayerQuad { 17 class CC_EXPORT LayerQuad {
17 public: 18 public:
18 class Edge { 19 class Edge {
19 public: 20 public:
20 Edge() 21 Edge()
21 : m_x(0) 22 : m_x(0)
22 , m_y(0) 23 , m_y(0)
23 , m_z(0) 24 , m_z(0)
24 { 25 {
25 } 26 }
26 Edge(const FloatPoint&, const FloatPoint&); 27 Edge(const FloatPoint&, const FloatPoint&);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 private: 94 private:
94 Edge m_left; 95 Edge m_left;
95 Edge m_top; 96 Edge m_top;
96 Edge m_right; 97 Edge m_right;
97 Edge m_bottom; 98 Edge m_bottom;
98 }; 99 };
99 100
100 } 101 }
101 102
102 #endif 103 #endif
OLDNEW
« no previous file with comments | « cc/layer_painter.h ('k') | cc/layer_sorter.h » ('j') | cc/occlusion_tracker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698