| OLD | NEW |
| 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 #if USE(ACCELERATED_COMPOSITING) | 9 #if USE(ACCELERATED_COMPOSITING) |
| 10 | 10 |
| 11 #include "FloatPoint3D.h" | 11 #include "FloatPoint3D.h" |
| 12 #include "FloatQuad.h" | 12 #include "FloatQuad.h" |
| 13 | 13 |
| 14 static const float kAntiAliasingInflateDistance = 0.5f; | 14 static const float kAntiAliasingInflateDistance = 0.5f; |
| 15 | 15 |
| 16 namespace WebCore { | 16 namespace cc { |
| 17 | 17 |
| 18 class CCLayerQuad { | 18 class CCLayerQuad { |
| 19 public: | 19 public: |
| 20 class Edge { | 20 class Edge { |
| 21 public: | 21 public: |
| 22 Edge() | 22 Edge() |
| 23 : m_x(0) | 23 : m_x(0) |
| 24 , m_y(0) | 24 , m_y(0) |
| 25 , m_z(0) | 25 , m_z(0) |
| 26 { | 26 { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 Edge m_top; | 103 Edge m_top; |
| 104 Edge m_right; | 104 Edge m_right; |
| 105 Edge m_bottom; | 105 Edge m_bottom; |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } | 108 } |
| 109 | 109 |
| 110 #endif // USE(ACCELERATED_COMPOSITING) | 110 #endif // USE(ACCELERATED_COMPOSITING) |
| 111 | 111 |
| 112 #endif | 112 #endif |
| OLD | NEW |