From 1ed246478fcfa39bcf1f617ae35cfc4fdf5bad8b Mon Sep 17 00:00:00 2001 From: dyen Date: Tue, 8 Dec 2015 18:23:30 -0800 Subject: Reland "Added an extra sync token field for extra command buffer..." This reverts commit 5097a2103f86741a7d0e6567e57759be939182b0. R=dalecurtis@chromium.org, dcheng@chromium.org, piman@chromium.org, sky@chromium.org BUG=514815, 566291 Review URL: https://codereview.chromium.org/1499813003 Cr-Commit-Position: refs/heads/master@{#363922} --- mojo/gles2/command_buffer_client_impl.cc | 4 ++++ mojo/gles2/command_buffer_client_impl.h | 1 + 2 files changed, 5 insertions(+) (limited to 'mojo/gles2') diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc index 6e3e2a6..79f238a 100644 --- a/mojo/gles2/command_buffer_client_impl.cc +++ b/mojo/gles2/command_buffer_client_impl.cc @@ -413,6 +413,10 @@ uint64_t CommandBufferClientImpl::GetCommandBufferID() const { return sync_client_impl_->GetCommandBufferID(); } +int32_t CommandBufferClientImpl::GetExtraCommandBufferData() const { + return 0; +} + uint64_t CommandBufferClientImpl::GenerateFenceSyncRelease() { return next_fence_sync_release_++; } diff --git a/mojo/gles2/command_buffer_client_impl.h b/mojo/gles2/command_buffer_client_impl.h index 92524f6..c9f92c9 100644 --- a/mojo/gles2/command_buffer_client_impl.h +++ b/mojo/gles2/command_buffer_client_impl.h @@ -75,6 +75,7 @@ class CommandBufferClientImpl bool IsGpuChannelLost() override; gpu::CommandBufferNamespace GetNamespaceID() const override; uint64_t GetCommandBufferID() const override; + int32_t GetExtraCommandBufferData() const override; uint64_t GenerateFenceSyncRelease() override; bool IsFenceSyncRelease(uint64_t release) override; bool IsFenceSyncFlushed(uint64_t release) override; -- cgit v1.1