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_VIDEO_LAYER_IMPL_H_ | 5 #ifndef CC_VIDEO_LAYER_IMPL_H_ |
6 #define CC_VIDEO_LAYER_IMPL_H_ | 6 #define CC_VIDEO_LAYER_IMPL_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "cc/cc_export.h" | 10 #include "cc/base/cc_export.h" |
11 #include "cc/layer_impl.h" | 11 #include "cc/layer_impl.h" |
12 #include "cc/video_frame_provider.h" | 12 #include "cc/video_frame_provider.h" |
13 #include "media/base/video_frame.h" | 13 #include "media/base/video_frame.h" |
14 #include "third_party/khronos/GLES2/gl2.h" | 14 #include "third_party/khronos/GLES2/gl2.h" |
15 #include "ui/gfx/size.h" | 15 #include "ui/gfx/size.h" |
16 #include "ui/gfx/transform.h" | 16 #include "ui/gfx/transform.h" |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 class SkCanvasVideoRenderer; | 19 class SkCanvasVideoRenderer; |
20 } | 20 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 ResourceProvider::ResourceId m_externalTextureResource; | 73 ResourceProvider::ResourceId m_externalTextureResource; |
74 scoped_ptr<media::SkCanvasVideoRenderer> m_videoRenderer; | 74 scoped_ptr<media::SkCanvasVideoRenderer> m_videoRenderer; |
75 | 75 |
76 // Each index in this array corresponds to a plane in media::VideoFrame. | 76 // Each index in this array corresponds to a plane in media::VideoFrame. |
77 FramePlane m_framePlanes[media::VideoFrame::kMaxPlanes]; | 77 FramePlane m_framePlanes[media::VideoFrame::kMaxPlanes]; |
78 }; | 78 }; |
79 | 79 |
80 } // namespace cc | 80 } // namespace cc |
81 | 81 |
82 #endif // CC_VIDEO_LAYER_IMPL_H_ | 82 #endif // CC_VIDEO_LAYER_IMPL_H_ |
OLD | NEW |