OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 #include "cc/video_layer_impl.h" | 5 #include "cc/video_layer_impl.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "cc/base/math_util.h" | 8 #include "cc/base/math_util.h" |
9 #include "cc/io_surface_draw_quad.h" | 9 #include "cc/io_surface_draw_quad.h" |
10 #include "cc/layer_tree_impl.h" | 10 #include "cc/layer_tree_impl.h" |
| 11 #include "cc/output/renderer.h" |
11 #include "cc/quad_sink.h" | 12 #include "cc/quad_sink.h" |
12 #include "cc/renderer.h" | |
13 #include "cc/resource_provider.h" | 13 #include "cc/resource_provider.h" |
14 #include "cc/stream_video_draw_quad.h" | 14 #include "cc/stream_video_draw_quad.h" |
15 #include "cc/texture_draw_quad.h" | 15 #include "cc/texture_draw_quad.h" |
16 #include "cc/video_frame_provider_client_impl.h" | 16 #include "cc/video_frame_provider_client_impl.h" |
17 #include "cc/yuv_video_draw_quad.h" | 17 #include "cc/yuv_video_draw_quad.h" |
18 #include "gpu/GLES2/gl2extchromium.h" | 18 #include "gpu/GLES2/gl2extchromium.h" |
19 #include "media/filters/skcanvas_video_renderer.h" | 19 #include "media/filters/skcanvas_video_renderer.h" |
20 #include "third_party/khronos/GLES2/gl2.h" | 20 #include "third_party/khronos/GLES2/gl2.h" |
21 #include "third_party/khronos/GLES2/gl2ext.h" | 21 #include "third_party/khronos/GLES2/gl2ext.h" |
22 | 22 |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 void VideoLayerImpl::SetProviderClientImpl( | 473 void VideoLayerImpl::SetProviderClientImpl( |
474 scoped_refptr<VideoFrameProviderClientImpl> provider_client_impl) { | 474 scoped_refptr<VideoFrameProviderClientImpl> provider_client_impl) { |
475 provider_client_impl_ = provider_client_impl; | 475 provider_client_impl_ = provider_client_impl; |
476 } | 476 } |
477 | 477 |
478 const char* VideoLayerImpl::LayerTypeAsString() const { | 478 const char* VideoLayerImpl::LayerTypeAsString() const { |
479 return "VideoLayer"; | 479 return "VideoLayer"; |
480 } | 480 } |
481 | 481 |
482 } // namespace cc | 482 } // namespace cc |
OLD | NEW |