Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: gpu/command_buffer/service/gpu_scheduler.cc

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "ui/gfx/gl/gl_bindings.h" 13 #include "ui/gl/gl_bindings.h"
14 #include "ui/gfx/gl/gl_fence.h" 14 #include "ui/gl/gl_fence.h"
15 #include "ui/gfx/gl/gl_switches.h" 15 #include "ui/gl/gl_switches.h"
16 16
17 using ::base::SharedMemory; 17 using ::base::SharedMemory;
18 18
19 namespace gpu { 19 namespace gpu {
20 20
21 namespace { 21 namespace {
22 const int64 kRescheduleTimeOutDelay = 1000; 22 const int64 kRescheduleTimeOutDelay = 1000;
23 } 23 }
24 24
25 GpuScheduler::GpuScheduler( 25 GpuScheduler::GpuScheduler(
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 } 236 }
237 237
238 GpuScheduler::UnscheduleFence::UnscheduleFence( 238 GpuScheduler::UnscheduleFence::UnscheduleFence(
239 gfx::GLFence* fence_, base::Closure task_): fence(fence_), task(task_) { 239 gfx::GLFence* fence_, base::Closure task_): fence(fence_), task(task_) {
240 } 240 }
241 241
242 GpuScheduler::UnscheduleFence::~UnscheduleFence() { 242 GpuScheduler::UnscheduleFence::~UnscheduleFence() {
243 } 243 }
244 244
245 } // namespace gpu 245 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc ('k') | gpu/command_buffer/tests/gl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698