Index: mojo/gles2/command_buffer_client_impl.h |
diff --git a/mojo/gles2/command_buffer_client_impl.h b/mojo/gles2/command_buffer_client_impl.h |
index 16eb7b84bbea907af8a6849ed69231e86a83eb65..74e6db74a7f34cf7c434f6a2778ead23b9c57ad0 100644 |
--- a/mojo/gles2/command_buffer_client_impl.h |
+++ b/mojo/gles2/command_buffer_client_impl.h |
@@ -6,7 +6,8 @@ |
#define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
#include <map> |
- |
+ |
+#include "base/atomic_sequence_num.h" |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "components/view_manager/public/interfaces/command_buffer.mojom.h" |
@@ -102,6 +103,9 @@ class CommandBufferClientImpl : public mojo::CommandBufferLostContextObserver, |
int32_t last_put_offset_; |
int32_t next_transfer_buffer_id_; |
+ // Image IDs are allocated in sequence. |
+ base::AtomicSequenceNumber next_image_id_; |
piman
2015/06/15 18:14:33
nit: shouldn't need to be atomic, this class shoul
jam
2015/06/15 22:06:02
Done.
|
+ |
const MojoAsyncWaiter* async_waiter_; |
}; |