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 "cc/output/context_provider.h" | 7 #include "cc/output/context_provider.h" |
8 #include "content/common/gpu/client/gpu_channel_host.h" | 8 #include "content/common/gpu/client/gpu_channel_host.h" |
9 #include "content/common/gpu/gpu_messages.h" | 9 #include "content/common/gpu/gpu_messages.h" |
10 #include "content/renderer/gpu/stream_texture_host_android.h" | 10 #include "content/renderer/gpu/stream_texture_host_android.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 127 |
128 void StreamTextureFactoryImpl::SetStreamTextureSize(int32 stream_id, | 128 void StreamTextureFactoryImpl::SetStreamTextureSize(int32 stream_id, |
129 const gfx::Size& size) { | 129 const gfx::Size& size) { |
130 channel_->Send(new GpuStreamTextureMsg_SetSize(stream_id, size)); | 130 channel_->Send(new GpuStreamTextureMsg_SetSize(stream_id, size)); |
131 } | 131 } |
132 | 132 |
133 gpu::gles2::GLES2Interface* StreamTextureFactoryImpl::ContextGL() { | 133 gpu::gles2::GLES2Interface* StreamTextureFactoryImpl::ContextGL() { |
134 return context_provider_->ContextGL(); | 134 return context_provider_->ContextGL(); |
135 } | 135 } |
136 | 136 |
| 137 void StreamTextureFactoryImpl::AddObserver( |
| 138 StreamTextureFactoryContextObserver* obs) { |
| 139 } |
| 140 |
| 141 void StreamTextureFactoryImpl::RemoveObserver( |
| 142 StreamTextureFactoryContextObserver* obs) { |
| 143 } |
| 144 |
137 } // namespace content | 145 } // namespace content |
OLD | NEW |