OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stddef.h> |
| 6 #include <string.h> |
| 7 |
5 #include "base/bind.h" | 8 #include "base/bind.h" |
6 #include "base/command_line.h" | 9 #include "base/command_line.h" |
7 #include "base/memory/discardable_memory.h" | 10 #include "base/memory/discardable_memory.h" |
8 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
9 #include "base/time/time.h" | 12 #include "base/time/time.h" |
10 #include "content/child/child_discardable_shared_memory_manager.h" | 13 #include "content/child/child_discardable_shared_memory_manager.h" |
11 #include "content/child/child_gpu_memory_buffer_manager.h" | 14 #include "content/child/child_gpu_memory_buffer_manager.h" |
12 #include "content/child/child_thread_impl.h" | 15 #include "content/child/child_thread_impl.h" |
13 #include "content/common/gpu/client/gpu_memory_buffer_impl.h" | 16 #include "content/common/gpu/client/gpu_memory_buffer_impl.h" |
14 #include "content/common/host_discardable_shared_memory_manager.h" | 17 #include "content/common/host_discardable_shared_memory_manager.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 kEnableNativeBuffers), | 198 kEnableNativeBuffers), |
196 // These formats are guaranteed to work on all platforms. | 199 // These formats are guaranteed to work on all platforms. |
197 ::testing::Values(gfx::BufferFormat::R_8, | 200 ::testing::Values(gfx::BufferFormat::R_8, |
198 gfx::BufferFormat::RGBA_4444, | 201 gfx::BufferFormat::RGBA_4444, |
199 gfx::BufferFormat::RGBA_8888, | 202 gfx::BufferFormat::RGBA_8888, |
200 gfx::BufferFormat::BGRA_8888, | 203 gfx::BufferFormat::BGRA_8888, |
201 gfx::BufferFormat::YUV_420))); | 204 gfx::BufferFormat::YUV_420))); |
202 | 205 |
203 } // namespace | 206 } // namespace |
204 } // namespace content | 207 } // namespace content |
OLD | NEW |