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 CCVideoLayerImpl_h | 5 #ifndef CCVideoLayerImpl_h |
6 #define CCVideoLayerImpl_h | 6 #define CCVideoLayerImpl_h |
7 | 7 |
| 8 #include "IntSize.h" |
8 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
9 #include "CCLayerImpl.h" | 10 #include "cc/layer_impl.h" |
10 #include "third_party/khronos/GLES2/gl2.h" | 11 #include "third_party/khronos/GLES2/gl2.h" |
11 #include "IntSize.h" | |
12 #include <public/WebTransformationMatrix.h> | 12 #include <public/WebTransformationMatrix.h> |
13 #include <public/WebVideoFrameProvider.h> | 13 #include <public/WebVideoFrameProvider.h> |
14 #include <wtf/ThreadingPrimitives.h> | 14 #include <wtf/ThreadingPrimitives.h> |
15 | 15 |
16 namespace WebKit { | 16 namespace WebKit { |
17 class WebVideoFrame; | 17 class WebVideoFrame; |
18 } | 18 } |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
21 | 21 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 GLenum m_format; | 80 GLenum m_format; |
81 CCResourceProvider::ResourceId m_externalTextureResource; | 81 CCResourceProvider::ResourceId m_externalTextureResource; |
82 | 82 |
83 // Each index in this array corresponds to a plane in WebKit::WebVideoFrame. | 83 // Each index in this array corresponds to a plane in WebKit::WebVideoFrame. |
84 FramePlane m_framePlanes[WebKit::WebVideoFrame::maxPlanes]; | 84 FramePlane m_framePlanes[WebKit::WebVideoFrame::maxPlanes]; |
85 }; | 85 }; |
86 | 86 |
87 } | 87 } |
88 | 88 |
89 #endif // CCVideoLayerImpl_h | 89 #endif // CCVideoLayerImpl_h |
OLD | NEW |