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

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

Issue 1129943006: Implement StreamTexture::BindTexImage. (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/ipc/common/gpu_messages.h ('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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « gpu/ipc/common/gpu_messages.h ('k') | gpu/ipc/service/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698