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 CC_DRAW_QUAD_H_ | 5 #ifndef CC_DRAW_QUAD_H_ |
6 #define CC_DRAW_QUAD_H_ | 6 #define CC_DRAW_QUAD_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "cc/cc_export.h" | 9 #include "cc/cc_export.h" |
10 #include "cc/resource_provider.h" | 10 #include "cc/resource_provider.h" |
(...skipping 11 matching lines...) Expand all Loading... | |
22 INVALID, | 22 INVALID, |
23 CHECKERBOARD, | 23 CHECKERBOARD, |
24 DEBUG_BORDER, | 24 DEBUG_BORDER, |
25 IO_SURFACE_CONTENT, | 25 IO_SURFACE_CONTENT, |
26 RENDER_PASS, | 26 RENDER_PASS, |
27 TEXTURE_CONTENT, | 27 TEXTURE_CONTENT, |
28 SOLID_COLOR, | 28 SOLID_COLOR, |
29 TILED_CONTENT, | 29 TILED_CONTENT, |
30 YUV_VIDEO_CONTENT, | 30 YUV_VIDEO_CONTENT, |
31 STREAM_VIDEO_CONTENT, | 31 STREAM_VIDEO_CONTENT, |
32 PICTURE_CONTENT, | |
danakj
2013/03/14 18:00:56
alphabetical please
Leandro GraciĆ” Gil
2013/03/19 17:30:07
Done.
| |
32 }; | 33 }; |
33 | 34 |
34 virtual ~DrawQuad(); | 35 virtual ~DrawQuad(); |
35 | 36 |
36 scoped_ptr<DrawQuad> Copy( | 37 scoped_ptr<DrawQuad> Copy( |
37 const SharedQuadState* copied_shared_quad_state) const; | 38 const SharedQuadState* copied_shared_quad_state) const; |
38 | 39 |
39 // TODO(danakj): Chromify or remove these SharedQuadState helpers. | 40 // TODO(danakj): Chromify or remove these SharedQuadState helpers. |
40 const gfx::Transform& quadTransform() const { return shared_quad_state->conten t_to_target_transform; } | 41 const gfx::Transform& quadTransform() const { return shared_quad_state->conten t_to_target_transform; } |
41 gfx::Rect visibleContentRect() const { return shared_quad_state->visible_conte nt_rect; } | 42 gfx::Rect visibleContentRect() const { return shared_quad_state->visible_conte nt_rect; } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
110 Material material, | 111 Material material, |
111 gfx::Rect rect, | 112 gfx::Rect rect, |
112 gfx::Rect opaque_rect, | 113 gfx::Rect opaque_rect, |
113 gfx::Rect visible_rect, | 114 gfx::Rect visible_rect, |
114 bool needs_blending); | 115 bool needs_blending); |
115 }; | 116 }; |
116 | 117 |
117 } | 118 } |
118 | 119 |
119 #endif // CC_DRAW_QUAD_H_ | 120 #endif // CC_DRAW_QUAD_H_ |
OLD | NEW |