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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 199 |
200 bool StreamTexture::BindTexImage(unsigned target) { | 200 bool StreamTexture::BindTexImage(unsigned target) { |
201 NOTREACHED(); | 201 NOTREACHED(); |
202 return false; | 202 return false; |
203 } | 203 } |
204 | 204 |
205 void StreamTexture::ReleaseTexImage(unsigned target) { | 205 void StreamTexture::ReleaseTexImage(unsigned target) { |
206 NOTREACHED(); | 206 NOTREACHED(); |
207 } | 207 } |
208 | 208 |
209 bool StreamTexture::CopyTexImage(unsigned target) { | 209 bool StreamTexture::CopyTexSubImage(unsigned target, |
| 210 const gfx::Point& offset, |
| 211 const gfx::Rect& rect) { |
210 return false; | 212 return false; |
211 } | 213 } |
212 | 214 |
213 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 215 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
214 int z_order, | 216 int z_order, |
215 gfx::OverlayTransform transform, | 217 gfx::OverlayTransform transform, |
216 const gfx::Rect& bounds_rect, | 218 const gfx::Rect& bounds_rect, |
217 const gfx::RectF& crop_rect) { | 219 const gfx::RectF& crop_rect) { |
218 NOTREACHED(); | 220 NOTREACHED(); |
219 return false; | 221 return false; |
220 } | 222 } |
221 | 223 |
222 } // namespace content | 224 } // namespace content |
OLD | NEW |