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

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

Issue 527009: Removing the dependency of command-buffer client on base/task.h. This file in... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_
7 7
8 #include "app/gfx/native_widget_types.h" 8 #include "app/gfx/native_widget_types.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "base/task.h"
12 #include "gpu/command_buffer/common/command_buffer.h" 13 #include "gpu/command_buffer/common/command_buffer.h"
13 #include "gpu/command_buffer/service/cmd_buffer_engine.h" 14 #include "gpu/command_buffer/service/cmd_buffer_engine.h"
14 #include "gpu/command_buffer/service/cmd_parser.h" 15 #include "gpu/command_buffer/service/cmd_parser.h"
15 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 16 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
16 17
17 namespace gpu { 18 namespace gpu {
18 19
19 // This class processes commands in a command buffer. It is event driven and 20 // This class processes commands in a command buffer. It is event driven and
20 // posts tasks to the current message loop to do additional work. 21 // posts tasks to the current message loop to do additional work.
21 class GPUProcessor : public base::RefCounted<GPUProcessor>, 22 class GPUProcessor : public base::RefCounted<GPUProcessor>,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 74
74 protected: 75 protected:
75 gpu::GPUProcessor* obj_; 76 gpu::GPUProcessor* obj_;
76 Method meth_; 77 Method meth_;
77 78
78 private: 79 private:
79 DISALLOW_COPY_AND_ASSIGN(CallbackStorage); 80 DISALLOW_COPY_AND_ASSIGN(CallbackStorage);
80 }; 81 };
81 82
82 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_ 83 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/command_buffer_service.cc ('k') | webkit/tools/pepper_test_plugin/command_buffer_pepper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698