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

Unified Diff: gpu/command_buffer/service/context_group.h

Issue 1905743002: Improve BindBufferBase/BindBufferRange in GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/context_group.h
diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h
index b4d861a8f6eca0cc5cce397c610c100a5dac46e9..3761bff4485a83a9da522034cf5168083bed1b95 100644
--- a/gpu/command_buffer/service/context_group.h
+++ b/gpu/command_buffer/service/context_group.h
@@ -133,6 +133,18 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
int32_t max_program_texel_offset() const { return max_program_texel_offset_; }
+ uint32_t max_transform_feedback_separate_attribs() const {
+ return max_transform_feedback_separate_attribs_;
+ }
+
+ uint32_t max_uniform_buffer_bindings() const {
+ return max_uniform_buffer_bindings_;
+ }
+
+ uint32_t uniform_buffer_offset_alignment() const {
+ return uniform_buffer_offset_alignment_;
+ }
+
FeatureInfo* feature_info() {
return feature_info_.get();
}
@@ -279,6 +291,10 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
int32_t min_program_texel_offset_;
int32_t max_program_texel_offset_;
+ uint32_t max_transform_feedback_separate_attribs_;
+ uint32_t max_uniform_buffer_bindings_;
+ uint32_t uniform_buffer_offset_alignment_;
+
ProgramCache* program_cache_;
scoped_ptr<BufferManager> buffer_manager_;
« no previous file with comments | « no previous file | gpu/command_buffer/service/context_group.cc » ('j') | gpu/command_buffer/service/context_group.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698