Chromium Code Reviews| Index: gpu/command_buffer/client/gles2_implementation.h |
| diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h |
| index 7f036db908c6327eef9dc5b364a6a28353e5f7df..dca1483eebb059b7896eeaa83c7ec3e7e515f103 100644 |
| --- a/gpu/command_buffer/client/gles2_implementation.h |
| +++ b/gpu/command_buffer/client/gles2_implementation.h |
| @@ -746,6 +746,11 @@ class GLES2_IMPL_EXPORT GLES2Implementation |
| // Used to check for single threaded access. |
| int use_count_; |
| + // Maximum amount of extra shared memory to use when needing to transfer |
|
no sievers
2015/10/19 15:55:04
nit: maybe say 'extra memory from the mapped memor
David Yen
2015/10/19 16:02:18
Done.
|
| + // something exceeding the default transfer buffer. This should be 0 for |
| + // low memory devices since they are already memory constrained. |
| + const uint32_t max_extra_transfer_buffer_size_; |
| + |
| // Map of GLenum to Strings for glGetString. We need to cache these because |
| // the pointer passed back to the client has to remain valid for eternity. |
| typedef std::map<uint32, std::set<std::string> > GLStringMap; |