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" |
11 #include "gpu/command_buffer/service/context_group.h" | 11 #include "gpu/command_buffer/service/context_group.h" |
12 #include "gpu/command_buffer/service/context_state.h" | 12 #include "gpu/command_buffer/service/context_state.h" |
13 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 13 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
14 #include "gpu/command_buffer/service/texture_manager.h" | 14 #include "gpu/command_buffer/service/texture_manager.h" |
15 #include "ui/gfx/size.h" | 15 #include "ui/gfx/geometry/size.h" |
16 #include "ui/gl/scoped_make_current.h" | 16 #include "ui/gl/scoped_make_current.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
20 using gpu::gles2::ContextGroup; | 20 using gpu::gles2::ContextGroup; |
21 using gpu::gles2::GLES2Decoder; | 21 using gpu::gles2::GLES2Decoder; |
22 using gpu::gles2::TextureManager; | 22 using gpu::gles2::TextureManager; |
23 using gpu::gles2::TextureRef; | 23 using gpu::gles2::TextureRef; |
24 | 24 |
25 // static | 25 // static |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 209 bool StreamTexture::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
210 int z_order, | 210 int z_order, |
211 gfx::OverlayTransform transform, | 211 gfx::OverlayTransform transform, |
212 const gfx::Rect& bounds_rect, | 212 const gfx::Rect& bounds_rect, |
213 const gfx::RectF& crop_rect) { | 213 const gfx::RectF& crop_rect) { |
214 NOTREACHED(); | 214 NOTREACHED(); |
215 return false; | 215 return false; |
216 } | 216 } |
217 | 217 |
218 } // namespace content | 218 } // namespace content |
OLD | NEW |