| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/renderer/media/android/stream_texture_factory_impl.h" | 5 #include "content/renderer/media/android/stream_texture_factory_impl.h" |
| 6 | 6 |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 #include "cc/output/context_provider.h" | 8 #include "cc/output/context_provider.h" |
| 9 #include "content/common/gpu/client/context_provider_command_buffer.h" | 9 #include "content/common/gpu/client/context_provider_command_buffer.h" |
| 10 #include "content/renderer/gpu/stream_texture_host_android.h" | 10 #include "content/renderer/gpu/stream_texture_host_android.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 151 |
| 152 void StreamTextureFactoryImpl::SetStreamTextureSize(int32_t stream_id, | 152 void StreamTextureFactoryImpl::SetStreamTextureSize(int32_t stream_id, |
| 153 const gfx::Size& size) { | 153 const gfx::Size& size) { |
| 154 channel_->Send(new GpuStreamTextureMsg_SetSize(stream_id, size)); | 154 channel_->Send(new GpuStreamTextureMsg_SetSize(stream_id, size)); |
| 155 } | 155 } |
| 156 | 156 |
| 157 gpu::gles2::GLES2Interface* StreamTextureFactoryImpl::ContextGL() { | 157 gpu::gles2::GLES2Interface* StreamTextureFactoryImpl::ContextGL() { |
| 158 return context_provider_->ContextGL(); | 158 return context_provider_->ContextGL(); |
| 159 } | 159 } |
| 160 | 160 |
| 161 void StreamTextureFactoryImpl::AddObserver( | |
| 162 StreamTextureFactoryContextObserver* obs) { | |
| 163 } | |
| 164 | |
| 165 void StreamTextureFactoryImpl::RemoveObserver( | |
| 166 StreamTextureFactoryContextObserver* obs) { | |
| 167 } | |
| 168 | |
| 169 } // namespace content | 161 } // namespace content |
| OLD | NEW |