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

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

Issue 706903004: Revert of Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 27
28 class ProgramCache; 28 class ProgramCache;
29 class BufferManager; 29 class BufferManager;
30 class GLES2Decoder; 30 class GLES2Decoder;
31 class FramebufferManager; 31 class FramebufferManager;
32 class MailboxManager; 32 class MailboxManager;
33 class RenderbufferManager; 33 class RenderbufferManager;
34 class ProgramManager; 34 class ProgramManager;
35 class ShaderManager; 35 class ShaderManager;
36 class TextureManager; 36 class TextureManager;
37 class ValuebufferManager;
38 class MemoryTracker; 37 class MemoryTracker;
39 struct DisallowedFeatures; 38 struct DisallowedFeatures;
40 39
41 // A Context Group helps manage multiple GLES2Decoders that share 40 // A Context Group helps manage multiple GLES2Decoders that share
42 // resources. 41 // resources.
43 class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> { 42 class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
44 public: 43 public:
45 ContextGroup( 44 ContextGroup(
46 const scoped_refptr<MailboxManager>& mailbox_manager, 45 const scoped_refptr<MailboxManager>& mailbox_manager,
47 const scoped_refptr<MemoryTracker>& memory_tracker, 46 const scoped_refptr<MemoryTracker>& memory_tracker,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 } 119 }
121 120
122 FramebufferManager* framebuffer_manager() const { 121 FramebufferManager* framebuffer_manager() const {
123 return framebuffer_manager_.get(); 122 return framebuffer_manager_.get();
124 } 123 }
125 124
126 RenderbufferManager* renderbuffer_manager() const { 125 RenderbufferManager* renderbuffer_manager() const {
127 return renderbuffer_manager_.get(); 126 return renderbuffer_manager_.get();
128 } 127 }
129 128
130 ValuebufferManager* valuebuffer_manager() const {
131 return valuebuffer_manager_.get();
132 }
133
134 TextureManager* texture_manager() const { 129 TextureManager* texture_manager() const {
135 return texture_manager_.get(); 130 return texture_manager_.get();
136 } 131 }
137 132
138 ProgramManager* program_manager() const { 133 ProgramManager* program_manager() const {
139 return program_manager_.get(); 134 return program_manager_.get();
140 } 135 }
141 136
142 bool has_program_cache() const { 137 bool has_program_cache() const {
143 return program_cache_ != NULL; 138 return program_cache_ != NULL;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 uint32 max_draw_buffers_; 192 uint32 max_draw_buffers_;
198 193
199 ProgramCache* program_cache_; 194 ProgramCache* program_cache_;
200 195
201 scoped_ptr<BufferManager> buffer_manager_; 196 scoped_ptr<BufferManager> buffer_manager_;
202 197
203 scoped_ptr<FramebufferManager> framebuffer_manager_; 198 scoped_ptr<FramebufferManager> framebuffer_manager_;
204 199
205 scoped_ptr<RenderbufferManager> renderbuffer_manager_; 200 scoped_ptr<RenderbufferManager> renderbuffer_manager_;
206 201
207 scoped_ptr<ValuebufferManager> valuebuffer_manager_;
208
209 scoped_ptr<TextureManager> texture_manager_; 202 scoped_ptr<TextureManager> texture_manager_;
210 203
211 scoped_ptr<ProgramManager> program_manager_; 204 scoped_ptr<ProgramManager> program_manager_;
212 205
213 scoped_ptr<ShaderManager> shader_manager_; 206 scoped_ptr<ShaderManager> shader_manager_;
214 207
215 scoped_refptr<FeatureInfo> feature_info_; 208 scoped_refptr<FeatureInfo> feature_info_;
216 209
217 std::vector<base::WeakPtr<gles2::GLES2Decoder> > decoders_; 210 std::vector<base::WeakPtr<gles2::GLES2Decoder> > decoders_;
218 211
219 GLenum draw_buffer_; 212 GLenum draw_buffer_;
220 213
221 DISALLOW_COPY_AND_ASSIGN(ContextGroup); 214 DISALLOW_COPY_AND_ASSIGN(ContextGroup);
222 }; 215 };
223 216
224 } // namespace gles2 217 } // namespace gles2
225 } // namespace gpu 218 } // namespace gpu
226 219
227 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ 220 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
228 221
229 222
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698