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 <string.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "content/common/android/surface_texture_peer.h" | 10 #include "content/common/android/surface_texture_peer.h" |
9 #include "content/common/gpu/gpu_channel.h" | 11 #include "content/common/gpu/gpu_channel.h" |
10 #include "content/common/gpu/gpu_messages.h" | 12 #include "content/common/gpu/gpu_messages.h" |
11 #include "gpu/command_buffer/service/context_group.h" | 13 #include "gpu/command_buffer/service/context_group.h" |
12 #include "gpu/command_buffer/service/context_state.h" | 14 #include "gpu/command_buffer/service/context_state.h" |
13 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 15 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
14 #include "gpu/command_buffer/service/texture_manager.h" | 16 #include "gpu/command_buffer/service/texture_manager.h" |
15 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
16 #include "ui/gl/gl_context.h" | 18 #include "ui/gl/gl_context.h" |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 return false; | 243 return false; |
242 } | 244 } |
243 | 245 |
244 void StreamTexture::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, | 246 void StreamTexture::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, |
245 uint64_t process_tracing_id, | 247 uint64_t process_tracing_id, |
246 const std::string& dump_name) { | 248 const std::string& dump_name) { |
247 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914 | 249 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914 |
248 } | 250 } |
249 | 251 |
250 } // namespace content | 252 } // namespace content |
OLD | NEW |