OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/debug/leak_annotations.h" | 13 #include "base/debug/leak_annotations.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/memory/discardable_memory.h" | 15 #include "base/memory/discardable_memory.h" |
| 16 #include "base/message_loop/message_loop.h" |
16 #include "base/metrics/field_trial.h" | 17 #include "base/metrics/field_trial.h" |
17 #include "base/run_loop.h" | 18 #include "base/run_loop.h" |
18 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
19 #include "base/strings/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
20 #include "base/threading/sequenced_worker_pool.h" | 21 #include "base/threading/sequenced_worker_pool.h" |
21 #include "base/threading/thread_task_runner_handle.h" | 22 #include "base/threading/thread_task_runner_handle.h" |
22 #include "cc/output/buffer_to_texture_target_map.h" | 23 #include "cc/output/buffer_to_texture_target_map.h" |
23 #include "content/app/mojo/mojo_init.h" | 24 #include "content/app/mojo/mojo_init.h" |
24 #include "content/common/in_process_child_thread_params.h" | 25 #include "content/common/in_process_child_thread_params.h" |
25 #include "content/common/resource_messages.h" | 26 #include "content/common/resource_messages.h" |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 // These formats are guaranteed to work on all platforms. | 397 // These formats are guaranteed to work on all platforms. |
397 ::testing::Values(gfx::BufferFormat::R_8, | 398 ::testing::Values(gfx::BufferFormat::R_8, |
398 gfx::BufferFormat::BGR_565, | 399 gfx::BufferFormat::BGR_565, |
399 gfx::BufferFormat::RGBA_4444, | 400 gfx::BufferFormat::RGBA_4444, |
400 gfx::BufferFormat::RGBA_8888, | 401 gfx::BufferFormat::RGBA_8888, |
401 gfx::BufferFormat::BGRA_8888, | 402 gfx::BufferFormat::BGRA_8888, |
402 gfx::BufferFormat::YVU_420))); | 403 gfx::BufferFormat::YVU_420))); |
403 | 404 |
404 } // namespace | 405 } // namespace |
405 } // namespace content | 406 } // namespace content |
OLD | NEW |