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 "content/common/gpu/stream_texture_android.h" | 5 #include "content/common/gpu/stream_texture_android.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "content/common/android/surface_texture_peer.h" | 8 #include "content/common/android/surface_texture_peer.h" |
9 #include "content/common/gpu/gpu_channel.h" | 9 #include "content/common/gpu/gpu_channel.h" |
10 #include "content/common/gpu/gpu_messages.h" | 10 #include "content/common/gpu/gpu_messages.h" |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 bool StreamTexture::CopyTexSubImage(unsigned target, | 230 bool StreamTexture::CopyTexSubImage(unsigned target, |
231 const gfx::Point& offset, | 231 const gfx::Point& offset, |
232 const gfx::Rect& rect) { | 232 const gfx::Rect& rect) { |
233 return false; | 233 return false; |
234 } | 234 } |
235 | 235 |
236 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 236 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
237 int z_order, | 237 int z_order, |
238 gfx::OverlayTransform transform, | 238 gfx::OverlayTransform transform, |
| 239 gfx::BufferFormat storage_format, |
239 const gfx::Rect& bounds_rect, | 240 const gfx::Rect& bounds_rect, |
240 const gfx::RectF& crop_rect) { | 241 const gfx::RectF& crop_rect, |
| 242 bool handle_scaling) { |
241 NOTREACHED(); | 243 NOTREACHED(); |
242 return false; | 244 return false; |
243 } | 245 } |
244 | 246 |
245 void StreamTexture::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, | 247 void StreamTexture::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, |
246 uint64_t process_tracing_id, | 248 uint64_t process_tracing_id, |
247 const std::string& dump_name) { | 249 const std::string& dump_name) { |
248 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914 | 250 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914 |
249 } | 251 } |
250 | 252 |
251 } // namespace content | 253 } // namespace content |
OLD | NEW |