OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 5 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 scoped_ptr<SyncClientImpl> sync_client_impl_; | 95 scoped_ptr<SyncClientImpl> sync_client_impl_; |
96 scoped_ptr<SyncPointClientImpl> sync_point_client_impl_; | 96 scoped_ptr<SyncPointClientImpl> sync_point_client_impl_; |
97 | 97 |
98 gpu::Capabilities capabilities_; | 98 gpu::Capabilities capabilities_; |
99 State last_state_; | 99 State last_state_; |
100 mojo::ScopedSharedBufferHandle shared_state_handle_; | 100 mojo::ScopedSharedBufferHandle shared_state_handle_; |
101 gpu::CommandBufferSharedState* shared_state_; | 101 gpu::CommandBufferSharedState* shared_state_; |
102 int32_t last_put_offset_; | 102 int32_t last_put_offset_; |
103 int32_t next_transfer_buffer_id_; | 103 int32_t next_transfer_buffer_id_; |
104 | 104 |
| 105 // Image IDs are allocated in sequence. |
| 106 int next_image_id_; |
| 107 |
105 const MojoAsyncWaiter* async_waiter_; | 108 const MojoAsyncWaiter* async_waiter_; |
106 }; | 109 }; |
107 | 110 |
108 } // gles2 | 111 } // gles2 |
109 | 112 |
110 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 113 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
OLD | NEW |