| OLD | NEW |
| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 } | 126 } |
| 127 | 127 |
| 128 uint32_t max_fragment_input_components() const { | 128 uint32_t max_fragment_input_components() const { |
| 129 return max_fragment_input_components_; | 129 return max_fragment_input_components_; |
| 130 } | 130 } |
| 131 | 131 |
| 132 int32_t min_program_texel_offset() const { return min_program_texel_offset_; } | 132 int32_t min_program_texel_offset() const { return min_program_texel_offset_; } |
| 133 | 133 |
| 134 int32_t max_program_texel_offset() const { return max_program_texel_offset_; } | 134 int32_t max_program_texel_offset() const { return max_program_texel_offset_; } |
| 135 | 135 |
| 136 uint32_t max_transform_feedback_separate_attribs() const { |
| 137 return max_transform_feedback_separate_attribs_; |
| 138 } |
| 139 |
| 140 uint32_t max_uniform_buffer_bindings() const { |
| 141 return max_uniform_buffer_bindings_; |
| 142 } |
| 143 |
| 144 uint32_t uniform_buffer_offset_alignment() const { |
| 145 return uniform_buffer_offset_alignment_; |
| 146 } |
| 147 |
| 136 FeatureInfo* feature_info() { | 148 FeatureInfo* feature_info() { |
| 137 return feature_info_.get(); | 149 return feature_info_.get(); |
| 138 } | 150 } |
| 139 | 151 |
| 140 const GpuPreferences& gpu_preferences() const { | 152 const GpuPreferences& gpu_preferences() const { |
| 141 return gpu_preferences_; | 153 return gpu_preferences_; |
| 142 } | 154 } |
| 143 | 155 |
| 144 BufferManager* buffer_manager() const { | 156 BufferManager* buffer_manager() const { |
| 145 return buffer_manager_.get(); | 157 return buffer_manager_.get(); |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 uint32_t max_vertex_uniform_vectors_; | 284 uint32_t max_vertex_uniform_vectors_; |
| 273 uint32_t max_color_attachments_; | 285 uint32_t max_color_attachments_; |
| 274 uint32_t max_draw_buffers_; | 286 uint32_t max_draw_buffers_; |
| 275 uint32_t max_dual_source_draw_buffers_; | 287 uint32_t max_dual_source_draw_buffers_; |
| 276 | 288 |
| 277 uint32_t max_vertex_output_components_; | 289 uint32_t max_vertex_output_components_; |
| 278 uint32_t max_fragment_input_components_; | 290 uint32_t max_fragment_input_components_; |
| 279 int32_t min_program_texel_offset_; | 291 int32_t min_program_texel_offset_; |
| 280 int32_t max_program_texel_offset_; | 292 int32_t max_program_texel_offset_; |
| 281 | 293 |
| 294 uint32_t max_transform_feedback_separate_attribs_; |
| 295 uint32_t max_uniform_buffer_bindings_; |
| 296 uint32_t uniform_buffer_offset_alignment_; |
| 297 |
| 282 ProgramCache* program_cache_; | 298 ProgramCache* program_cache_; |
| 283 | 299 |
| 284 scoped_ptr<BufferManager> buffer_manager_; | 300 scoped_ptr<BufferManager> buffer_manager_; |
| 285 | 301 |
| 286 scoped_ptr<FramebufferManager> framebuffer_manager_; | 302 scoped_ptr<FramebufferManager> framebuffer_manager_; |
| 287 | 303 |
| 288 scoped_ptr<RenderbufferManager> renderbuffer_manager_; | 304 scoped_ptr<RenderbufferManager> renderbuffer_manager_; |
| 289 | 305 |
| 290 scoped_ptr<TextureManager> texture_manager_; | 306 scoped_ptr<TextureManager> texture_manager_; |
| 291 | 307 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 307 base::hash_map<GLuint, GLuint> transformfeedbacks_id_map_; | 323 base::hash_map<GLuint, GLuint> transformfeedbacks_id_map_; |
| 308 base::hash_map<GLuint, GLsync> syncs_id_map_; | 324 base::hash_map<GLuint, GLsync> syncs_id_map_; |
| 309 | 325 |
| 310 DISALLOW_COPY_AND_ASSIGN(ContextGroup); | 326 DISALLOW_COPY_AND_ASSIGN(ContextGroup); |
| 311 }; | 327 }; |
| 312 | 328 |
| 313 } // namespace gles2 | 329 } // namespace gles2 |
| 314 } // namespace gpu | 330 } // namespace gpu |
| 315 | 331 |
| 316 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ | 332 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_GROUP_H_ |
| OLD | NEW |