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

Unified Diff: mojo/converters/surfaces/surfaces_type_converters.cc

Issue 1489573003: Added an extra sync token field for extra command buffer identification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return False on invalid stream id Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/video_frame_unittest.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/converters/surfaces/surfaces_type_converters.cc
diff --git a/mojo/converters/surfaces/surfaces_type_converters.cc b/mojo/converters/surfaces/surfaces_type_converters.cc
index f0a32bdb37345be225b2c6c2297231a0a3cd529c..f0944548c9b4b68b8d1d5ea9c13b9c870c3bf086 100644
--- a/mojo/converters/surfaces/surfaces_type_converters.cc
+++ b/mojo/converters/surfaces/surfaces_type_converters.cc
@@ -547,8 +547,8 @@ gpu::SyncToken TypeConverter<gpu::SyncToken, SyncTokenPtr>::Convert(
const SyncTokenPtr& input) {
const gpu::CommandBufferNamespace namespace_id =
static_cast<gpu::CommandBufferNamespace>(input->namespace_id);
- gpu::SyncToken sync_token(namespace_id, input->command_buffer_id,
- input->release_count);
+ gpu::SyncToken sync_token(namespace_id, 0,
+ input->command_buffer_id, input->release_count);
if (input->verified_flush)
sync_token.SetVerifyFlush();
« no previous file with comments | « media/base/video_frame_unittest.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698