| Index: gpu/ipc/client/gpu_channel_host.cc
|
| diff --git a/gpu/ipc/client/gpu_channel_host.cc b/gpu/ipc/client/gpu_channel_host.cc
|
| index 5e41fd9e274d839f547a794b86c859236e6dc92e..acbbc5e29c86dd9ebe46c036744f982155b2e101 100644
|
| --- a/gpu/ipc/client/gpu_channel_host.cc
|
| +++ b/gpu/ipc/client/gpu_channel_host.cc
|
| @@ -134,6 +134,7 @@ uint32_t GpuChannelHost::OrderingBarrier(
|
| int32_t put_offset,
|
| uint32_t flush_count,
|
| const std::vector<ui::LatencyInfo>& latency_info,
|
| + const std::vector<SyncToken>& sync_token_dependencies,
|
| bool put_offset_changed,
|
| bool do_flush,
|
| uint32_t* highest_verified_flush_id) {
|
| @@ -153,6 +154,9 @@ uint32_t GpuChannelHost::OrderingBarrier(
|
| flush_info.flush_id = flush_id;
|
| flush_info.latency_info.insert(flush_info.latency_info.end(),
|
| latency_info.begin(), latency_info.end());
|
| + flush_info.sync_token_dependencies.insert(
|
| + flush_info.sync_token_dependencies.end(),
|
| + sync_token_dependencies.begin(), sync_token_dependencies.end());
|
|
|
| if (do_flush)
|
| InternalFlush(&flush_info);
|
| @@ -180,8 +184,9 @@ void GpuChannelHost::InternalFlush(StreamFlushInfo* flush_info) {
|
| DCHECK_LT(flush_info->flushed_stream_flush_id, flush_info->flush_id);
|
| Send(new GpuCommandBufferMsg_AsyncFlush(
|
| flush_info->route_id, flush_info->put_offset, flush_info->flush_count,
|
| - flush_info->latency_info));
|
| + flush_info->latency_info, flush_info->sync_token_dependencies));
|
| flush_info->latency_info.clear();
|
| + flush_info->sync_token_dependencies.clear();
|
| flush_info->flush_pending = false;
|
|
|
| flush_info->flushed_stream_flush_id = flush_info->flush_id;
|
|
|