| 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 CCDrawQuad_h | 5 #ifndef CC_DRAW_QUAD_H_ |
| 6 #define CCDrawQuad_h | 6 #define CC_DRAW_QUAD_H_ |
| 7 | 7 |
| 8 #include "cc/cc_export.h" | 8 #include "cc/cc_export.h" |
| 9 #include "cc/shared_quad_state.h" | 9 #include "cc/shared_quad_state.h" |
| 10 | 10 |
| 11 namespace cc { | 11 namespace cc { |
| 12 | 12 |
| 13 // WARNING! All XYZDrawQuad classes must remain PODs (plain old data). | 13 // WARNING! All XYZDrawQuad classes must remain PODs (plain old data). |
| 14 // They are intended to be "serializable" by copying their raw bytes, so they | 14 // They are intended to be "serializable" by copying their raw bytes, so they |
| 15 // must not contain any non-bit-copyable member variables! | 15 // must not contain any non-bit-copyable member variables! |
| 16 // | 16 // |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 // Be default, this rect is empty. It is used when the shared quad state and
above | 84 // Be default, this rect is empty. It is used when the shared quad state and
above |
| 85 // variables determine that the quad is not fully opaque but may be partiall
y opaque. | 85 // variables determine that the quad is not fully opaque but may be partiall
y opaque. |
| 86 gfx::Rect m_opaqueRect; | 86 gfx::Rect m_opaqueRect; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 #pragma pack(pop) | 89 #pragma pack(pop) |
| 90 | 90 |
| 91 } | 91 } |
| 92 | 92 |
| 93 #endif | 93 #endif // CC_DRAW_QUAD_H_ |
| OLD | NEW |