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

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

Issue 6722026: Refactor: Move app/gfx/gl ==> ui/gfx/gl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try removing a dep. Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_processor.h" 5 #include "gpu/command_buffer/service/gpu_processor.h"
6 6
7 #include "app/gfx/gl/gl_bindings.h"
8 #include "base/callback.h" 7 #include "base/callback.h"
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "base/message_loop.h" 9 #include "base/message_loop.h"
11 #include "app/gfx/gl/gl_context.h"
12 #include "gpu/common/gpu_trace_event.h" 10 #include "gpu/common/gpu_trace_event.h"
11 #include "ui/gfx/gl/gl_context.h"
12 #include "ui/gfx/gl/gl_bindings.h"
13 13
14 using ::base::SharedMemory; 14 using ::base::SharedMemory;
15 15
16 static size_t kNumThrottleFences = 1; 16 static size_t kNumThrottleFences = 1;
17 17
18 namespace gpu { 18 namespace gpu {
19 19
20 GPUProcessor::GPUProcessor(CommandBuffer* command_buffer, 20 GPUProcessor::GPUProcessor(CommandBuffer* command_buffer,
21 gles2::ContextGroup* group) 21 gles2::ContextGroup* group)
22 : command_buffer_(command_buffer), 22 : command_buffer_(command_buffer),
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 NewCallback(this, 247 NewCallback(this,
248 &GPUProcessor::WillSwapBuffers)); 248 &GPUProcessor::WillSwapBuffers));
249 } 249 }
250 250
251 void GPUProcessor::SetCommandProcessedCallback( 251 void GPUProcessor::SetCommandProcessedCallback(
252 Callback0::Type* callback) { 252 Callback0::Type* callback) {
253 command_processed_callback_.reset(callback); 253 command_processed_callback_.reset(callback);
254 } 254 }
255 255
256 } // namespace gpu 256 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h ('k') | gpu/command_buffer/service/gpu_processor_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698