OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 CCAppendQuadsData_h | 5 #ifndef CCAppendQuadsData_h |
6 #define CCAppendQuadsData_h | 6 #define CCAppendQuadsData_h |
7 | 7 |
8 namespace WebCore { | 8 namespace cc { |
9 | 9 |
10 struct CCAppendQuadsData { | 10 struct CCAppendQuadsData { |
11 CCAppendQuadsData() | 11 CCAppendQuadsData() |
12 : hadOcclusionFromOutsideTargetSurface(false) | 12 : hadOcclusionFromOutsideTargetSurface(false) |
13 , hadMissingTiles(false) | 13 , hadMissingTiles(false) |
14 { | 14 { |
15 } | 15 } |
16 | 16 |
17 // Set by the QuadCuller. | 17 // Set by the QuadCuller. |
18 bool hadOcclusionFromOutsideTargetSurface; | 18 bool hadOcclusionFromOutsideTargetSurface; |
19 // Set by the layer appending quads. | 19 // Set by the layer appending quads. |
20 bool hadMissingTiles; | 20 bool hadMissingTiles; |
21 }; | 21 }; |
22 | 22 |
23 } | 23 } |
24 #endif // CCCCAppendQuadsData_h | 24 #endif // CCCCAppendQuadsData_h |
OLD | NEW |