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

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

Issue 833243008: Update from https://crrev.com/311145 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « gpu/command_buffer/client/share_group.cc ('k') | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/buffer_manager.h
diff --git a/gpu/command_buffer/service/buffer_manager.h b/gpu/command_buffer/service/buffer_manager.h
index cc23f01604b949a4051bdec584cf53d73c539daa..22a6e429f4d4720b1f2de8cccd12adc71d912d58 100644
--- a/gpu/command_buffer/service/buffer_manager.h
+++ b/gpu/command_buffer/service/buffer_manager.h
@@ -217,6 +217,10 @@ class GPU_EXPORT BufferManager {
allow_buffers_on_multiple_targets_ = allow;
}
+ void set_allow_fixed_attribs(bool allow) {
+ allow_fixed_attribs_ = allow;
+ }
+
size_t mem_represented() const {
return memory_tracker_->GetMemRepresented();
}
@@ -270,6 +274,9 @@ class GPU_EXPORT BufferManager {
// Whether or not buffers can be bound to multiple targets.
bool allow_buffers_on_multiple_targets_;
+ // Whether or not allow using GL_FIXED type for vertex attribs.
+ bool allow_fixed_attribs_;
+
// Counts the number of Buffer allocated with 'this' as its manager.
// Allows to check no Buffer will outlive this.
unsigned int buffer_count_;
« no previous file with comments | « gpu/command_buffer/client/share_group.cc ('k') | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698