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

Side by Side Diff: cc/quads/draw_quad.h

Issue 12676029: cc: Fix capitalization style in chromified files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/output/software_renderer_unittest.cc ('k') | cc/quads/draw_quad_unittest.cc » ('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 CC_QUADS_DRAW_QUAD_H_ 5 #ifndef CC_QUADS_DRAW_QUAD_H_
6 #define CC_QUADS_DRAW_QUAD_H_ 6 #define CC_QUADS_DRAW_QUAD_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/quads/shared_quad_state.h" 10 #include "cc/quads/shared_quad_state.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 Material material; 46 Material material;
47 47
48 // This rect, after applying the quad_transform(), gives the geometry that 48 // This rect, after applying the quad_transform(), gives the geometry that
49 // this quad should draw to. 49 // this quad should draw to.
50 gfx::Rect rect; 50 gfx::Rect rect;
51 51
52 // This specifies the region of the quad that is opaque. 52 // This specifies the region of the quad that is opaque.
53 gfx::Rect opaque_rect; 53 gfx::Rect opaque_rect;
54 54
55 // Allows changing the rect that gets drawn to make it smaller. This value 55 // Allows changing the rect that gets drawn to make it smaller. This value
56 // should be clipped to quadRect. 56 // should be clipped to |rect|.
57 gfx::Rect visible_rect; 57 gfx::Rect visible_rect;
58 58
59 // By default blending is used when some part of the quad is not opaque. 59 // By default blending is used when some part of the quad is not opaque.
60 // With this setting, it is possible to force blending on regardless of the 60 // With this setting, it is possible to force blending on regardless of the
61 // opaque area. 61 // opaque area.
62 bool needs_blending; 62 bool needs_blending;
63 63
64 // Stores state common to a large bundle of quads; kept separate for memory 64 // Stores state common to a large bundle of quads; kept separate for memory
65 // efficiency. There is special treatment to reconstruct these pointers 65 // efficiency. There is special treatment to reconstruct these pointers
66 // during serialization. 66 // during serialization.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 Material material, 110 Material material,
111 gfx::Rect rect, 111 gfx::Rect rect,
112 gfx::Rect opaque_rect, 112 gfx::Rect opaque_rect,
113 gfx::Rect visible_rect, 113 gfx::Rect visible_rect,
114 bool needs_blending); 114 bool needs_blending);
115 }; 115 };
116 116
117 } 117 }
118 118
119 #endif // CC_QUADS_DRAW_QUAD_H_ 119 #endif // CC_QUADS_DRAW_QUAD_H_
OLDNEW
« no previous file with comments | « cc/output/software_renderer_unittest.cc ('k') | cc/quads/draw_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698