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

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
« no previous file with comments | « no previous file | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26f1e3a1326184d1faac79727d6712efe0393408..32b52df55e12f0426928483d3d9b0a1a7e05c0ce 100644
--- a/gpu/command_buffer/service/context_group.h
+++ b/gpu/command_buffer/service/context_group.h
@@ -134,6 +134,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();
}
@@ -280,6 +292,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_;
std::unique_ptr<BufferManager> buffer_manager_;
« no previous file with comments | « no previous file | gpu/command_buffer/service/context_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698