OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/gpu_scheduler.h" | 5 #include "gpu/command_buffer/service/gpu_scheduler.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
13 #include "ui/gl/gl_bindings.h" | 13 #include "ui/gl/gl_bindings.h" |
14 #include "ui/gl/gl_fence.h" | 14 #include "ui/gl/gl_fence.h" |
15 #include "ui/gl/gl_switches.h" | 15 #include "ui/gl/gl_switches.h" |
16 | 16 |
17 #if defined(OS_WIN) | 17 #if defined(OS_WIN) |
18 #include "base/win/windows_version.h" | 18 #include "base/win/windows_version.h" |
19 #endif | 19 #endif |
20 | 20 |
21 using ::base::SharedMemory; | 21 using ::base::SharedMemory; |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 base::Closure task_) | 301 base::Closure task_) |
302 : fence(fence_), | 302 : fence(fence_), |
303 issue_time(base::Time::Now()), | 303 issue_time(base::Time::Now()), |
304 task(task_) { | 304 task(task_) { |
305 } | 305 } |
306 | 306 |
307 GpuScheduler::UnscheduleFence::~UnscheduleFence() { | 307 GpuScheduler::UnscheduleFence::~UnscheduleFence() { |
308 } | 308 } |
309 | 309 |
310 } // namespace gpu | 310 } // namespace gpu |
OLD | NEW |