| Index: gpu/ipc/client/command_buffer_proxy_impl.cc
|
| diff --git a/gpu/ipc/client/command_buffer_proxy_impl.cc b/gpu/ipc/client/command_buffer_proxy_impl.cc
|
| index 9c1ec56129bfe93855e8fcf7c8e57bed88371689..1af72b0be313d376af815be8ab7ea1999ac3ec08 100644
|
| --- a/gpu/ipc/client/command_buffer_proxy_impl.cc
|
| +++ b/gpu/ipc/client/command_buffer_proxy_impl.cc
|
| @@ -262,9 +262,11 @@ void CommandBufferProxyImpl::Flush(int32_t put_offset) {
|
| last_barrier_put_offset_ = put_offset;
|
|
|
| if (channel_) {
|
| + uint32_t highest_verified_flush_id;
|
| const uint32_t flush_id = channel_->OrderingBarrier(
|
| route_id_, stream_id_, put_offset, ++flush_count_, latency_info_,
|
| - put_offset_changed, true);
|
| + put_offset_changed, true, &highest_verified_flush_id);
|
| + UpdateVerifiedReleases(highest_verified_flush_id);
|
| if (put_offset_changed) {
|
| DCHECK(flush_id);
|
| const uint64_t fence_sync_release = next_fence_sync_release_ - 1;
|
| @@ -292,9 +294,12 @@ void CommandBufferProxyImpl::OrderingBarrier(int32_t put_offset) {
|
| last_barrier_put_offset_ = put_offset;
|
|
|
| if (channel_) {
|
| + uint32_t highest_verified_flush_id;
|
| const uint32_t flush_id = channel_->OrderingBarrier(
|
| route_id_, stream_id_, put_offset, ++flush_count_, latency_info_,
|
| - put_offset_changed, false);
|
| + put_offset_changed, false, &highest_verified_flush_id);
|
| + UpdateVerifiedReleases(highest_verified_flush_id);
|
| +
|
| if (put_offset_changed) {
|
| DCHECK(flush_id);
|
| const uint64_t fence_sync_release = next_fence_sync_release_ - 1;
|
|
|