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

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

Issue 5139006: FBTF: Remove unneeded headers from base/ (part 10) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac, cros build Created 10 years, 1 month 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_COMMAND_BUFFER_SERVICE_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_COMMAND_BUFFER_SERVICE_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_COMMAND_BUFFER_SERVICE_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_COMMAND_BUFFER_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/linked_ptr.h" 12 #include "base/linked_ptr.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "base/shared_memory.h" 14 #include "base/shared_memory.h"
15 #include "base/task.h"
16 #include "gpu/command_buffer/common/command_buffer.h" 15 #include "gpu/command_buffer/common/command_buffer.h"
17 16
18 namespace gpu { 17 namespace gpu {
19 18
20 // An object that implements a shared memory command buffer and a synchronous 19 // An object that implements a shared memory command buffer and a synchronous
21 // API to manage the put and get pointers. 20 // API to manage the put and get pointers.
22 class CommandBufferService : public CommandBuffer { 21 class CommandBufferService : public CommandBuffer {
23 public: 22 public:
24 CommandBufferService(); 23 CommandBufferService();
25 virtual ~CommandBufferService(); 24 virtual ~CommandBufferService();
(...skipping 30 matching lines...) Expand all
56 scoped_ptr<Callback0::Type> put_offset_change_callback_; 55 scoped_ptr<Callback0::Type> put_offset_change_callback_;
57 std::vector<linked_ptr< base::SharedMemory> > registered_objects_; 56 std::vector<linked_ptr< base::SharedMemory> > registered_objects_;
58 std::set<int32> unused_registered_object_elements_; 57 std::set<int32> unused_registered_object_elements_;
59 int32 token_; 58 int32 token_;
60 error::Error error_; 59 error::Error error_;
61 }; 60 };
62 61
63 } // namespace gpu 62 } // namespace gpu
64 63
65 #endif // GPU_COMMAND_BUFFER_SERVICE_COMMAND_BUFFER_SERVICE_H_ 64 #endif // GPU_COMMAND_BUFFER_SERVICE_COMMAND_BUFFER_SERVICE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/buffer_manager.cc ('k') | gpu/command_buffer/service/texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698