| 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/output/renderer.h" | 9 #include "cc/output/renderer.h" |
| 10 #include "cc/quad_sink.h" | 10 #include "cc/quad_sink.h" |
| 11 #include "cc/quads/io_surface_draw_quad.h" | 11 #include "cc/quads/io_surface_draw_quad.h" |
| 12 #include "cc/quads/stream_video_draw_quad.h" | 12 #include "cc/quads/stream_video_draw_quad.h" |
| 13 #include "cc/quads/texture_draw_quad.h" | 13 #include "cc/quads/texture_draw_quad.h" |
| 14 #include "cc/quads/yuv_video_draw_quad.h" | 14 #include "cc/quads/yuv_video_draw_quad.h" |
| 15 #include "cc/resource_provider.h" | 15 #include "cc/resources/resource_provider.h" |
| 16 #include "cc/trees/layer_tree_impl.h" | 16 #include "cc/trees/layer_tree_impl.h" |
| 17 #include "cc/video_frame_provider_client_impl.h" | 17 #include "cc/video_frame_provider_client_impl.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 |
| 23 #if defined(GOOGLE_TV) | 23 #if defined(GOOGLE_TV) |
| 24 #include "cc/quads/solid_color_draw_quad.h" | 24 #include "cc/quads/solid_color_draw_quad.h" |
| 25 #endif | 25 #endif |
| (...skipping 447 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 |