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

Side by Side Diff: cc/CCDrawQuad.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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
« no previous file with comments | « cc/CCDirectRenderer.cpp ('k') | cc/CCDrawQuad.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CCDrawQuad_h
6 #define CCDrawQuad_h 6 #define CCDrawQuad_h
7 7
8 #include "CCSharedQuadState.h" 8 #include "CCSharedQuadState.h"
9 9
10 namespace WebCore { 10 namespace cc {
11 11
12 // WARNING! All CCXYZDrawQuad classes must remain PODs (plain old data). 12 // WARNING! All CCXYZDrawQuad classes must remain PODs (plain old data).
13 // They are intended to be "serializable" by copying their raw bytes, so they 13 // They are intended to be "serializable" by copying their raw bytes, so they
14 // must not contain any non-bit-copyable member variables! 14 // must not contain any non-bit-copyable member variables!
15 // 15 //
16 // Furthermore, the class members need to be packed so they are aligned 16 // Furthermore, the class members need to be packed so they are aligned
17 // properly and don't have paddings/gaps, otherwise memory check tools 17 // properly and don't have paddings/gaps, otherwise memory check tools
18 // like Valgrind will complain about uninitialized memory usage when 18 // like Valgrind will complain about uninitialized memory usage when
19 // transferring these classes over the wire. 19 // transferring these classes over the wire.
20 #pragma pack(push, 4) 20 #pragma pack(push, 4)
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // Be default, this rect is empty. It is used when the shared quad state and above 87 // Be default, this rect is empty. It is used when the shared quad state and above
88 // variables determine that the quad is not fully opaque but may be partiall y opaque. 88 // variables determine that the quad is not fully opaque but may be partiall y opaque.
89 IntRect m_opaqueRect; 89 IntRect m_opaqueRect;
90 }; 90 };
91 91
92 #pragma pack(pop) 92 #pragma pack(pop)
93 93
94 } 94 }
95 95
96 #endif 96 #endif
OLDNEW
« no previous file with comments | « cc/CCDirectRenderer.cpp ('k') | cc/CCDrawQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698