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

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

Issue 659903002: Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed unitialized variable 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;
37 class MemoryTracker; 38 class MemoryTracker;
38 struct DisallowedFeatures; 39 struct DisallowedFeatures;
39 40
40 // A Context Group helps manage multiple GLES2Decoders that share 41 // A Context Group helps manage multiple GLES2Decoders that share
41 // resources. 42 // resources.
42 class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> { 43 class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
43 public: 44 public:
44 ContextGroup( 45 ContextGroup(
45 const scoped_refptr<MailboxManager>& mailbox_manager, 46 const scoped_refptr<MailboxManager>& mailbox_manager,
46 const scoped_refptr<MemoryTracker>& memory_tracker, 47 const scoped_refptr<MemoryTracker>& memory_tracker,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } 120 }
120 121
121 FramebufferManager* framebuffer_manager() const { 122 FramebufferManager* framebuffer_manager() const {
122 return framebuffer_manager_.get(); 123 return framebuffer_manager_.get();
123 } 124 }
124 125
125 RenderbufferManager* renderbuffer_manager() const { 126 RenderbufferManager* renderbuffer_manager() const {
126 return renderbuffer_manager_.get(); 127 return renderbuffer_manager_.get();
127 } 128 }
128 129
130 ValuebufferManager* valuebuffer_manager() const {
131 return valuebuffer_manager_.get();
132 }
133
129 TextureManager* texture_manager() const { 134 TextureManager* texture_manager() const {
130 return texture_manager_.get(); 135 return texture_manager_.get();
131 } 136 }
132 137
133 ProgramManager* program_manager() const { 138 ProgramManager* program_manager() const {
134 return program_manager_.get(); 139 return program_manager_.get();
135 } 140 }
136 141
137 bool has_program_cache() const { 142 bool has_program_cache() const {
138 return program_cache_ != NULL; 143 return program_cache_ != NULL;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 uint32 max_draw_buffers_; 197 uint32 max_draw_buffers_;
193 198
194 ProgramCache* program_cache_; 199 ProgramCache* program_cache_;
195 200
196 scoped_ptr<BufferManager> buffer_manager_; 201 scoped_ptr<BufferManager> buffer_manager_;
197 202
198 scoped_ptr<FramebufferManager> framebuffer_manager_; 203 scoped_ptr<FramebufferManager> framebuffer_manager_;
199 204
200 scoped_ptr<RenderbufferManager> renderbuffer_manager_; 205 scoped_ptr<RenderbufferManager> renderbuffer_manager_;
201 206
207 scoped_ptr<ValuebufferManager> valuebuffer_manager_;
208
202 scoped_ptr<TextureManager> texture_manager_; 209 scoped_ptr<TextureManager> texture_manager_;
203 210
204 scoped_ptr<ProgramManager> program_manager_; 211 scoped_ptr<ProgramManager> program_manager_;
205 212
206 scoped_ptr<ShaderManager> shader_manager_; 213 scoped_ptr<ShaderManager> shader_manager_;
207 214
208 scoped_refptr<FeatureInfo> feature_info_; 215 scoped_refptr<FeatureInfo> feature_info_;
209 216
210 std::vector<base::WeakPtr<gles2::GLES2Decoder> > decoders_; 217 std::vector<base::WeakPtr<gles2::GLES2Decoder> > decoders_;
211 218
212 GLenum draw_buffer_; 219 GLenum draw_buffer_;
213 220
214 DISALLOW_COPY_AND_ASSIGN(ContextGroup); 221 DISALLOW_COPY_AND_ASSIGN(ContextGroup);
215 }; 222 };
216 223
217 } // namespace gles2 224 } // namespace gles2
218 } // namespace gpu 225 } // namespace gpu
219 226
220 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ 227 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_
221 228
222 229
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