Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: gpu/ipc/service/gpu_command_buffer_stub.h

Issue 2021603002: gpu: Add a new extension CHROMIUM_deschedule. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/gpu.gyp ('k') | gpu/ipc/service/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 void OnSignalQuery(uint32_t query, uint32_t id); 174 void OnSignalQuery(uint32_t query, uint32_t id);
175 175
176 void OnFenceSyncRelease(uint64_t release); 176 void OnFenceSyncRelease(uint64_t release);
177 bool OnWaitFenceSync(CommandBufferNamespace namespace_id, 177 bool OnWaitFenceSync(CommandBufferNamespace namespace_id,
178 CommandBufferId command_buffer_id, 178 CommandBufferId command_buffer_id,
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();
185 void OnRescheduleAfterFinished();
186
184 void OnCreateImage(const GpuCommandBufferMsg_CreateImage_Params& params); 187 void OnCreateImage(const GpuCommandBufferMsg_CreateImage_Params& params);
185 void OnDestroyImage(int32_t id); 188 void OnDestroyImage(int32_t id);
186 void OnCreateStreamTexture(uint32_t texture_id, 189 void OnCreateStreamTexture(uint32_t texture_id,
187 int32_t stream_id, 190 int32_t stream_id,
188 bool* succeeded); 191 bool* succeeded);
189 void OnCommandProcessed(); 192 void OnCommandProcessed();
190 void OnParseError(); 193 void OnParseError();
191 194
192 void ReportState(); 195 void ReportState();
193 196
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 250
248 std::unique_ptr<WaitForCommandState> wait_for_token_; 251 std::unique_ptr<WaitForCommandState> wait_for_token_;
249 std::unique_ptr<WaitForCommandState> wait_for_get_offset_; 252 std::unique_ptr<WaitForCommandState> wait_for_get_offset_;
250 253
251 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 254 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
252 }; 255 };
253 256
254 } // namespace gpu 257 } // namespace gpu
255 258
256 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ 259 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « gpu/gpu.gyp ('k') | gpu/ipc/service/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698