| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 5 #ifndef GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
| 6 #define GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 6 #define GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 void OnReturnFrontBuffer(const Mailbox& mailbox, bool is_lost); | 154 void OnReturnFrontBuffer(const Mailbox& mailbox, bool is_lost); |
| 155 void OnGetState(IPC::Message* reply_message); | 155 void OnGetState(IPC::Message* reply_message); |
| 156 void OnWaitForTokenInRange(int32_t start, | 156 void OnWaitForTokenInRange(int32_t start, |
| 157 int32_t end, | 157 int32_t end, |
| 158 IPC::Message* reply_message); | 158 IPC::Message* reply_message); |
| 159 void OnWaitForGetOffsetInRange(int32_t start, | 159 void OnWaitForGetOffsetInRange(int32_t start, |
| 160 int32_t end, | 160 int32_t end, |
| 161 IPC::Message* reply_message); | 161 IPC::Message* reply_message); |
| 162 void OnAsyncFlush(int32_t put_offset, | 162 void OnAsyncFlush(int32_t put_offset, |
| 163 uint32_t flush_count, | 163 uint32_t flush_count, |
| 164 const std::vector<ui::LatencyInfo>& latency_info); | 164 const std::vector<ui::LatencyInfo>& latency_info, |
| 165 const std::vector<SyncToken>& sync_token_dependencies); |
| 165 void OnRegisterTransferBuffer(int32_t id, | 166 void OnRegisterTransferBuffer(int32_t id, |
| 166 base::SharedMemoryHandle transfer_buffer, | 167 base::SharedMemoryHandle transfer_buffer, |
| 167 uint32_t size); | 168 uint32_t size); |
| 168 void OnDestroyTransferBuffer(int32_t id); | 169 void OnDestroyTransferBuffer(int32_t id); |
| 169 void OnGetTransferBuffer(int32_t id, IPC::Message* reply_message); | 170 void OnGetTransferBuffer(int32_t id, IPC::Message* reply_message); |
| 170 | 171 |
| 171 void OnEnsureBackbuffer(); | 172 void OnEnsureBackbuffer(); |
| 172 | 173 |
| 173 void OnWaitSyncToken(const SyncToken& sync_token); | 174 void OnWaitSyncToken(const SyncToken& sync_token); |
| 174 void OnSignalSyncToken(const SyncToken& sync_token, uint32_t id); | 175 void OnSignalSyncToken(const SyncToken& sync_token, uint32_t id); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 254 |
| 254 std::unique_ptr<WaitForCommandState> wait_for_token_; | 255 std::unique_ptr<WaitForCommandState> wait_for_token_; |
| 255 std::unique_ptr<WaitForCommandState> wait_for_get_offset_; | 256 std::unique_ptr<WaitForCommandState> wait_for_get_offset_; |
| 256 | 257 |
| 257 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 258 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
| 258 }; | 259 }; |
| 259 | 260 |
| 260 } // namespace gpu | 261 } // namespace gpu |
| 261 | 262 |
| 262 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 263 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
| OLD | NEW |