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_QUADS_YUV_VIDEO_DRAW_QUAD_H_ | 5 #ifndef CC_QUADS_YUV_VIDEO_DRAW_QUAD_H_ |
6 #define CC_QUADS_YUV_VIDEO_DRAW_QUAD_H_ | 6 #define CC_QUADS_YUV_VIDEO_DRAW_QUAD_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 unsigned v_plane_resource_id; | 54 unsigned v_plane_resource_id; |
55 unsigned a_plane_resource_id; | 55 unsigned a_plane_resource_id; |
56 ColorSpace color_space; | 56 ColorSpace color_space; |
57 | 57 |
58 virtual void IterateResources(const ResourceIteratorCallback& callback) | 58 virtual void IterateResources(const ResourceIteratorCallback& callback) |
59 OVERRIDE; | 59 OVERRIDE; |
60 | 60 |
61 static const YUVVideoDrawQuad* MaterialCast(const DrawQuad*); | 61 static const YUVVideoDrawQuad* MaterialCast(const DrawQuad*); |
62 | 62 |
63 private: | 63 private: |
64 virtual void ExtendValue(base::debug::TracedValue* value) const OVERRIDE; | 64 virtual void ExtendValue(base::DictionaryValue* value) const OVERRIDE; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace cc | 67 } // namespace cc |
68 | 68 |
69 #endif // CC_QUADS_YUV_VIDEO_DRAW_QUAD_H_ | 69 #endif // CC_QUADS_YUV_VIDEO_DRAW_QUAD_H_ |
OLD | NEW |