OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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_VALUEBUFFER_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_VALUEBUFFER_MANAGER_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_VALUEBUFFER_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_VALUEBUFFER_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "gpu/command_buffer/common/value_state.h" | 15 #include "gpu/command_buffer/common/value_state.h" |
16 #include "gpu/gpu_export.h" | 16 #include "gpu/gpu_export.h" |
17 | 17 |
18 namespace content { | 18 namespace gpu { |
19 class GpuChannel; | 19 class GpuChannel; |
20 } | 20 } |
21 | 21 |
22 namespace gpu { | 22 namespace gpu { |
23 namespace gles2 { | 23 namespace gles2 { |
24 | 24 |
25 class ValuebufferManager; | 25 class ValuebufferManager; |
26 | 26 |
27 class GPU_EXPORT SubscriptionRefSet | 27 class GPU_EXPORT SubscriptionRefSet |
28 : public base::RefCounted<SubscriptionRefSet> { | 28 : public base::RefCounted<SubscriptionRefSet> { |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // many value buffers are currently subscribed to each | 156 // many value buffers are currently subscribed to each |
157 scoped_refptr<SubscriptionRefSet> subscription_ref_set_; | 157 scoped_refptr<SubscriptionRefSet> subscription_ref_set_; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(ValuebufferManager); | 159 DISALLOW_COPY_AND_ASSIGN(ValuebufferManager); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace gles2 | 162 } // namespace gles2 |
163 } // namespace gpu | 163 } // namespace gpu |
164 | 164 |
165 #endif // GPU_COMMAND_BUFFER_SERVICE_VALUEBUFFER_MANAGER_H_ | 165 #endif // GPU_COMMAND_BUFFER_SERVICE_VALUEBUFFER_MANAGER_H_ |
OLD | NEW |