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 "gpu/command_buffer/service/async_pixel_transfer_manager.h" | 5 #include "gpu/command_buffer/service/async_pixel_transfer_manager.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/debug/trace_event.h" | |
9 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
| 9 #include "base/trace_event/trace_event.h" |
10 #include "gpu/command_buffer/service/async_pixel_transfer_manager_egl.h" | 10 #include "gpu/command_buffer/service/async_pixel_transfer_manager_egl.h" |
11 #include "gpu/command_buffer/service/async_pixel_transfer_manager_idle.h" | 11 #include "gpu/command_buffer/service/async_pixel_transfer_manager_idle.h" |
12 #include "gpu/command_buffer/service/async_pixel_transfer_manager_stub.h" | 12 #include "gpu/command_buffer/service/async_pixel_transfer_manager_stub.h" |
13 #include "gpu/command_buffer/service/async_pixel_transfer_manager_sync.h" | 13 #include "gpu/command_buffer/service/async_pixel_transfer_manager_sync.h" |
14 #include "gpu/command_buffer/service/gpu_switches.h" | 14 #include "gpu/command_buffer/service/gpu_switches.h" |
15 #include "ui/gl/gl_context.h" | 15 #include "ui/gl/gl_context.h" |
16 #include "ui/gl/gl_implementation.h" | 16 #include "ui/gl/gl_implementation.h" |
17 | 17 |
18 namespace gpu { | 18 namespace gpu { |
19 namespace { | 19 namespace { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 105 } |
106 case gfx::kGLImplementationMockGL: | 106 case gfx::kGLImplementationMockGL: |
107 return new AsyncPixelTransferManagerStub; | 107 return new AsyncPixelTransferManagerStub; |
108 default: | 108 default: |
109 NOTREACHED(); | 109 NOTREACHED(); |
110 return NULL; | 110 return NULL; |
111 } | 111 } |
112 } | 112 } |
113 | 113 |
114 } // namespace gpu | 114 } // namespace gpu |
OLD | NEW |