| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include <memory> |
| 11 |
| 11 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
| 12 #include "cc/quads/draw_quad.h" | 13 #include "cc/quads/draw_quad.h" |
| 13 #include "ui/gfx/geometry/rect_f.h" | 14 #include "ui/gfx/geometry/rect_f.h" |
| 14 #include "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
| 15 | 16 |
| 16 namespace cc { | 17 namespace cc { |
| 17 | 18 |
| 18 class CC_EXPORT YUVVideoDrawQuad : public DrawQuad { | 19 class CC_EXPORT YUVVideoDrawQuad : public DrawQuad { |
| 19 public: | 20 public: |
| 20 enum ColorSpace { | 21 enum ColorSpace { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 static const size_t kUPlaneResourceIdIndex = 1; | 97 static const size_t kUPlaneResourceIdIndex = 1; |
| 97 static const size_t kVPlaneResourceIdIndex = 2; | 98 static const size_t kVPlaneResourceIdIndex = 2; |
| 98 static const size_t kAPlaneResourceIdIndex = 3; | 99 static const size_t kAPlaneResourceIdIndex = 3; |
| 99 | 100 |
| 100 void ExtendValue(base::trace_event::TracedValue* value) const override; | 101 void ExtendValue(base::trace_event::TracedValue* value) const override; |
| 101 }; | 102 }; |
| 102 | 103 |
| 103 } // namespace cc | 104 } // namespace cc |
| 104 | 105 |
| 105 #endif // CC_QUADS_YUV_VIDEO_DRAW_QUAD_H_ | 106 #endif // CC_QUADS_YUV_VIDEO_DRAW_QUAD_H_ |
| OLD | NEW |