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 |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "content/public/test/content_browser_test.h" | 33 #include "content/public/test/content_browser_test.h" |
34 #include "content/public/test/content_browser_test_utils.h" | 34 #include "content/public/test/content_browser_test_utils.h" |
35 #include "content/public/test/test_browser_thread_bundle.h" | 35 #include "content/public/test/test_browser_thread_bundle.h" |
36 #include "content/public/test/test_content_client_initializer.h" | 36 #include "content/public/test/test_content_client_initializer.h" |
37 #include "content/public/test/test_launcher.h" | 37 #include "content/public/test/test_launcher.h" |
38 #include "content/public/test/test_service_manager_context.h" | 38 #include "content/public/test/test_service_manager_context.h" |
39 #include "content/renderer/render_process_impl.h" | 39 #include "content/renderer/render_process_impl.h" |
40 #include "content/test/mock_render_process.h" | 40 #include "content/test/mock_render_process.h" |
41 #include "gpu/GLES2/gl2extchromium.h" | 41 #include "gpu/GLES2/gl2extchromium.h" |
42 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 42 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
43 #include "gpu/ipc/host/gpu_switches.h" | 43 #include "gpu/ipc/common/gpu_switches.h" |
44 #include "ipc/ipc.mojom.h" | 44 #include "ipc/ipc.mojom.h" |
45 #include "ipc/ipc_channel_mojo.h" | 45 #include "ipc/ipc_channel_mojo.h" |
46 #include "mojo/edk/embedder/embedder.h" | 46 #include "mojo/edk/embedder/embedder.h" |
47 #include "testing/gtest/include/gtest/gtest.h" | 47 #include "testing/gtest/include/gtest/gtest.h" |
48 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" | 48 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" |
49 #include "ui/gfx/buffer_format_util.h" | 49 #include "ui/gfx/buffer_format_util.h" |
50 | 50 |
51 // IPC messages for testing ---------------------------------------------------- | 51 // IPC messages for testing ---------------------------------------------------- |
52 | 52 |
53 // TODO(mdempsky): Fix properly by moving into a separate | 53 // TODO(mdempsky): Fix properly by moving into a separate |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 // These formats are guaranteed to work on all platforms. | 383 // These formats are guaranteed to work on all platforms. |
384 ::testing::Values(gfx::BufferFormat::R_8, | 384 ::testing::Values(gfx::BufferFormat::R_8, |
385 gfx::BufferFormat::BGR_565, | 385 gfx::BufferFormat::BGR_565, |
386 gfx::BufferFormat::RGBA_4444, | 386 gfx::BufferFormat::RGBA_4444, |
387 gfx::BufferFormat::RGBA_8888, | 387 gfx::BufferFormat::RGBA_8888, |
388 gfx::BufferFormat::BGRA_8888, | 388 gfx::BufferFormat::BGRA_8888, |
389 gfx::BufferFormat::YVU_420))); | 389 gfx::BufferFormat::YVU_420))); |
390 | 390 |
391 } // namespace | 391 } // namespace |
392 } // namespace content | 392 } // namespace content |
OLD | NEW |