OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "gpu/ipc/service/stream_texture_android.h" | 5 #include "gpu/ipc/service/stream_texture_android.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "gpu/command_buffer/service/context_group.h" | 10 #include "gpu/command_buffer/service/context_group.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 const base::UnguessableToken& request_token) { | 214 const base::UnguessableToken& request_token) { |
215 if (!owner_stub_) | 215 if (!owner_stub_) |
216 return; | 216 return; |
217 | 217 |
218 ScopedSurfaceRequestConduit::GetInstance() | 218 ScopedSurfaceRequestConduit::GetInstance() |
219 ->ForwardSurfaceTextureForSurfaceRequest(request_token, | 219 ->ForwardSurfaceTextureForSurfaceRequest(request_token, |
220 surface_texture_.get()); | 220 surface_texture_.get()); |
221 } | 221 } |
222 | 222 |
223 bool StreamTexture::BindTexImage(unsigned target) { | 223 bool StreamTexture::BindTexImage(unsigned target) { |
224 NOTREACHED(); | |
225 return false; | 224 return false; |
226 } | 225 } |
227 | 226 |
228 void StreamTexture::ReleaseTexImage(unsigned target) { | 227 void StreamTexture::ReleaseTexImage(unsigned target) { |
229 NOTREACHED(); | |
230 } | 228 } |
231 | 229 |
232 bool StreamTexture::CopyTexSubImage(unsigned target, | 230 bool StreamTexture::CopyTexSubImage(unsigned target, |
233 const gfx::Point& offset, | 231 const gfx::Point& offset, |
234 const gfx::Rect& rect) { | 232 const gfx::Rect& rect) { |
235 return false; | 233 return false; |
236 } | 234 } |
237 | 235 |
238 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 236 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
239 int z_order, | 237 int z_order, |
240 gfx::OverlayTransform transform, | 238 gfx::OverlayTransform transform, |
241 const gfx::Rect& bounds_rect, | 239 const gfx::Rect& bounds_rect, |
242 const gfx::RectF& crop_rect) { | 240 const gfx::RectF& crop_rect) { |
243 NOTREACHED(); | 241 NOTREACHED(); |
244 return false; | 242 return false; |
245 } | 243 } |
246 | 244 |
247 void StreamTexture::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, | 245 void StreamTexture::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, |
248 uint64_t process_tracing_id, | 246 uint64_t process_tracing_id, |
249 const std::string& dump_name) { | 247 const std::string& dump_name) { |
250 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914 | 248 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914 |
251 } | 249 } |
252 | 250 |
253 } // namespace gpu | 251 } // namespace gpu |
OLD | NEW |