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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 uint64_t release); | 179 uint64_t release); |
180 void OnWaitFenceSyncCompleted(CommandBufferNamespace namespace_id, | 180 void OnWaitFenceSyncCompleted(CommandBufferNamespace namespace_id, |
181 CommandBufferId command_buffer_id, | 181 CommandBufferId command_buffer_id, |
182 uint64_t release); | 182 uint64_t release); |
183 | 183 |
184 void OnDescheduleUntilFinished(); | 184 void OnDescheduleUntilFinished(); |
185 void OnRescheduleAfterFinished(); | 185 void OnRescheduleAfterFinished(); |
186 | 186 |
187 void OnCreateImage(const GpuCommandBufferMsg_CreateImage_Params& params); | 187 void OnCreateImage(const GpuCommandBufferMsg_CreateImage_Params& params); |
188 void OnDestroyImage(int32_t id); | 188 void OnDestroyImage(int32_t id); |
189 void OnCreateStreamTexture(uint32_t texture_id, | 189 void OnCreateStreamTexture(int32_t image_id, |
190 int32_t stream_id, | 190 int32_t stream_id, |
191 bool* succeeded); | 191 bool* succeeded); |
192 void OnCommandProcessed(); | 192 void OnCommandProcessed(); |
193 void OnParseError(); | 193 void OnParseError(); |
194 | 194 |
195 void ReportState(); | 195 void ReportState(); |
196 | 196 |
197 // Wrapper for CommandExecutor::PutChanged that sets the crash report URL. | 197 // Wrapper for CommandExecutor::PutChanged that sets the crash report URL. |
198 void PutChanged(); | 198 void PutChanged(); |
199 | 199 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 | 250 |
251 std::unique_ptr<WaitForCommandState> wait_for_token_; | 251 std::unique_ptr<WaitForCommandState> wait_for_token_; |
252 std::unique_ptr<WaitForCommandState> wait_for_get_offset_; | 252 std::unique_ptr<WaitForCommandState> wait_for_get_offset_; |
253 | 253 |
254 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 254 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
255 }; | 255 }; |
256 | 256 |
257 } // namespace gpu | 257 } // namespace gpu |
258 | 258 |
259 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 259 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
OLD | NEW |