Index: gpu/command_buffer/service/buffer_manager.h |
=================================================================== |
--- gpu/command_buffer/service/buffer_manager.h (revision 205634) |
+++ gpu/command_buffer/service/buffer_manager.h (working copy) |
@@ -219,9 +219,13 @@ |
return memory_tracker_->GetMemRepresented(); |
} |
- // Tell's for a given usage if this would be a client side array. |
+ // Tells for a given usage if this would be a client side array. |
bool IsUsageClientSideArray(GLenum usage); |
+ // Tells whether a buffer that is emulated using client-side arrays should be |
+ // set to a non-zero size. |
+ bool UseNonZeroSizeForClientSideArrayBuffer(); |
+ |
private: |
friend class Buffer; |
void StartTracking(Buffer* buffer); |