| 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_;
|
|
|