From c7aff68a0c11820cc2b8d488851c682c0d32cd2b Mon Sep 17 00:00:00 2001
From: dyen <dyen@chromium.org>
Date: Wed, 4 Nov 2015 19:49:25 -0800
Subject: Converted video frame and image callbacks to use new sync tokens.

As an incremental step towards utilizing the new sync tokens, this
CL converts existing video frame and image sync points to use
sync tokens instead.

In order to accomplish this, the GpuCommandBufferMsg_CreateImage
IPC message has been modified to accept a fence_release parameter
so that it can act as a sync token IPC.

A new SyncPointClientWaiter concept has also added which can wait
on other sync point clients without an associated order number.
This only works because the SyncPointClientWaiter cannot be waited
on so no deadlocks can occur.

BUG=514815
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1429213002

Cr-Commit-Position: refs/heads/master@{#357997}
---
 content/common/gpu/client/command_buffer_proxy_impl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'content/common/gpu/client/command_buffer_proxy_impl.h')

diff --git a/content/common/gpu/client/command_buffer_proxy_impl.h b/content/common/gpu/client/command_buffer_proxy_impl.h
index 39bc76b..5646cca 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.h
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h
@@ -106,11 +106,11 @@ class CommandBufferProxyImpl
   int32 CreateImage(ClientBuffer buffer,
                     size_t width,
                     size_t height,
-                    unsigned internalformat) override;
+                    unsigned internal_format) override;
   void DestroyImage(int32 id) override;
   int32 CreateGpuMemoryBufferImage(size_t width,
                                    size_t height,
-                                   unsigned internalformat,
+                                   unsigned internal_format,
                                    unsigned usage) override;
   uint32 InsertSyncPoint() override;
   uint32_t InsertFutureSyncPoint() override;
-- 
cgit v1.1