summaryrefslogtreecommitdiffstats
path: root/cc/test/test_gpu_memory_buffer_manager.cc
diff options
context:
space:
mode:
authordyen <dyen@chromium.org>2015-11-04 19:49:25 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-05 03:50:11 +0000
commitc7aff68a0c11820cc2b8d488851c682c0d32cd2b (patch)
tree78819208e3f1532e4dcf42c43bfcef9ba7c3d9b2 /cc/test/test_gpu_memory_buffer_manager.cc
parent67d14d4249ec9be027df91655d301872e75d493a (diff)
downloadchromium_src-c7aff68a0c11820cc2b8d488851c682c0d32cd2b.zip
chromium_src-c7aff68a0c11820cc2b8d488851c682c0d32cd2b.tar.gz
chromium_src-c7aff68a0c11820cc2b8d488851c682c0d32cd2b.tar.bz2
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}
Diffstat (limited to 'cc/test/test_gpu_memory_buffer_manager.cc')
-rw-r--r--cc/test/test_gpu_memory_buffer_manager.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/cc/test/test_gpu_memory_buffer_manager.cc b/cc/test/test_gpu_memory_buffer_manager.cc
index 352a75c..ed5e713 100644
--- a/cc/test/test_gpu_memory_buffer_manager.cc
+++ b/cc/test/test_gpu_memory_buffer_manager.cc
@@ -114,9 +114,8 @@ TestGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer(
return reinterpret_cast<gfx::GpuMemoryBuffer*>(buffer);
}
-void TestGpuMemoryBufferManager::SetDestructionSyncPoint(
+void TestGpuMemoryBufferManager::SetDestructionSyncToken(
gfx::GpuMemoryBuffer* buffer,
- uint32 sync_point) {
-}
+ const gpu::SyncToken& sync_token) {}
} // namespace cc