| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_frame_provider_client_impl.h" | 5 #include "cc/video_frame_provider_client_impl.h" |
| 6 | 6 |
| 7 #include "cc/math_util.h" | 7 #include "cc/base/math_util.h" |
| 8 #include "cc/video_layer_impl.h" | 8 #include "cc/video_layer_impl.h" |
| 9 | 9 |
| 10 namespace cc { | 10 namespace cc { |
| 11 | 11 |
| 12 // static | 12 // static |
| 13 scoped_refptr<VideoFrameProviderClientImpl> | 13 scoped_refptr<VideoFrameProviderClientImpl> |
| 14 VideoFrameProviderClientImpl::Create( | 14 VideoFrameProviderClientImpl::Create( |
| 15 VideoFrameProvider* provider) { | 15 VideoFrameProvider* provider) { |
| 16 return make_scoped_refptr( | 16 return make_scoped_refptr( |
| 17 new VideoFrameProviderClientImpl(provider)); | 17 new VideoFrameProviderClientImpl(provider)); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 stream_texture_matrix_ = gfx::Transform( | 78 stream_texture_matrix_ = gfx::Transform( |
| 79 matrix[0], matrix[4], matrix[8], matrix[12], | 79 matrix[0], matrix[4], matrix[8], matrix[12], |
| 80 matrix[1], matrix[5], matrix[9], matrix[13], | 80 matrix[1], matrix[5], matrix[9], matrix[13], |
| 81 matrix[2], matrix[6], matrix[10], matrix[14], | 81 matrix[2], matrix[6], matrix[10], matrix[14], |
| 82 matrix[3], matrix[7], matrix[11], matrix[15]); | 82 matrix[3], matrix[7], matrix[11], matrix[15]); |
| 83 if (active_video_layer_) | 83 if (active_video_layer_) |
| 84 active_video_layer_->setNeedsRedraw(); | 84 active_video_layer_->setNeedsRedraw(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 } // namespace cc | 87 } // namespace cc |
| OLD | NEW |